/* MyGym - Light & Dark Theme Professional Styles */
/* Simple and Clean Design */

/* ============================================
   CSS Variables - Light Theme (Default)
   ============================================ */
:root {
    /* Primary Colors - Professional Blue */
    --primary-blue: #0066B3;
    --primary-blue-dark: #004A82;
    --primary-blue-light: #E8F4FD;
    
    /* Light Theme Backgrounds */
    --bg-white: #FFFFFF;
    --bg-light: #FAFBFC;
    --bg-gray: #F1F5F9;
    --bg-page: #FAFBFC;
    --form-bg: #FFFFFF;
    
    /* Text Colors */
    --text-dark: #1A1A2E;
    --text-gray: #6C757D;
    --text-muted: #ADB5BD;
    --text-white: #FFFFFF;
    
    /* Accent Colors */
    --accent-green: #28A745;
    
    /* Card Styles */
    --card-bg: #FFFFFF;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --card-border: #E0E0E0;
    
    /* Input Styles */
    --input-bg: #FFFFFF;
    --input-border: #E5E7EB;
    --input-border-hover: #D1D5DB;
    
    /* Navbar Styles */
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --navbar-border: rgba(0, 0, 0, 0.04);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', var(--font-primary);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* Transitions - Standard Professional Timing */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   CSS Variables - Dark Theme
   ============================================ */
[data-theme="dark"] {
    /* Primary Colors - Slightly brighter for dark mode */
    --primary-blue: #3B9EFF;
    --primary-blue-dark: #0066B3;
    --primary-blue-light: #1E3A5F;
    
    /* Dark Theme Backgrounds */
    --bg-white: #1A1A2E;
    --bg-light: #1F2937;
    --bg-gray: #111827;
    --bg-page: #0F172A;
    --form-bg: #1A202C;
    
    /* Text Colors */
    --text-dark: #F9FAFB;
    --text-gray: #D1D5DB;
    --text-muted: #9CA3AF;
    --text-white: #FFFFFF;
    
    /* Accent Colors */
    --accent-green: #34D399;
    
    /* Card Styles */
    --card-bg: #1A1A2E;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --card-border: #374151;
    
    /* Input Styles */
    --input-bg: #1F2937;
    --input-border: #374151;
    --input-border-hover: #4B5563;
    
    /* Navbar Styles */
    --navbar-bg: rgba(26, 26, 46, 0.95);
    --navbar-border: rgba(255, 255, 255, 0.1);
}

/* System preference - only apply if user hasn't manually set a theme */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]):not([data-theme="dark"]) {
        /* Primary Colors - Slightly brighter for dark mode */
        --primary-blue: #3B9EFF;
        --primary-blue-dark: #0066B3;
        --primary-blue-light: #1E3A5F;
        
        /* Dark Theme Backgrounds */
        --bg-white: #1A1A2E;
        --bg-light: #1F2937;
        --bg-gray: #111827;
        --bg-page: #0F172A;
        --form-bg: #1A202C;
        
        /* Text Colors */
        --text-dark: #F9FAFB;
        --text-gray: #D1D5DB;
        --text-muted: #9CA3AF;
        --text-white: #FFFFFF;
        
        /* Accent Colors */
        --accent-green: #34D399;
        
        /* Card Styles */
        --card-bg: #1A1A2E;
        --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
        --card-border: #374151;
        
        /* Input Styles */
        --input-bg: #1F2937;
        --input-border: #374151;
        --input-border-hover: #4B5563;
        
        /* Navbar Styles */
        --navbar-bg: rgba(26, 26, 46, 0.95);
        --navbar-border: rgba(255, 255, 255, 0.1);
    }
}

/* ============================================
   Google Fonts Import
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Libre+Baskerville:wght@400;700&family=Allura&family=Great+Vibes&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

/* ============================================
   Sujo Project-Specific Branding Styles
   ============================================ */
.brand-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.brand-text-line1 {
    display: flex;
    align-items: baseline;
    line-height: 1;
    flex-wrap: nowrap;
    white-space: nowrap;
    width: auto;
    max-width: 100%;
}

