* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1FB6E8;
    --primary-dark: #19A5D8;
    --text-dark: #121212;
    --text-gray: #636D79;
    --text-light: #94A3B8;
    --bg-white: #FFFFFE;
    --bg-light: #F8FAFC;
    --border: #E5E7EB;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 30%, #f8f9fa 60%, #ffffff 80%, #fafafa 100%);
    background-attachment: fixed;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Navigation - Vyro Style */
nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 100%;
    max-width: 520px;
    padding: 20px 24px 16px;
}

.nav-container {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 10px 8px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(95, 74, 46, 0.07), 
                0px 0.24px 1.2px -2.375px rgba(0, 0, 0, 0.28), 
                0px 2px 10px -4.75px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.3s ease;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    padding-right: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 7px 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    text-decoration: none;
    border-radius: 99px;
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--text-dark);
}

.btn {
    padding: 5px 10px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
    border: none;
}

/* Navigation specific button styles */
nav .btn-primary {
    background: var(--primary);
    color: white;
    padding: 7px 12px;
    font-size: 14px;
    gap: 5px;
}

nav .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 24px;
    text-align: center;
    background: transparent;
}

.hero h1 {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 110%;
    margin-bottom: 20px;
    color: #000000;
}

.hero h1 .light {
    font-weight: 800;
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: #6B7280;
    max-width: 680px;
    margin: 0 auto 24px;
    line-height: 140%;
}

.signup-steps {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 24px auto 28px;
    flex-wrap: wrap;
}

.step-item {
    background: white;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    border: 1.5px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    padding: 18px 60px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 20px;
}

.hero-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(31, 182, 232, 0.4);
}

/* Campaign Section */
.section {
    padding: 80px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Remove section-specific backgrounds - let body gradient show through */
#features,
#how-it-works,
#faq,
#contact {
    background: transparent;
}

.section-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 32px;
    font-weight: 600;
    font-size: 15px;
}

.section-title {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 110%;
    margin-bottom: 20px;
    max-width: 700px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin-bottom: 60px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(31, 182, 232, 0.15);
    transform: translateY(-2px);
}

.card-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #0EA5E9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.card-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.card-info p {
    font-size: 14px;
    color: var(--text-gray);
}

.card-desc {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-stat {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.card-stat-label {
    font-size: 13px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Pricing Section */
.pricing {
    background: var(--bg-light);
    padding: 80px 24px;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.8px;
    text-align: center;
    margin-bottom: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pricing-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(31, 182, 232, 0.15);
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.price {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-card li {
    padding: 10px 0;
    color: var(--text-gray);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card li:before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
}

/* Steps */
.steps {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.steps-title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.8px;
    text-align: center;
    margin-bottom: 60px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.step:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(31, 182, 232, 0.15);
}

.step-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: 15px;
    color: var(--text-gray);
}

/* CTA Section */
.cta {
    padding: 100px 24px;
    text-align: center;
    background: var(--bg-light);
}

.cta h2 {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -1.2px;
    margin-bottom: 24px;
}

.cta p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* Footer */
footer {
    background: transparent;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    padding: 80px 24px 64px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 120px;
    font-weight: 900;
    text-align: center;
    line-height: 100%;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 0 80px;
}

.footer-copyright {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.footer-links {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--primary);
}

/* Signup Page */
.signup-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
}

.signup-container {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
}

.signup-header {
    text-align: center;
    margin-bottom: 40px;
}

.signup-header h1 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
    color: #000000;
}

.signup-header p {
    font-size: 18px;
    color: #6B7280;
    line-height: 140%;
}

.signup-form {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    transition: all 0.2s;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 182, 232, 0.1);
}

.form-group input::placeholder {
    color: var(--text-light);
}

.password-hint {
    font-size: 11px;
    color: #9CA3AF;
    margin-top: 4px;
    line-height: 1.3;
    font-style: italic;
}

.signup-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.signup-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(31, 182, 232, 0.3);
}

.success-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    text-align: center;
    margin-bottom: 32px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.success-card h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.success-card p {
    font-size: 16px;
    color: #6B7280;
}

