/* Clean Fitness App Styles */
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
/* Custom CSS Variables */
:root {
    --primary-color: #000000;
    --secondary-color: #6b7280;
    --accent-color: #3b82f6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --bg-primary: #fdfeff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #000000;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Base Styles */
* {  
    font-family: "Raleway", sans-serif;

}

/* Clean Card Styles */
.clean-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}



.premium-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

/* .premium-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
} */

/* Button Styles */
.btn-primary {
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

/* .btn-primary:hover {
    background: #1f2937;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
} */

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* .btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-secondary);
} */

/* Input Styles */
.input-field {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.2s ease;
    width: 100%;
}

.input-field:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-field::placeholder {
    color: var(--text-muted);
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-primary {
    background: var(--primary-color);
    color: white;
}

.badge-secondary {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.badge-success {
    background: #dcfce7;
    color: var(--success-color);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(10px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.scale-in {
    animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
    from { 
        opacity: 0;
        transform: scale(0.95);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Progress Styles */
.progress-bar {
    background: linear-gradient(90deg, var(--accent-color), var(--success-color));
    border-radius: 6px;
    height: 6px;
}

/* Icon Styles */
.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.2s ease;
}

/* .icon-container:hover {
    transform: scale(1.05);
} */

/* Glassmorphism effect for special cards */
.glass-card {
    background: rgba(253, 254, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
}

/* Bottom Navigation Styles */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    z-index: 50;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* .bottom-nav-item:hover {
    transform: translateY(-1px);
} */

.bottom-nav-item.active {
    color: var(--primary-color);
}

.bottom-nav-item.active .nav-icon {
    background: var(--primary-color);
    color: white;
}

.nav-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: all 0.2s ease;
}

.nav-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.bottom-nav-item.active .nav-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* Mobile Optimizations */
@media (max-width: 480px) {
    /* Reduce padding on mobile */
    .premium-card {
        padding: 12px !important;
    }
    
    /* Optimize text sizes for mobile */
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.125rem; }
    h4 { font-size: 1rem; }
    
    /* Reduce margins on mobile */
    .space-y-6 > * + * {
        margin-top: 1rem;
    }
    
    .space-y-4 > * + * {
        margin-top: 0.75rem;
    }
    
    /* Optimize button sizes */
    .btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* Reduce card padding */
    .premium-card {
        border-radius: 12px;
    }
    
    /* Optimize navigation */
    .bottom-nav {
        padding: 8px 0;
    }
    
    .nav-icon {
        width: 36px;
        height: 36px;
    }
    
    /* Reduce spacing in forms */
    .input-field {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .premium-card {
        padding: 8px !important;
    }
    
    h2 { font-size: 1.125rem; }
    h3 { font-size: 1rem; }
    
    .btn-primary {
        padding: 8px 16px;
        font-size: 13px;
    }
}