.brand-text-line1 > * {
    flex-shrink: 0;
}

.brand-text-main {
    font-family: 'Playfair Display', 'Libre Baskerville', 'Georgia', 'Times New Roman', 'Times', serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2.1rem;
    color: var(--primary-blue, #0066B3) !important;
    line-height: 1;
    margin: 0;
    letter-spacing: 0.01em;
}

.brand-text-by {
    font-family: 'Playfair Display', 'Libre Baskerville', 'Georgia', 'Times New Roman', 'Times', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 1.55rem;
    color: #8B6F47;
    line-height: 1;
    margin-left: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.brand-text-sujo {
    font-family: 'Playfair Display', 'Libre Baskerville', 'Georgia', 'Times New Roman', 'Times', serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.55rem;
    color: #8B6F47;
    line-height: 1;
    margin-left: 0.25rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.brand-text-tagline {
    font-family: 'Playfair Display', 'Libre Baskerville', 'Georgia', 'Times New Roman', 'Times', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--primary-blue, #0066B3) !important;
    line-height: 1.4;
    margin-top: 0.3rem;
    letter-spacing: 0.02em;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: nowrap;
}

/* Responsive styling for brand text */
@media (max-width: 768px) {
    .brand-text-main {
        font-size: 1.7rem;
    }
    
    .brand-text-by {
        font-size: 1.3rem;
    }
    
    .brand-text-tagline {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .brand-text-container {
        align-items: flex-start;
    }
    
    .brand-text-main {
        font-size: 1.5rem;
    }
    
    .brand-text-by {
        font-size: 1.15rem;
        margin-left: 0.3rem;
    }
    
    .brand-text-tagline {
        font-size: 0.7rem;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* ============================================
   Sujo Project-Specific Main Content Padding
   (Accounts for taller header with 3-line branding)
   ============================================ */
main {
    padding-top: 95px !important; /* Account for navbar height + padding + comfortable margin to prevent overlap */
}

@media (max-width: 991px) {
    main {
        padding-top: 140px !important; /* Account for full mobile navbar height (with search box row) to match desktop visual spacing */
    }
}

/* ============================================
   Base Styles
   ============================================ */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-page);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth theme transitions for key elements */
.engine-navbar,
.engine-footer,
.engine-form,
.clickable-card,
.feature-card,
.login-card {
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   MyGym-Specific Navigation Overrides
   ============================================ */
/* Note: Engine navigation styles are in engine-layout.css */
/* These are MyGym-specific overrides if needed */

/* ============================================
   Hero Section - Beautiful Light Theme
   ============================================ */
.hero-section {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: flex-start;
    padding: 50px 20px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-gray) 50%, var(--primary-blue-light) 100%);
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

/* Theme Toggle on Login Screen */
.login-theme-toggle {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1002; /* Above navbar (1001) so it's visible on login page */
}

.login-theme-toggle .theme-toggle {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .login-theme-toggle .theme-toggle {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .login-theme-toggle .theme-toggle {
        background: rgba(30, 41, 59, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 768px) {
    .login-theme-toggle {
        top: 1rem;
        right: 1rem;
    }
    
    /* Hide text, show only icon in mobile view on login page */
    .login-theme-toggle .theme-toggle .theme-toggle-text {
        display: none !important;
    }
    
    .login-theme-toggle .theme-toggle {
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        padding: 0.5rem !important;
        justify-content: center !important;
    }
}

/* Subtle background pattern */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 179, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 102, 179, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

[data-theme="dark"] .hero-section::before {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 158, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 158, 255, 0.1) 0%, transparent 50%);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .hero-section::before {
        background-image: 
            radial-gradient(circle at 20% 50%, rgba(59, 158, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(59, 158, 255, 0.1) 0%, transparent 50%);
    }
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 70px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    padding-top: 30px;
    padding-bottom: 50px;
}

.hero-content {
    text-align: left;
}

.hero-logo-container {
    margin-bottom: 2rem;
}

.hero-logo {
    width: auto;
    height: 200px;
    max-width: 400px;
    display: block;
    object-fit: contain;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    white-space: nowrap;
    line-height: 1.15;
    margin: 0 0 0.75rem 0;
    color: var(--text-dark);
    outline: none;
    letter-spacing: -0.02em;
    width: auto;
    max-width: 100%;
    gap: 0;
}

.hero-title-main {
    font-family: 'Playfair Display', 'Libre Baskerville', 'Georgia', 'Times New Roman', 'Times', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

.hero-title-by {
    font-family: 'Playfair Display', 'Libre Baskerville', 'Georgia', 'Times New Roman', 'Times', serif;
    font-size: 2.5rem;
    font-weight: 400;
    font-style: italic;
    color: #8B6F47;
    margin-top: -0.5rem;
    margin-left: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-title-sujo {
    font-family: 'Playfair Display', 'Libre Baskerville', 'Georgia', 'Times New Roman', 'Times', serif;
    font-size: 2.5rem;
    font-weight: 700;
    font-style: normal;
    color: #8B6F47;
    margin-top: -0.5rem;
    margin-left: 0.25rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-title-highlight {
    color: var(--primary-blue);
}

.hero-tagline {
    font-family: 'Playfair Display', 'Libre Baskerville', 'Georgia', 'Times New Roman', 'Times', serif;
    font-size: 1.75rem;
    font-weight: 400;
    font-style: italic;
    color: var(--primary-blue);
    margin: 0 0 1.25rem 0;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.75;
    max-width: 550px;
    font-weight: 400;
}

.hero-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-features-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-dark);
    margin-bottom: 0.875rem;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.5rem 0;
    transition: transform 0.2s ease;
}

.hero-features-list li:hover {
    transform: translateX(4px);
}

.hero-features-list .check-icon {
    color: var(--accent-green);
    font-size: 1.5rem;
    font-weight: 700;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   Login/Signup Card - Beautiful Light Theme
   ============================================ */
.login-card {
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    padding: 0.75rem 2.5rem 2.5rem 2.5rem;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066B3, #004A82, #0066B3);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.login-card:hover {
    box-shadow: 
        0 25px 70px rgba(0, 102, 179, 0.12),
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 102, 179, 0.1);
    transform: translateY(-2px);
}

.login-card-header {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: -1rem;
    position: relative;
    z-index: 1;
}

.login-card-logo-wrapper {
    width: 100%;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -1.5rem;
    padding-top: 0;
    margin-top: 0;
}

.login-card-logo {
    width: auto;
    height: auto;
    max-width: 300px;
    max-height: none;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    padding-top: 0;
    margin-top: 0;
}

.login-card-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.01em;
}

.login-card-subtitle {
    font-size: 0.9375rem;
    color: var(--text-gray);
    margin: 0;
    font-weight: 400;
}

/* Large Social Login Buttons - Premium Style */
.social-login-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-social-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-social-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-social-large:hover::before {
    left: 100%;
}

/* Google Button - Beautiful Theme-Aware Style */
.btn-google {
    background: var(--input-bg);
    color: var(--text-dark);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 1px 4px rgba(0, 0, 0, 0.04);
    border: 1.5px solid var(--input-border);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-google:hover {
    background: var(--bg-light);
    box-shadow: 
        0 8px 24px rgba(66, 133, 244, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: var(--input-border-hover);
    color: var(--text-dark);
}

[data-theme="dark"] .btn-google:hover {
    box-shadow: 
        0 8px 24px rgba(59, 158, 255, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .btn-google:hover {
        box-shadow: 
            0 8px 24px rgba(59, 158, 255, 0.2),
            0 2px 8px rgba(0, 0, 0, 0.3);
    }
}

.btn-google:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Remember Me Checkbox - Gmail Style */
.remember-me-container {
    margin: 1rem 0 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remember-me-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    transition: color 0.2s ease;
}

.remember-me-label:hover {
    color: var(--text-dark);
}

.remember-me-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-blue);
    border: 2px solid #D0D0D0;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.remember-me-checkbox:checked {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.remember-me-checkbox:hover {
    border-color: var(--primary-blue);
}

.remember-me-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.remember-me-icon {
    color: var(--primary-blue);
    opacity: 0.7;
}

.remember-me-label:hover .remember-me-icon {
    opacity: 1;
}

/* Login Divider - Catchy Style */
.login-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
    text-align: center;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #E0E0E0, transparent);
}

.login-divider span {
    padding: 0 1rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary-blue);
    background: linear-gradient(135deg, #0066B3, #004A82);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
}

.login-divider span::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}

.login-divider span::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}

/* Not a Member Box - Beautiful Light Card */
.not-member-box {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 1;
}

.not-member-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.75rem 0;
    font-size: 1.125rem;
}

.not-member-text {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0 0 1.25rem 0;
    line-height: 1.6;
}

.contact-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #0066B3 0%, #004A82 100%);
    color: white !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 179, 0.3);
}

.contact-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 179, 0.4);
    color: white !important;
}