.whatsapp-card {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border: 1.5px solid var(--primary);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    gap: 20px;
    align-items: start;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.signup-info {
    margin-bottom: 24px;
}

.info-card {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border: 1.5px solid var(--primary);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: start;
}

.info-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.info-content p {
    font-size: 15px;
    color: #6B7280;
    margin-bottom: 20px;
    line-height: 160%;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 14px 28px;
    border-radius: 99px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.signup-footer {
    text-align: center;
    font-size: 14px;
    color: #6B7280;
    margin-top: 32px;
    padding: 20px 0;
}

.signup-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.signup-footer a:hover {
    text-decoration: underline;
}

/* Signin Page Specific */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-dark);
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.forgot-password:hover {
    text-decoration: underline;
}

.error-message {
    background: #FEE2E2;
    border: 1.5px solid #EF4444;
    color: #DC2626;
    padding: 12px 16px 16px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 16px;
    margin-bottom: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

@keyframes gentleShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes shrinkFade {
    0% {
        opacity: 1;
        transform: scale(1);
        max-height: 100px;
        margin-top: 16px;
        margin-bottom: 16px;
        padding: 12px 16px 16px 16px;
    }
    100% {
        opacity: 0;
        transform: scale(0.95);
        max-height: 0;
        margin-top: 0;
        margin-bottom: 0;
        padding: 0;
    }
}

/* Responsive */
@media (max-width: 968px) {
    nav {
        max-width: 500px;
        padding: 20px 50px 16px;
    }

    .hero {
        min-height: 100vh;
        padding: 0 24px;
    }

    .hero h1 {
        font-size: 52px;
        letter-spacing: -1.2px;
    }

    .hero-subtitle {
        font-size: 19px;
    }
    
    .hero-cta {
        padding: 16px 50px;
        font-size: 18px;
    }

    .section-title {
        font-size: 40px;
    }

    .cards-grid,
    .pricing-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 0;
    }
}

@media (max-width: 640px) {
    nav {
        max-width: 340px;
        padding: 16px 30px 12px;
    }

    .nav-container {
        padding: 6px 8px 6px 14px;
    }

    .logo {
        font-size: 18px;
    }

    .nav-link {
        font-size: 13px;
        padding: 6px 8px;
    }

    .btn {
        font-size: 13px;
        padding: 6px 10px;
        gap: 4px;
    }

    .hero {
        min-height: 100vh;
        padding: 0 30px;
    }

    .hero h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-cta {
        padding: 14px 40px;
        font-size: 17px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-desc {
        font-size: 16px;
    }

    .pricing-title,
    .steps-title {
        font-size: 32px;
    }

    .cta h2 {
        font-size: 36px;
    }

    .footer-logo {
        font-size: 60px;
    }
    
    .signup-steps {
        flex-direction: column;
        gap: 12px;
    }
    
    .step-item {
        width: 100%;
        text-align: center;
    }
    
    .signup-section {
        padding: 100px 20px 60px;
    }
    
    .signup-header h1 {
        font-size: 32px;
    }
    
    .signup-header p {
        font-size: 16px;
    }
    
    .signup-form {
        padding: 28px 24px;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .whatsapp-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 32px 24px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

/* ==========================================
   DASHBOARD STYLES
   ========================================== */

/* Dashboard Body */
.dashboard-body {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    min-height: 100vh;
    color: #F1F5F9;
    font-family: 'Poppins', sans-serif;
}

.dashboard-body.light-theme {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    color: #1E293B;
}

/* Dashboard Navigation - Wider floating design */
.dashboard-nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 100%;
    max-width: 800px;
    padding: 20px 24px 16px;
}

.dashboard-nav .nav-container {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 12px 20px 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.3), 
                0px 0.24px 1.2px -2.375px rgba(0, 0, 0, 0.4);
}

.dashboard-body.light-theme .dashboard-nav .nav-container {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    box-shadow: 0px 4px 6px rgba(95, 74, 46, 0.07), 
                0px 0.24px 1.2px -2.375px rgba(0, 0, 0, 0.28), 
                0px 2px 10px -4.75px rgba(0, 0, 0, 0.02);
}

.dashboard-nav .logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #F1F5F9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-body.light-theme .dashboard-nav .logo {
    color: var(--text-dark);
}

.logo-badge {
    font-size: 10px;
    font-weight: 600;
    background: var(--primary);
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.admin-badge {
    background: linear-gradient(135deg, #DC2626, #EF4444);
}

.paid-badge {
    background: linear-gradient(135deg, #10B981, #059669) !important;
}

.dashboard-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle, .logout-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #CBD5E1;
}

.dashboard-body.light-theme .theme-toggle,
.dashboard-body.light-theme .logout-btn {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border);
    color: var(--text-gray);
}

.theme-toggle svg, .logout-btn svg {
    width: 16px;
    height: 16px;
}

.theme-toggle:hover, .logout-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #F1F5F9;
}

.dashboard-body.light-theme .theme-toggle:hover,
.dashboard-body.light-theme .logout-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.user-profile-wrapper {
    position: relative;
}

.user-profile {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.user-profile:hover {
    transform: translateY(-1px);
}

.user-initials {
    font-size: 12px;
    font-weight: 700;
    color: white;
}

/* Profile Dropdown */
.profile-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    min-width: 240px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dashboard-body.light-theme .profile-dropdown {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.profile-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 16px;
}

.dropdown-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown-name {
    font-size: 14px;
    font-weight: 600;
    color: #F1F5F9;
}

.dashboard-body.light-theme .dropdown-name {
    color: #1E293B;
}

.dropdown-email {
    font-size: 12px;
    color: #94A3B8;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

.dashboard-body.light-theme .dropdown-divider {
    background: rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #CBD5E1;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.dashboard-body.light-theme .dropdown-item {
    color: #475569;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dashboard-body.light-theme .dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.dropdown-item svg {
    flex-shrink: 0;
    color: #94A3B8;
}

.dashboard-body.light-theme .dropdown-item svg {
    color: #64748B;
}

.dropdown-item strong {
    color: var(--primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.dropdown-item:first-of-type {
    border-radius: 0;
    cursor: default;
}

.dropdown-item:first-of-type:hover {
    background: transparent;
}

.dropdown-item:last-of-type {
    border-radius: 0 0 16px 16px;
}

/* Password Change Modal */
.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.password-modal.active {
    opacity: 1;
    visibility: visible;
}

.password-modal-content {
    background: #1E293B;
    border-radius: 24px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.dashboard-body.light-theme .password-modal-content {
    background: white;
}

.password-modal.active .password-modal-content {
    transform: scale(1);
}

.password-modal-header {
    padding: 24px 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-body.light-theme .password-modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.password-modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #F1F5F9;
    margin: 0;
}

.dashboard-body.light-theme .password-modal-header h2 {
    color: #1E293B;
}

.password-modal-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.password-modal-body .form-group {
    margin-bottom: 20px;
}

.password-modal-body .form-group:last-child {
    margin-bottom: 0;
}

.password-modal-body .form-group:last-of-type {
    margin-bottom: 0;
}

.password-modal-body label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #CBD5E1;
    margin-bottom: 8px;
}

.dashboard-body.light-theme .password-modal-body label {
    color: #475569;
}

.password-modal-body input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #F1F5F9;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.dashboard-body.light-theme .password-modal-body input {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1E293B;
}

.password-modal-body input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 182, 232, 0.1);
}

.password-modal-body input::placeholder {
    color: #64748B;
}

.password-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    margin-top: 16px;
    animation: gentleShake 0.4s ease;
}

.password-modal-footer {
    padding: 20px 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Semester Request Grid */
.semester-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.semester-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
}

.dashboard-body.light-theme .semester-checkbox {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.semester-checkbox:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.dashboard-body.light-theme .semester-checkbox:hover {
    background: rgba(0, 0, 0, 0.05);
}

.semester-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.semester-checkbox span {
    font-size: 14px;
    font-weight: 600;
    color: #F1F5F9;
    line-height: 1.4;
}

.dashboard-body.light-theme .semester-checkbox span {
    color: #1E293B;
}

/* Dashboard Main */
.dashboard-main {
    padding: 100px 32px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-container {
    max-width: 100%;
}

/* Dashboard Header */
.dashboard-header {
    margin-bottom: 40px;
}

.header-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #F1F5F9;
}

.dashboard-body.light-theme .header-content h1 {
    color: #1E293B;
}

.header-subtitle {
    font-size: 18px;
    color: #94A3B8;
}

/* Access Status Card */
.access-status-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    margin-top: 40px;
}

.dashboard-body.light-theme .access-status-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.status-icon {
    font-size: 72px;
    margin-bottom: 24px;
}

.access-status-card h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #F1F5F9;
}

