/* =============================================
   EduPro - Plataforma EAD - Styles v2
   ============================================= */

:root {
    --primary: #6366F1;
    --primary-100: #E0E7FF;
    --primary-200: #C7D2FE;
    --primary-500: #6366F1;
    --primary-600: #4F46E5;
    --primary-700: #4338CA;
    --secondary: #14B8A6;
    --secondary-100: #CCFBF1;
    --secondary-500: #14B8A6;
    --accent: #F43F5E;
    --accent-100: #FFE4E6;
    --dark: #0F172A;
    --dark-mid: #1E293B;
    --dark-light: #334155;
    --gray-dark: #64748B;
    --gray: #94A3B8;
    --gray-light: #E2E8F0;
    --gray-50: #F8FAFC;
    --light: #F1F5F9;
    --white: #FFFFFF;
    --success: #10B981;
    --success-100: #D1FAE5;
    --warning: #F59E0B;
    --warning-100: #FEF3C7;
    --danger: #EF4444;
    --danger-100: #FEE2E2;
    --gradient-1: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --gradient-2: linear-gradient(135deg, #14B8A6 0%, #2DD4BF 100%);
    --gradient-3: linear-gradient(135deg, #F43F5E 0%, #FB7185 100%);
    --gradient-hero: linear-gradient(135deg, #0B0B1A 0%, #121230 40%, #1A1040 100%);
    --glass: rgba(255,255,255,0.7);
    --glass-border: rgba(255,255,255,0.18);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.07);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(99,102,241,0.06);
    --shadow-card-hover: 0 8px 30px rgba(99,102,241,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--gray); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-dark); }

/* ========== NAVBAR ========== */
.navbar-main {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    padding: 14px 0;
    transition: var(--transition);
}
.navbar-main.scrolled {
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 20px rgba(0,0,0,0.04);
    padding: 10px 0;
    background: rgba(255,255,255,0.95);
}
.navbar-brand-edu {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark) !important;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.navbar-brand-edu .brand-icon {
    width: 34px;
    height: 34px;
    background: var(--gradient-1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}
.nav-link-edu {
    color: var(--gray-dark) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: var(--radius-full);
    transition: var(--transition);
    font-size: 0.9rem;
    position: relative;
}
.nav-link-edu:hover { color: var(--primary) !important; background: var(--primary-100); }
.nav-link-edu.active { color: var(--primary-700) !important; background: var(--primary-100); font-weight: 600; }

.btn-edu {
    padding: 9px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.btn-edu i { font-size: 0.95em; }
.btn-primary-edu {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 2px 10px rgba(99,102,241,0.3);
}
.btn-primary-edu:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(99,102,241,0.4);
    color: white;
}
.btn-secondary-edu {
    background: transparent;
    color: var(--dark);
    border: 1.5px solid var(--gray-light);
    font-weight: 500;
}
.btn-secondary-edu:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-100);
}
.btn-success-edu {
    background: var(--gradient-2);
    color: var(--dark);
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(20,184,166,0.3);
}
.btn-success-edu:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(20,184,166,0.4);
    color: var(--dark);
}
.btn-ghost-edu {
    background: transparent;
    color: var(--gray-dark);
    padding: 9px 16px;
}
.btn-ghost-edu:hover { background: var(--light); color: var(--dark); }
.btn-sm-edu { padding: 6px 16px; font-size: 0.8rem; }
.btn-lg-edu { padding: 14px 32px; font-size: 0.95rem; }
.btn-danger-edu { background: var(--danger); color: white; }
.btn-danger-edu:hover { background: #DC2626; color: white; transform: translateY(-1px); }
.btn-danger-outline {
    background: transparent;
    color: var(--danger);
    border: 1.5px solid var(--danger-100);
}
.btn-danger-outline:hover { background: var(--danger-100); }

/* ========== HERO ========== */
.hero-section {
    background: var(--gradient-hero);
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99,102,241,0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroFloat 10s ease-in-out infinite;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20,184,166,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroFloat 12s ease-in-out infinite reverse;
}
@keyframes heroFloat {
    0%, 100% { transform: translate(0,0) rotate(0deg); }
    33% { transform: translate(-20px, -30px) rotate(3deg); }
    66% { transform: translate(20px, -15px) rotate(-3deg); }
    100% { transform: translate(0,0) rotate(0deg); }
}
.hero-section .container { position: relative; z-index: 2; }

/* Grid pattern overlay */
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(20,184,166,0.15);
    color: #5EEAD4;
    border: 1px solid rgba(20,184,166,0.25);
    margin-bottom: 20px;
}
.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 900;
    color: white;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}