/* ============================================
   Dashboard Section - Beautiful Light Theme
   ============================================ */
.dashboard-section {
    min-height: calc(100vh - 120px);
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-gray) 100%);
    padding: 2rem;
    padding-top: 100px;
    position: relative;
    transition: background 0.3s ease;
}

.dashboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 102, 179, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 102, 179, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

[data-theme="dark"] .dashboard-section::before {
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(59, 158, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(59, 158, 255, 0.08) 0%, transparent 50%);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .dashboard-section::before {
        background-image: 
            radial-gradient(circle at 10% 20%, rgba(59, 158, 255, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 90% 80%, rgba(59, 158, 255, 0.08) 0%, transparent 50%);
    }
}

.dashboard-container {
    max-width: 1000px;
    margin: 0 auto;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: var(--card-shadow);
    display: block;
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066B3, #004A82);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 
        0 20px 60px rgba(0, 102, 179, 0.25),
        0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 102, 179, 0.4);
}

.feature-card:active {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 
        0 12px 40px rgba(0, 102, 179, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #0066B3;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
}

/* Dark Mode - Feature Card Title */
[data-theme="dark"] .feature-card h3 {
    color: #3B9EFF;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .feature-card h3 {
        color: #3B9EFF;
    }
}

/* ============================================
   MyGym-Specific Footer Overrides
   ============================================ */