.dashboard-body.light-theme .access-status-card h2 {
    color: #1E293B;
}

.access-status-card > p {
    font-size: 18px;
    color: #94A3B8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.dashboard-body.light-theme .access-status-card > p {
    color: #64748B;
}

.status-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.status-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #0EA5E9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.step-text {
    font-size: 14px;
    color: #94A3B8;
    font-weight: 500;
}

.dashboard-body.light-theme .step-text {
    color: #64748B;
}

.step-arrow {
    font-size: 24px;
    color: #475569;
    margin-top: -30px;
}

.whatsapp-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #25D366, #20BA5A);
    color: white;
    border-radius: 16px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.3);
}

.dashboard-link {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(31, 182, 232, 0.1);
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.dashboard-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.status-note {
    margin-top: 24px;
    font-size: 14px;
    color: #64748B !important;
    font-style: italic;
}

/* Modules Section */
.modules-section {
    margin-top: 40px;
    width: 100%;
}

/* Override landing page section-header for dashboard */
.dashboard-body .section-header {
    margin-bottom: 32px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px 32px;
}

.dashboard-body.light-theme .section-header {
    background: white;
    border: 1.5px solid #E2E8F0;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 0;
    color: #F1F5F9;
    line-height: 1.2;
}

.dashboard-body.light-theme .section-header h2 {
    color: #1E293B;
}

.section-header .highlight {
    color: #F97316;
    font-weight: 700;
}

.section-header p {
    font-size: 16px;
    color: #94A3B8;
    margin: 0;
    line-height: 1.5;
}

.dashboard-body.light-theme .section-header p {
    color: #64748B;
}

/* Modules Grid */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 100%;
}