.hero-title .highlight {
    background: linear-gradient(135deg, #2DD4BF 0%, #5EEAD4 50%, #A7F3D0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(255,255,255,0.55);
    max-width: 500px;
    margin-bottom: 36px;
    line-height: 1.75;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat {
    display: flex;
    flex-direction: column;
}
.hero-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
    line-height: 1;
}
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-top: 4px; }

.hero-mockup {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-2xl);
    padding: 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}
.hero-mockup-inner {
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}

/* ========== CARDS ========== */
.card-edu {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    overflow: hidden;
}
.card-edu:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(99,102,241,0.15);
}
.card-edu .card-body { padding: 22px; }
.card-edu .card-body h5, .card-edu .card-body h6 {
    font-weight: 700;
    margin-bottom: 8px;
}
.card-thumb {
    height: 200px;
    background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card-edu:hover .card-thumb img { transform: scale(1.05); }
.card-thumb .icon-placeholder {
    font-size: 3rem;
    color: var(--primary-200);
    transition: var(--transition);
}
.card-edu:hover .card-thumb .icon-placeholder { transform: scale(1.1); }

.badge-level {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.badge-basic { background: var(--success-100); color: #059669; }
.badge-intermediate { background: var(--warning-100); color: #D97706; }
.badge-advanced { background: var(--danger-100); color: #DC2626; }
.badge-free { background: var(--secondary-100); color: #0D9488; }

.tag-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
}

.card-progress {
    height: 6px;
    background: var(--gray-light);
    border-radius: 99px;
    overflow: hidden;
    margin: 12px 0;
}
.card-progress .bar {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 99px;
    transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
    position: relative;
}
.card-progress .bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
    border-radius: 99px;
}

/* ========== SECTION ========== */
.section-pad { padding: 96px 0; }
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: -1px;
    line-height: 1.15;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 520px;
    line-height: 1.6;
}
.section-header { margin-bottom: 48px; }

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}
.feature-icon.purple { background: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(139,92,246,0.12) 100%); color: var(--primary); }
.feature-icon.teal { background: linear-gradient(135deg, rgba(20,184,166,0.12) 0%, rgba(45,212,191,0.12) 100%); color: var(--secondary); }
.feature-icon.pink { background: linear-gradient(135deg, rgba(244,63,94,0.12) 0%, rgba(251,113,133,0.12) 100%); color: var(--accent); }
.feature-icon.amber { background: linear-gradient(135deg, rgba(245,158,11,0.12) 0%, rgba(251,191,36,0.12) 100%); color: var(--warning); }

/* ========== LOGIN / REGISTER ========== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    position: relative;
    padding: 40px 20px;
}
.auth-page .auth-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 28px 28px;
}
.auth-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 44px 38px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.08);
}
.auth-card .auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}
.auth-card .auth-logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}
.auth-card .auth-logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}
.auth-card h2 { font-weight: 800; font-size: 1.5rem; margin-bottom: 4px; letter-spacing: -0.5px; }
.auth-card .subtitle { color: var(--gray); margin-bottom: 24px; font-size: 0.9rem; }
.form-control-edu {
    background: var(--gray-50);
    border: 1.5px solid var(--gray-light);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.9rem;
    transition: var(--transition);
    color: var(--dark);
    font-family: inherit;
}
.form-control-edu::placeholder { color: var(--gray); }
.form-control-edu:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
    outline: none;
    background: white;
}
.form-label-edu {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.82rem;
    color: var(--dark-mid);
    letter-spacing: 0.01em;
}

/* ========== SIDEBAR (Dashboard) ========== */
.dash-layout { display: flex; min-height: 100vh; }
.dash-sidebar {
    width: 270px;
    background: var(--dark);
    color: white;
    padding: 0;
    flex-shrink: 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1050;
    transition: var(--transition);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.dash-sidebar-brand {
    padding: 24px 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.15);
}
.dash-nav {
    padding: 16px 12px;
    flex: 1;
}
.dash-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.88rem;
    margin-bottom: 2px;
}
.dash-nav-link:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.8); }
.dash-nav-link.active {
    background: linear-gradient(135deg, rgba(99,102,241,0.2) 0%, rgba(139,92,246,0.15) 100%);
    color: white;
    font-weight: 600;
}
.dash-nav-link i { width: 20px; text-align: center; font-size: 1.05rem; flex-shrink: 0; }
.dash-nav-section {
    padding: 16px 16px 8px;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255,255,255,0.2);
    font-weight: 600;
}
.dash-nav-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 8px 16px;
}