/* Note: Engine footer styles are in engine-layout.css */
/* Footer text is customizable via EngineMainLayout parameter */

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .hero-section {
        padding: 50px 20px 40px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .login-card {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-content {
        text-align: center;
        order: 1;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.25rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-features-list {
        display: inline-block;
        text-align: left;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    /* Remove main padding on login page for mobile */
    main:has(.hero-section) {
        padding-top: 0 !important;
    }
    
    .hero-section {
        padding: 100px 16px 20px;
        min-height: auto;
        margin-top: 0;
    }
    
    .hero-content {
        display: none;
    }
    
    .hero-container {
        display: block;
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 0;
    }
    
    .login-card {
        max-width: 100%;
        padding: 0 1.5rem 1.5rem 1.5rem;
        box-shadow: none;
        border: none;
        background: transparent;
        margin-top: 0;
    }
    
    /* Hide the blue gradient line at top of login card in mobile */
    .login-card::before {
        display: none;
    }
    
    .login-card-header {
        margin-top: 0;
        margin-bottom: 1.5rem;
    }
    
    .login-card-logo-wrapper {
        margin-bottom: -1rem;
        margin-top: 0;
        padding-top: 0;
    }
    
    .login-card-title {
        font-size: 1.75rem;
    }
    
    .dashboard-section {
        padding: 1rem;
        padding-top: 80px;
    }
    
    .navbar-mygym {
        box-shadow: none;
    }
    
    .footer-mygym {
        display: none;
    }
}

/* ============================================
   Mobile Navbar Override - REMOVED
   This is now handled in mobile-navbar-fix.css which loads after this file
   All mobile navbar border/shadow rules have been moved to mobile-navbar-fix.css
   ============================================ */