@media (min-width: 640px) {
    .modules-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

.module-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-body.light-theme .module-card {
    background: white;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F97316, #FB923C);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.module-card:hover::before {
    opacity: 1;
}

.module-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.2);
}

.module-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(249, 115, 22, 0.1);
    color: #F97316;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.module-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #F1F5F9;
}

.dashboard-body.light-theme .module-card h3 {
    color: #1E293B;
}

/* ==========================================
   ADMIN DASHBOARD STYLES
   ========================================== */

.admin-main {
    max-width: 1600px;
}

.admin-container {
    max-width: 100%;
}

/* Admin Header with Stats */
.admin-header {
    margin-bottom: 40px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.dashboard-body.light-theme .stat-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.pending {
    background: linear-gradient(135deg, #F59E0B, #F97316);
}

.stat-icon.approved {
    background: linear-gradient(135deg, #10B981, #059669);
}

.stat-icon.total {
    background: linear-gradient(135deg, var(--primary), #0EA5E9);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: #F1F5F9;
    line-height: 1;
}

.dashboard-body.light-theme .stat-value {
    color: #1E293B;
}

.stat-label {
    font-size: 14px;
    color: #94A3B8;
    margin-top: 4px;
}

/* Filters Section */
.filters-section {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0 20px;
}

.dashboard-body.light-theme .search-box {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.search-box svg {
    color: #64748B;
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 0;
    color: #F1F5F9;
    font-size: 15px;
    outline: none;
}

.dashboard-body.light-theme .search-box input {
    color: #1E293B;
}

.search-box input::placeholder {
    color: #64748B;
}

.filter-buttons {
    display: flex;
    gap: 12px;
}

.filter-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #94A3B8;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dashboard-body.light-theme .filter-btn {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), #0EA5E9);
    border-color: var(--primary);
    color: white;
}

/* Table Container */
.table-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
}

.dashboard-body.light-theme .table-container {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-body.light-theme .admin-table thead {
    background: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.admin-table th {
    padding: 20px 24px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.dashboard-body.light-theme .admin-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.dashboard-body.light-theme .admin-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

.admin-table td {
    padding: 20px 24px;
    font-size: 14px;
    color: #CBD5E1;
    vertical-align: middle;
}

.dashboard-body.light-theme .admin-table td {
    color: #475569;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #0EA5E9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: white;
}

.user-name {
    font-weight: 600;
    color: #F1F5F9;
}

.dashboard-body.light-theme .user-name {
    color: #1E293B;
}

.modules-cell {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    color: #CBD5E1;
}

.dashboard-body.light-theme .modules-cell {
    color: #64748B;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.status-badge.pending {
    background: rgba(251, 146, 60, 0.1);
    color: #FB923C;
}

.status-badge.approved {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.approve-btn {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.approve-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}

.revoke-btn {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.revoke-btn:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    text-align: center;
}

.empty-icon {
    font-size: 72px;
    margin-bottom: 24px;
    opacity: 0.6;
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 700;
    color: #F1F5F9;
    margin-bottom: 8px;
}

.dashboard-body.light-theme .empty-state h3 {
    color: #1E293B;
}

.empty-state p {
    font-size: 16px;
    color: #94A3B8;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #1E293B;
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: auto;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.dashboard-body.light-theme .modal-content {
    background: white;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 32px 32px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-body.light-theme .modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #F1F5F9;
}

.dashboard-body.light-theme .modal-header h2 {
    color: #1E293B;
}

.modal-close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #F1F5F9;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.dashboard-body.light-theme .modal-close {
    background: rgba(0, 0, 0, 0.05);
    color: #1E293B;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    padding: 32px;
}

.modal-subtitle {
    font-size: 15px;
    color: #94A3B8;
    margin-bottom: 24px;
}

.modules-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.module-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dashboard-body.light-theme .module-checkbox {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.module-checkbox:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.module-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.module-checkbox span {
    font-size: 14px;
    font-weight: 600;
    color: #F1F5F9;
}

.dashboard-body.light-theme .module-checkbox span {
    color: #1E293B;
}

.modal-footer {
    padding: 24px 32px 32px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-secondary {
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #CBD5E1;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dashboard-body.light-theme .btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #475569;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-primary {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), #0EA5E9);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(31, 182, 232, 0.3);
}

/* Notification */
.notification {
    position: fixed;
    top: 100px;
    right: 32px;
    padding: 16px 24px;
    background: #1E293B;
    border-radius: 16px;
    color: white;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #10B981, #059669);
}

.notification.info {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

/* Responsive Dashboard */
@media (max-width: 968px) {
    .dashboard-main {
        padding: 80px 20px 40px;
    }
    
    .dashboard-nav .nav-container {
        padding: 12px 20px;
    }
    
    .header-content h1 {
        font-size: 32px;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-section {
        flex-direction: column;
    }
    
    .search-box {
        min-width: 100%;
    }
    
    .filter-buttons {
        width: 100%;
        overflow-x: auto;
    }
    
    .table-container {
        overflow-x: auto;
    }
    
    .admin-table {
        min-width: 900px;
    }
    
    .modules-checklist {
        grid-template-columns: 1fr;
    }
    
    .notification {
        right: 20px;
        left: 20px;
    }
}

/* ==========================================
   S1 MODULE PAGE STYLES
   ========================================== */

/* Sidebar */
.module-sidebar {
    position: fixed;
    left: 20px;
    top: 90px;
    width: 260px;
    max-height: calc(100vh - 110px);
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.3), 
                0px 0.24px 1.2px rgba(0, 0, 0, 0.28), 
                0px 2px 10px rgba(0, 0, 0, 0.02);
}

.dashboard-body.light-theme .module-sidebar {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #E2E8F0;
    box-shadow: 0px 4px 6px rgba(95, 74, 46, 0.07), 
                0px 0.24px 1.2px rgba(0, 0, 0, 0.28), 
                0px 2px 10px rgba(0, 0, 0, 0.02);
}

/* Sidebar Nav Scrollbar */
.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.dashboard-body.light-theme .sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
}

.dashboard-body.light-theme .sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

.sidebar-header {
    position: relative;
    padding: 24px 16px 20px 16px;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    z-index: 10;
}

.dashboard-body.light-theme .sidebar-header {
    border-bottom: 1px solid #E2E8F0;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.sidebar-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: #F1F5F9;
    margin: 0;
    padding: 0;
}

.dashboard-body.light-theme .sidebar-header h3 {
    color: #1E293B;
}

.semester-badge {
    font-size: 11px;
    font-weight: 600;
    background: linear-gradient(135deg, #1FB6E8, #19A5D8);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    text-transform: lowercase;
    white-space: nowrap;
    display: inline-block;
}

.sidebar-toggle {
    display: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94A3B8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #F1F5F9;
}

.sidebar-nav {
    position: relative;
    padding: 16px 12px 16px 12px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #94A3B8;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #F1F5F9;
}

.dashboard-body.light-theme .sidebar-link {
    color: #64748B;
}

.dashboard-body.light-theme .sidebar-link:hover {
    background: #F8FAFC;
    color: #1E293B;
}

.sidebar-link.active {
    background: rgba(31, 182, 232, 0.15);
    color: #38BDF8;
}

.dashboard-body.light-theme .sidebar-link.active {
    background: rgba(31, 182, 232, 0.1);
    color: #1FB6E8;
}

.sidebar-link svg {
    flex-shrink: 0;
}

/* Sidebar Expandeable Sections */
.sidebar-section {
    margin-bottom: 4px;
}

.sidebar-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #94A3B8;
    background: transparent;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-section-header:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #F1F5F9;
}

.dashboard-body.light-theme .sidebar-section-header {
    color: #64748B;
}

.dashboard-body.light-theme .sidebar-section-header:hover {
    background: #F8FAFC;
    color: #1E293B;
}

.sidebar-section-header svg {
    flex-shrink: 0;
}

.sidebar-section-header .chevron {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.sidebar-section.active .sidebar-section-header .chevron {
    transform: rotate(180deg);
}

.sidebar-section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sidebar-section.active .sidebar-section-content {
    max-height: 1000px;
}

.sidebar-sub-link {
    display: block;
    padding: 8px 12px 8px 36px;
    font-size: 12px;
    font-weight: 400;
    color: #94A3B8;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 2px 0;
}

.sidebar-sub-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #F1F5F9;
}

.dashboard-body.light-theme .sidebar-sub-link {
    color: #64748B;
}

.dashboard-body.light-theme .sidebar-sub-link:hover {
    background: #F8FAFC;
    color: #1E293B;
}

.sidebar-sub-link.active {
    background: rgba(31, 182, 232, 0.15);
    color: #38BDF8;
}

.dashboard-body.light-theme .sidebar-sub-link.active {
    background: rgba(31, 182, 232, 0.1);
    color: #1FB6E8;
}

/* Module Main Content */
.module-main {
    margin-left: 320px;
    padding: 100px 40px 40px 40px;
    min-height: 100vh;
    background: transparent;
}

.dashboard-body.light-theme .module-main {
    background: transparent;
}

.module-container {
    max-width: 1400px;
    margin: 0 auto;
}


/* Back Button */
.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94A3B8;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #F1F5F9;
    transform: translateX(-2px);
}

.dashboard-body.light-theme .back-btn {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid #E2E8F0;
    color: #64748B;
}

.dashboard-body.light-theme .back-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1E293B;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 24px;
    left: 20px;
    z-index: 1001;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #F1F5F9;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.3);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.dashboard-body.light-theme .mobile-menu-toggle {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #E2E8F0;
    color: #1E293B;
    box-shadow: 0px 4px 6px rgba(95, 74, 46, 0.07);
}

/* Courses Section */
.courses-section {
    margin-top: 40px;
    margin-bottom: 48px;
}

.courses-section > h2 {
    font-size: 24px;
    font-weight: 700;
    color: #F1F5F9;
    margin: 0 0 24px 0;
}

.dashboard-body.light-theme .courses-section > h2 {
    color: #1E293B;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* Course Card */
.course-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.course-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.dashboard-body.light-theme .course-card {
    background: white;
    border: 1.5px solid #E2E8F0;
}

.dashboard-body.light-theme .course-card:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

/* Course Icon */
.course-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.course-card:hover .course-icon {
    transform: scale(1.05);
}

.course-icon.anatomie {
    background: linear-gradient(135deg, #EF4444, #DC2626) !important;
}

.course-icon.biologie {
    background: linear-gradient(135deg, #10B981, #059669) !important;
}

.course-icon.biophysique {
    background: linear-gradient(135deg, #0EA5E9, #0284C7) !important;
}

.course-icon.biostat {
    background: linear-gradient(135deg, #64748B, #475569) !important;
}

.course-icon.genetique {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED) !important;
}

.course-icon.informatique {
    background: linear-gradient(135deg, #64748B, #475569) !important;
}

.course-icon.math {
    background: linear-gradient(135deg, #64748B, #475569) !important;
}

.course-icon.physique {
    background: linear-gradient(135deg, #64748B, #475569) !important;
}

.course-icon.recherche {
    background: linear-gradient(135deg, #64748B, #475569) !important;
}

.course-icon.biochimie {
    background: linear-gradient(135deg, #F59E0B, #D97706) !important;
}

.course-icon.chimie {
    background: linear-gradient(135deg, #06B6D4, #0891B2) !important;
}

.course-icon.embryologie {
    background: linear-gradient(135deg, #EC4899, #DB2777) !important;
}

.course-icon.histologie {
    background: linear-gradient(135deg, #F59E0B, #D97706) !important;
}

.course-icon.physiologie {
    background: linear-gradient(135deg, #EF4444, #DC2626) !important;
}

.course-icon.dang {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED) !important;
}

/* Course Info */
.course-info {
    flex: 1;
    min-width: 0;
}

.course-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.course-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #F1F5F9;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-body.light-theme .course-card h3 {
    color: #1E293B;
}

/* Difficulty Badge */
.difficulty-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #0EA5E9, #0284C7);
    color: white;
    text-transform: uppercase;
}

.difficulty-badge.hard {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
    text-transform: lowercase;
}

.difficulty-badge.medium {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    text-transform: lowercase;
}

.difficulty-badge.easy {
    background: linear-gradient(135deg, #1FB6E8, #19A5D8);
    color: white;
    text-transform: lowercase;
}

.difficulty-badge.go {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    text-transform: lowercase;
}

/* Course Progress */
.course-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    overflow: hidden;
}

.dashboard-body.light-theme .progress-bar {
    background: #E2E8F0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1FB6E8, #38BDF8);
    border-radius: 99px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 13px;
    font-weight: 600;
    color: #94A3B8;
    flex-shrink: 0;
}

.dashboard-body.light-theme .progress-text {
    color: #64748B;
}

/* Bottom Grid */
.bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Rankings Section */
.rankings-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px;
}

.dashboard-body.light-theme .rankings-section {
    background: white;
    border: 1.5px solid #E2E8F0;
}

.rankings-section > h2 {
    font-size: 24px;
    font-weight: 700;
    color: #F1F5F9;
    margin: 0 0 24px 0;
}

.dashboard-body.light-theme .rankings-section > h2 {
    color: #1E293B;
}

.rankings-table-container {
    overflow-x: auto;
}

.rankings-table {
    width: 100%;
    border-collapse: collapse;
}

.rankings-table thead tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-body.light-theme .rankings-table thead tr {
    border-bottom: 1px solid #E2E8F0;
}

.rankings-table th {
    padding: 16px 12px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-body.light-theme .rankings-table th {
    color: #64748B;
}

.rankings-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.dashboard-body.light-theme .rankings-table tbody tr {
    border-bottom: 1px solid #F1F5F9;
}

.rankings-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.dashboard-body.light-theme .rankings-table tbody tr:hover {
    background: #F8FAFC;
}

.rankings-table td {
    padding: 16px 12px;
}

.rank-number {
    font-size: 16px;
    font-weight: 700;
    color: #64748B;
}

.ranker-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ranker-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.ranker-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ranker-name {
    font-size: 14px;
    font-weight: 600;
    color: #F1F5F9;
}

.dashboard-body.light-theme .ranker-name {
    color: #1E293B;
}

.ranker-level {
    font-size: 12px;
    color: #64748B;
}

.percentage {
    font-size: 14px;
    font-weight: 600;
    color: #94A3B8;
}

.dashboard-body.light-theme .percentage {
    color: #64748B;
}

.points-badge {
    font-size: 14px;
    font-weight: 700;
    color: #F1F5F9;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    padding: 6px 16px;
    border-radius: 8px;
}

/* Global Progress Section */
.global-progress-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px;
}

.dashboard-body.light-theme .global-progress-section {
    background: white;
    border: 1.5px solid #E2E8F0;
}

.global-progress-section > h2 {
    font-size: 24px;
    font-weight: 700;
    color: #F1F5F9;
    margin: 0 0 24px 0;
}

.dashboard-body.light-theme .global-progress-section > h2 {
    color: #1E293B;
}

.progress-chart-container {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 0px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    .module-sidebar {
        transform: translateX(-100%);
        left: 0;
        top: 0;
        height: 100vh;
        border-radius: 0 20px 20px 0;
        z-index: 1100;
    }
    
    .module-sidebar.active {
        transform: translateX(0);
    }
    
    .module-main {
        margin-left: 0;
        padding: 100px 24px 24px 24px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.hidden {
        display: none;
    }
    
    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .module-sidebar {
        width: 80%;
        max-width: 280px;
    }
    
    .courses-section > h2,
    .rankings-section > h2,
    .global-progress-section > h2 {
        font-size: 20px;
    }
    
    .rankings-table {
        min-width: 600px;
    }
    
    .progress-chart-container {
        padding: 10px;
        max-width: 100%;
    }
    
    .progress-chart-container canvas {
        max-height: 400px;
    }
}

/* ============================================
   ANATOMIE PAGE STYLES
   ============================================ */

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border-radius: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    color: inherit;
}

.back-btn:hover {
    background: rgba(31, 182, 232, 0.1);
    transform: translateX(-2px);
}

.back-btn svg {
    stroke: currentColor;
}

.chapter-header {
    margin-bottom: 40px;
    padding-top: 6%;
}

.chapter-title-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.chapter-title-section h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.chapter-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    color: #EF4444;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chapter-dropdown-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateY(-2px);
}

.chapter-dropdown-btn svg:first-child {
    fill: currentColor;
}

.chapter-dropdown-btn svg:last-child {
    stroke: currentColor;
}

/* Topics Section */
.topics-section {
    width: 100%;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.topic-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.topic-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    position: relative;
}

.topic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.topic-card:hover .topic-image img {
    transform: scale(1.05);
}

.topic-content {
    padding: 20px;
}

.topic-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #1e293b;
    line-height: 1.4;
}

.topic-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #8B5CF6;
    font-size: 14px;
    font-weight: 500;
}

.topic-stats svg {
    stroke: currentColor;
    flex-shrink: 0;
}

.topic-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.topic-progress {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.topic-progress .progress-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.topic-progress .progress-label {
    font-size: 12px;
    color: #8B5CF6;
    font-weight: 600;
}

.reset-btn {
    padding: 6px 14px;
    background: transparent;
    border: 1px solid #8B5CF6;
    border-radius: 8px;
    color: #8B5CF6;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: lowercase;
}

.reset-btn:hover {
    background: #8B5CF6;
    color: white;
    transform: translateY(-2px);
}

/* Dark Mode - Anatomie Page */
body:not(.light-theme) .topic-card {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(71, 85, 105, 0.3);
    backdrop-filter: blur(10px);
}

body:not(.light-theme) .topic-content h3 {
    color: #e2e8f0;
}

body:not(.light-theme) .topic-image {
    background: linear-gradient(135deg, #334155, #475569);
}

body:not(.light-theme) .topic-progress .progress-bar {
    background: rgba(71, 85, 105, 0.4);
}

body:not(.light-theme) .chapter-title-section h1 {
    background: linear-gradient(135deg, #EF4444, #F87171);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Lessons Section - New Design */
.lessons-section {
    width: 100%;
    padding-top: 20px;
}

.lessons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lesson-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
    cursor: pointer;
}

.lesson-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.lesson-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #141B29;
    position: relative;
}

.lesson-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lesson-card:hover .lesson-image img {
    transform: scale(1.05);
}

.lesson-content {
    padding: 16px;
}

.lesson-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #1e293b;
    line-height: 1.4;
    min-height: 40px;
}

.lesson-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    color: #8B5CF6;
    font-size: 13px;
    font-weight: 500;
}

.lesson-stats svg {
    fill: currentColor;
    flex-shrink: 0;
}

.lesson-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.lesson-progress {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.progress-track {
    height: 4px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill-inner {
    height: 100%;
    background: #8B5CF6;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    color: #64748B;
    font-weight: 500;
}

.reset-btn {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #8B5CF6;
    border-radius: 6px;
    color: #8B5CF6;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: lowercase;
    white-space: nowrap;
}

.reset-btn:hover {
    background: #8B5CF6;
    color: white;
}

/* Dark Mode - Lesson Cards */
body:not(.light-theme) .lesson-card {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(71, 85, 105, 0.3);
    backdrop-filter: blur(10px);
}

body:not(.light-theme) .lesson-title {
    color: #e2e8f0;
}

body:not(.light-theme) .progress-track {
    background: rgba(71, 85, 105, 0.4);
}

body:not(.light-theme) .progress-text {
    color: #94a3b8;
}

body:not(.light-theme) .lesson-image {
    background: #1e293b;
}

/* Responsive - Anatomie Page */
@media (max-width: 1200px) {
    .lessons-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .lessons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .chapter-title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .chapter-title-section h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .lessons-grid {
        grid-template-columns: 1fr;
    }
}

/* Chapter Blocks with Collapsible Content */
.chapters-section {
    width: 100%;
    padding-top: 20px;
}

.chapter-block {
    margin-bottom: 24px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

body:not(.light-theme) .chapter-block {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(71, 85, 105, 0.3);
    backdrop-filter: blur(10px);
}

.chapter-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chapter-toggle:hover {
    background: rgba(0, 0, 0, 0.03);
}

body:not(.light-theme) .chapter-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

.chapter-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

body:not(.light-theme) .chapter-title {
    color: #e2e8f0;
}

.chevron-icon {
    transition: transform 0.3s ease;
}

.chapter-block.active .chevron-icon {
    transform: rotate(180deg);
}

.chapter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.chapter-block.active .chapter-content {
    max-height: 2000px;
}

.subchapter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 24px;
}

.subchapter-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.subchapter-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

body:not(.light-theme) .subchapter-card {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(71, 85, 105, 0.3);
}

.subchapter-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #141B29;
}

.subchapter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.subchapter-card:hover .subchapter-image img {
    transform: scale(1.05);
}

.subchapter-details {
    padding: 16px;
}

.subchapter-details h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px 0;
    line-height: 1.4;
    min-height: 40px;
}

body:not(.light-theme) .subchapter-details h3 {
    color: #e2e8f0;
}

.subchapter-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    color: #8B5CF6;
    font-size: 13px;
    font-weight: 500;
}

.subchapter-stats svg {
    fill: currentColor;
    flex-shrink: 0;
}

.subchapter-progress {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.progress-text {
    font-size: 12px;
    color: #64748B;
    font-weight: 500;
}

body:not(.light-theme) .progress-text {
    color: #94a3b8;
}

.reset-btn-mini {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #8B5CF6;
    border-radius: 6px;
    color: #8B5CF6;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.reset-btn-mini:hover {
    background: #8B5CF6;
    color: white;
}

@media (max-width: 1200px) {
    .subchapter-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .subchapter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .subchapter-grid {
        grid-template-columns: 1fr;
    }
}



/* Access Control Styles */
.access-message {
    margin: 40px 0;
}

.access-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 32px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.access-header {
    margin-bottom: 24px;
}

.access-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.access-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.access-badge.free {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.access-content p {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.access-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.feature-item svg {
    color: #4ade80;
    flex-shrink: 0;
}

.access-actions .btn {
    background: white;
    color: #667eea;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.access-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