.dash-content {
    flex: 1;
    padding: 28px 32px;
    margin-left: 270px;
    background: var(--light);
    min-height: 100vh;
}
.dash-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0 22px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--gray-light);
    flex-wrap: wrap;
    gap: 8px;
}

.stat-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 24px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 18px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.06;
    transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-card:hover::after { opacity: 0.1; transform: scale(1.3); }
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.stat-icon.purple { background: linear-gradient(135deg, #6366F1, #8B5CF6); color: white; }
.stat-icon.teal { background: linear-gradient(135deg, #14B8A6, #2DD4BF); color: white; }
.stat-icon.pink { background: linear-gradient(135deg, #F43F5E, #FB7185); color: white; }
.stat-icon.green { background: linear-gradient(135deg, #10B981, #34D399); color: white; }
.stat-value { font-size: 1.7rem; font-weight: 800; color: var(--dark); line-height: 1; letter-spacing: -0.5px; }
.stat-label { font-size: 0.78rem; color: var(--gray); margin-top: 2px; font-weight: 500; }

/* ========== COURSE PLAYER ========== */
.player-layout { display: flex; min-height: 100vh; background: var(--dark); }
.player-sidebar {
    width: 340px;
    background: var(--white);
    border-right: 1px solid rgba(0,0,0,0.06);
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    transition: var(--transition);
    z-index: 100;
    display: flex;
    flex-direction: column;
}
.progress-bar-compact {
    height: 3px;
    background: var(--gray-light);
    border-radius: 99px;
}
.progress-bar-compact .bar {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 99px;
}
.player-sidebar-header {
    padding: 20px;
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 10;
}
.player-sidebar-header .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gray);
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 12px;
    transition: var(--transition);
}
.player-sidebar-header .back-link:hover { color: var(--primary); }
.player-sidebar-header.course-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

.lesson-list { flex: 1; overflow-y: auto; }
.module-header {
    padding: 12px 20px;
    background: var(--gray-50);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gray-dark);
    border-bottom: 1px solid var(--gray-light);
    border-top: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    gap: 8px;
}
.module-header i { font-size: 0.85rem; }
.lesson-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--dark-light);
    font-size: 0.86rem;
    border-left: 3px solid transparent;
    line-height: 1.4;
}
.lesson-item:hover { background: var(--gray-50); color: var(--dark); }
.lesson-item.active {
    background: rgba(99,102,241,0.05);
    color: var(--primary-700);
    border-left-color: var(--primary);
    font-weight: 600;
}
.lesson-item.completed { color: var(--gray-dark); }
.lesson-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}
.lesson-item.completed .lesson-check {
    background: var(--success);
    border-color: var(--success);
    color: white;
}
.lesson-type-icon {
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.player-main {
    flex: 1;
    padding: 0;
    margin-left: 340px;
    background: var(--dark);
    min-height: 100vh;
}
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
}
.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.lesson-body {
    background: var(--white);
    padding: 40px 48px;
    color: var(--dark);
}
.lesson-body h3 { font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; }
.lesson-body p { color: var(--gray-dark); line-height: 1.85; }
.lesson-nav { display: flex; gap: 10px; flex-wrap: wrap; }

/* ========== FOOTER ========== */
.footer-edu {
    background: var(--dark);
    color: rgba(255,255,255,0.5);
    padding: 48px 0 24px;
}
.footer-edu a { color: rgba(255,255,255,0.6); text-decoration: none; transition: var(--transition); }
.footer-edu a:hover { color: white; }

/* ========== TABLES ========== */
.table-edu { width: 100%; border-collapse: separate; border-spacing: 0; }
.table-edu th {
    background: var(--gray-50);
    border: none;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-dark);
}
.table-edu th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.table-edu th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.table-edu td { border-top: 1px solid var(--gray-light); padding: 14px 16px; vertical-align: middle; }
.table-edu tr:not(:last-child):hover td { background: var(--gray-50); }

/* ========== ALERTS ========== */
.alert-edu {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}
.alert-success-edu { background: var(--success-100); color: #065F46; }
.alert-danger-edu { background: var(--danger-100); color: #991B1B; }
.alert-warning-edu { background: var(--warning-100); color: #92400E; }
.alert-primary-edu { background: var(--primary-100); color: var(--primary-700); }

/* ========== EMPTY STATE ========== */
.empty-state { text-align: center; padding: 64px 20px; }
.empty-state .empty-icon {
    width: 80px;
    height: 80px;
    background: var(--gray-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--gray);
}
.empty-state h5 { font-weight: 700; margin-bottom: 6px; }
.empty-state p { color: var(--gray); font-size: 0.9rem; }

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ========== COURSE DETAIL PAGE ========== */
.course-hero {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}
.course-enroll-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-2xl);
    padding: 28px;
}
.module-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.module-content-header {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-50);
}
.lesson-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition);
}
.lesson-row:last-child { border-bottom: none; }
.lesson-row:hover { background: var(--gray-50); }

.info-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow-card);
    padding: 24px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .dash-sidebar { transform: translateX(-100%); box-shadow: 10px 0 40px rgba(0,0,0,0.3); }
    .dash-sidebar.show { transform: translateX(0); }
    .dash-content { margin-left: 0; }
    .player-sidebar { transform: translateX(-100%); box-shadow: 10px 0 40px rgba(0,0,0,0.2); }
    .player-sidebar.show { transform: translateX(0); }
    .player-main { margin-left: 0 !important; }
    .hero-stats { flex-wrap: wrap; gap: 24px; }
    .hero-section { min-height: auto; padding: 100px 0 60px; }
}

@media (max-width: 767px) {
    .auth-card { padding: 32px 22px; border-radius: var(--radius-xl); }
    .section-pad { padding: 56px 0; }
    .dash-content { padding: 20px 16px; }
    .lesson-body { padding: 24px 20px; }
    .player-sidebar { width: 300px; }
    .stat-card { padding: 18px; }
    .stat-value { font-size: 1.4rem; }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.5s ease forwards; }
.fade-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-delay-3 { animation-delay: 0.3s; opacity: 0; }

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.shimmer {
    background: linear-gradient(90deg, var(--gray-50) 25%, var(--light) 50%, var(--gray-50) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.overlay-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1040;
}
@media (max-width: 991px) {
    .dash-sidebar.show ~ .overlay-backdrop,
    .player-sidebar.show ~ .overlay-backdrop { display: block; }
}
