/* =========================================================
   MindCoach Admin — site.css
   Design: Deep Navy + Electric Teal + Warm Amber
   Font: Sora (headings) + DM Sans (body)
   ========================================================= */

:root {
    --navy:        #0f1729;
    --navy-light:  #1a2540;
    --navy-border: #243050;
    --teal:        #00c9a7;
    --teal-dim:    #00a388;
    --amber:       #f59e0b;
    --surface:     #ffffff;
    --surface-2:   #f7f9fc;
    --text-1:      #0f1729;
    --text-2:      #4a5568;
    --text-3:      #9baab8;
    --danger:      #ef4444;
    --success:     #10b981;
    --info:        #3b82f6;
    --sidebar-w:   240px;

    --gradient-0: linear-gradient(135deg, #667eea, #764ba2);
    --gradient-1: linear-gradient(135deg, #00c9a7, #0094d4);
    --gradient-2: linear-gradient(135deg, #f59e0b, #ef4444);
    --gradient-3: linear-gradient(135deg, #6366f1, #8b5cf6);
    --gradient-4: linear-gradient(135deg, #10b981, #059669);

    --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
    --shadow-md:  0 4px 16px rgba(0,0,0,.1);
    --shadow-lg:  0 8px 32px rgba(0,0,0,.14);
    --radius:     12px;
    --radius-sm:  8px;
    --transition: .18s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 14px; }

body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    background: var(--surface-2);
    color: var(--text-1);
    line-height: 1.6;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Sora', sans-serif; font-weight: 600; }

/* ── App shell ──────────────────────────────────────────────── */
.app-shell { display: flex; min-height: 100vh; }

/* ── Sidebar ────────────────────────────────────────────────── */
.sidebar {
    width: var(--sidebar-w);
    background: var(--navy);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 100;
    transition: transform var(--transition);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 24px 20px 16px;
    border-bottom: 1px solid var(--navy-border);
}

.brand-icon {
    width: 36px; height: 36px;
    background: var(--teal);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 18px;
}

.brand-text {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    letter-spacing: -.3px;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.nav-section-label {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--text-3);
    text-transform: uppercase;
    padding: 4px 8px 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,.65);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 450;
    transition: all var(--transition);
    margin-bottom: 2px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.nav-item i { font-size: 1rem; width: 18px; flex-shrink: 0; }

.nav-item:hover {
    background: rgba(255,255,255,.07);
    color: white;
}

.nav-item.active {
    background: rgba(0,201,167,.15);
    color: var(--teal);
    font-weight: 500;
}

.logout-btn { color: rgba(255,255,255,.45) !important; }
.logout-btn:hover { background: rgba(239,68,68,.12) !important; color: #f87171 !important; }

.badge-dot {
    width: 7px; height: 7px;
    background: var(--amber);
    border-radius: 50%;
    position: absolute;
    right: 12px; top: 50%; transform: translateY(-50%);
}

.sidebar-footer {
    padding: 12px;
    border-top: 1px solid var(--navy-border);
}

/* ── Main area ──────────────────────────────────────────────── */
.main-area {
    margin-left: var(--sidebar-w);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ── Topbar ─────────────────────────────────────────────────── */
.topbar {
    background: var(--surface);
    border-bottom: 1px solid #e5eaf3;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: sticky; top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

.sidebar-toggle {
    display: none;
    background: none; border: none;
    font-size: 1.25rem; color: var(--text-2); cursor: pointer;
}

.topbar-title {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: .95rem;
    color: var(--text-1);
    flex: 1;
}

.topbar-right { display: flex; align-items: center; gap: 8px; }

.membership-badge, .role-badge {
    font-size: .72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.membership-badge.paid { background: rgba(245,158,11,.12); color: var(--amber); }
.membership-badge.free { background: rgba(148,163,184,.12); color: #64748b; }
.role-badge { background: rgba(0,201,167,.1); color: var(--teal-dim); }

/* ── Content area ───────────────────────────────────────────── */
.content-area { padding: 28px 32px; flex: 1; }

/* ── Page header ─────────────────────────────────────────────── */
.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.page-subtitle {
    color: var(--text-2);
    font-size: .875rem;
    margin: 4px 0 0;
}

.back-link {
    color: var(--text-3);
    text-decoration: none;
    font-size: .8rem;
    font-weight: 500;
    transition: color var(--transition);
}
.back-link:hover { color: var(--teal); }

/* ── Cards ──────────────────────────────────────────────────── */
.mc-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid #e5eaf3;
    box-shadow: var(--shadow-sm);
}

.mc-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f4fb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mc-card-header h5, .mc-card-header h6 {
    margin: 0;
    font-size: .95rem;
    font-weight: 600;
}

.mc-card-body { padding: 20px; }

.see-all {
    font-size: .8rem;
    color: var(--teal);
    text-decoration: none;
}

/* ── Alerts ─────────────────────────────────────────────────── */
.mc-alert {
    border-radius: var(--radius-sm);
    border: none;
    font-size: .875rem;
    margin-bottom: 20px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.mc-btn-primary {
    background: var(--teal);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px 20px;
    font-weight: 500;
    font-size: .875rem;
    transition: all var(--transition);
}
.mc-btn-primary:hover { background: var(--teal-dim); color: white; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,201,167,.3); }

.mc-btn-outline {
    background: transparent;
    color: var(--teal);
    border: 1.5px solid var(--teal);
    border-radius: var(--radius-sm);
    padding: 9px 20px;
    font-weight: 500;
    font-size: .875rem;
    transition: all var(--transition);
}
.mc-btn-outline:hover { background: rgba(0,201,167,.08); color: var(--teal); }

.mc-btn-ghost {
    background: transparent;
    color: var(--text-2);
    border: 1.5px solid #e5eaf3;
    border-radius: var(--radius-sm);
    padding: 9px 20px;
    font-size: .875rem;
    transition: all var(--transition);
}
.mc-btn-ghost:hover { background: var(--surface-2); color: var(--text-1); }

.mc-btn-sm {
    padding: 5px 10px;
    font-size: .78rem;
    border-radius: 6px;
    border: 1.5px solid #e5eaf3;
    background: white;
    color: var(--text-2);
    transition: all var(--transition);
}
.mc-btn-sm:hover { border-color: var(--teal); color: var(--teal); }
.mc-btn-danger { border-color: #fecaca !important; color: var(--danger) !important; }
.mc-btn-danger:hover { background: #fef2f2 !important; }

/* ── Form inputs ─────────────────────────────────────────────── */
.mc-input {
    border: 1.5px solid #e5eaf3;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: .875rem;
    color: var(--text-1);
    transition: all var(--transition);
    background: var(--surface);
}
.mc-input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0,201,167,.1);
    outline: none;
}

.input-wrapper { position: relative; }
.input-icon {
    position: absolute;
    left: 12px; top: 50%; transform: translateY(-50%);
    color: var(--text-3); z-index: 2; pointer-events: none;
}
.input-wrapper .mc-input { padding-left: 38px; }
.toggle-pw {
    position: absolute;
    right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none;
    color: var(--text-3); cursor: pointer;
    font-size: .9rem;
}

.form-label { font-weight: 500; font-size: .85rem; color: var(--text-1); margin-bottom: 6px; }

/* ── Badges ─────────────────────────────────────────────────── */
.badge { font-size: .7rem; font-weight: 600; padding: 4px 9px; border-radius: 20px; }
.badge-paid { background: rgba(245,158,11,.12); color: #b45309; }
.badge-free { background: rgba(100,116,139,.1); color: #475569; }
.badge-success { background: rgba(16,185,129,.12); color: #059669; }
.badge-inactive { background: rgba(148,163,184,.12); color: #94a3b8; }
.badge-superadmin { background: rgba(99,102,241,.12); color: #4f46e5; }
.badge-admin { background: rgba(59,130,246,.12); color: #2563eb; }
.badge-user { background: rgba(100,116,139,.1); color: #475569; }
.target-badge-all { background: rgba(59,130,246,.1); color: #2563eb; }
.target-badge-paid { background: rgba(245,158,11,.1); color: #b45309; }
.target-badge-free { background: rgba(100,116,139,.1); color: #475569; }

/* ── Stats grid ─────────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid #e5eaf3;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.stat-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.bg-primary-soft  { background: rgba(59,130,246,.1); color: #3b82f6; }
.bg-success-soft  { background: rgba(245,158,11,.1); color: var(--amber); }
.bg-warning-soft  { background: rgba(16,185,129,.1); color: var(--success); }
.bg-info-soft     { background: rgba(0,201,167,.1); color: var(--teal); }
.bg-purple-soft   { background: rgba(139,92,246,.1); color: #7c3aed; }

.stat-value { font-family: 'Sora', sans-serif; font-size: 1.6rem; font-weight: 700; line-height: 1; }
.stat-label { font-size: .78rem; color: var(--text-2); margin-top: 4px; }

/* ── Quick actions ───────────────────────────────────────────── */
.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qa-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-2);
    font-size: .78rem;
    font-weight: 500;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid transparent;
}
.qa-btn i { font-size: 1.2rem; color: var(--teal); }
.qa-btn:hover { background: rgba(0,201,167,.06); border-color: rgba(0,201,167,.2); color: var(--navy); }
.admin-action i { color: var(--amber); }

/* ── Membership display ──────────────────────────────────────── */
.membership-display {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid;
}
.membership-display.paid { background: rgba(245,158,11,.06); border-color: rgba(245,158,11,.2); }
.membership-display.free { background: var(--surface-2); border-color: #e5eaf3; }
.m-icon { font-size: 1.5rem; }
.membership-display.paid .m-icon { color: var(--amber); }
.m-type { font-weight: 600; font-size: .95rem; }
.m-desc { font-size: .8rem; color: var(--text-2); }
.upgrade-link { color: var(--teal); text-decoration: none; font-weight: 500; margin-left: 6px; }

/* ── User list (dashboard) ────────────────────────────────────── */
.user-list { padding: 0; }
.user-list-item {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f4fb;
}
.user-list-item:last-child { border-bottom: none; }
.user-avatar {
    width: 34px; height: 34px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 600; font-size: .85rem;
    flex-shrink: 0;
}
.user-avatar-sm { @extend .user-avatar; width: 30px; height: 30px; font-size: .78rem; }
.user-info { flex: 1; min-width: 0; }
.user-name { font-weight: 500; font-size: .85rem; }
.user-email { font-size: .75rem; color: var(--text-3); }

/* ── Course grid ─────────────────────────────────────────────── */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.course-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid #e5eaf3;
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-sm);
}
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.course-card.expired { opacity: .75; }

.course-thumb {
    height: 140px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    overflow: hidden;
}
.course-thumb img { width: 100%; height: 100%; object-fit: cover; }
.course-thumb-icon { font-size: 2.5rem; color: rgba(255,255,255,.6); }
.course-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }

.course-detail-thumb {
    height: 200px;
    border-radius: var(--radius) var(--radius) 0 0;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}

.course-body { padding: 16px; flex: 1; }
.course-title { font-size: .95rem; font-weight: 600; margin-bottom: 6px; line-height: 1.3; }
.course-desc { font-size: .8rem; color: var(--text-2); margin-bottom: 10px; }
.course-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: .75rem; color: var(--text-3); }
.course-info-list { display: flex; flex-direction: column; gap: 0; }

.course-footer {
    padding: 12px 16px;
    border-top: 1px solid #f0f4fb;
    display: flex; gap: 8px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f7f9fc;
    font-size: .85rem;
}
.info-row:last-child { border-bottom: none; }
.info-label { color: var(--text-2); font-weight: 450; }
.info-value { font-weight: 500; }

.enrolled-badge {
    background: rgba(16,185,129,.08);
    color: var(--success);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    text-align: center;
    font-size: .85rem;
    font-weight: 600;
}
.expired-badge {
    background: rgba(239,68,68,.08);
    color: var(--danger);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    text-align: center;
    font-size: .85rem;
    font-weight: 600;
}
.expired-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.5);
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 600; font-size: .85rem; gap: 6px;
}
.expiry-info { font-size: .78rem; margin-top: 8px; }

/* ── Chapter list ────────────────────────────────────────────── */
.chapter-list { display: flex; flex-direction: column; }
.chapter-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f4fb;
    transition: background var(--transition);
}
.chapter-item:last-child { border-bottom: none; }
.chapter-item:hover { background: #f7f9fc; }
.chapter-item.locked { opacity: .65; }

.chapter-seq {
    width: 28px; height: 28px;
    background: var(--surface-2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 700; color: var(--text-2);
    flex-shrink: 0;
}
.chapter-info { flex: 1; }
.chapter-title { font-weight: 500; font-size: .875rem; }
.chapter-meta { display: flex; gap: 12px; font-size: .75rem; color: var(--text-3); margin-top: 3px; }
.chapter-actions { display: flex; align-items: center; }
.lock-icon { color: var(--text-3); font-size: .95rem; }

.chapter-meta-header { display: flex; gap: 16px; font-size: .8rem; color: var(--text-2); margin-top: 4px; }

/* ── Video / PPT / Text content ──────────────────────────────── */
.video-container, .ppt-container {
    position: relative; width: 100%;
    padding-bottom: 56.25%;
    background: #000; border-radius: var(--radius-sm); overflow: hidden;
}
.video-player, .ppt-player {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}
.text-content {
    line-height: 1.9;
    font-size: .95rem;
    color: var(--text-1);
    max-width: 720px;
}

/* ── Table ───────────────────────────────────────────────────── */
.mc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
}
.mc-table thead th {
    background: #f7f9fc;
    padding: 12px 16px;
    text-align: left;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-2);
    border-bottom: 1px solid #e5eaf3;
}
.mc-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f4fb;
    vertical-align: middle;
}
.mc-table tbody tr:last-child td { border-bottom: none; }
.mc-table tbody tr:hover td { background: #fafbfe; }
.user-cell { display: flex; align-items: center; gap: 10px; }
.user-avatar-sm {
    width: 30px; height: 30px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 600; font-size: .78rem;
    flex-shrink: 0;
}
.status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block; margin-right: 6px;
}
.status-dot.active { background: var(--success); }
.status-dot.inactive { background: var(--text-3); }

/* ── Broadcast ───────────────────────────────────────────────── */
.broadcast-list { display: flex; flex-direction: column; gap: 12px; }
.broadcast-item {
    background: var(--surface);
    border: 1px solid #e5eaf3;
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex; gap: 14px;
    transition: all var(--transition);
}
.broadcast-item.unread {
    border-left: 3px solid var(--teal);
    background: rgba(0,201,167,.02);
}
.broadcast-icon {
    width: 38px; height: 38px;
    background: rgba(0,201,167,.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--teal); font-size: 1.1rem; flex-shrink: 0;
}
.broadcast-body { flex: 1; min-width: 0; }
.broadcast-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.broadcast-title { font-weight: 600; margin: 0; font-size: .9rem; display: flex; align-items: center; gap: 6px; }
.unread-dot { width: 7px; height: 7px; background: var(--teal); border-radius: 50%; flex-shrink: 0; }
.broadcast-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.broadcast-time { font-size: .73rem; color: var(--text-3); }
.broadcast-msg { font-size: .85rem; color: var(--text-2); margin-bottom: 8px; }
.broadcast-footer { display: flex; justify-content: space-between; align-items: center; }

/* Target audience selector */
.target-options { display: flex; flex-direction: column; gap: 10px; }
.target-option { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.target-option input[type="radio"] { display: none; }
.target-option span {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid #e5eaf3;
    cursor: pointer; width: 100%;
    transition: all var(--transition);
}
.target-option span i { font-size: 1.1rem; color: var(--text-3); }
.target-option span strong { font-size: .875rem; display: block; }
.target-option span small { color: var(--text-3); font-size: .75rem; }
.target-option input:checked + span {
    border-color: var(--teal);
    background: rgba(0,201,167,.04);
}
.target-option input:checked + span i { color: var(--teal); }

/* ── Course type toggle ──────────────────────────────────────── */
.course-type-toggle {
    display: flex;
    border: 1.5px solid #e5eaf3;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.toggle-option { flex: 1; margin: 0; }
.toggle-option input { display: none; }
.toggle-option span {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 9px 12px;
    cursor: pointer;
    font-size: .85rem; font-weight: 500;
    color: var(--text-2);
    background: var(--surface);
    transition: all var(--transition);
}
.toggle-option input:checked + span {
    background: var(--teal);
    color: white;
}

/* ── Pagination ──────────────────────────────────────────────── */
.pagination-nav {
    display: flex; justify-content: center; gap: 6px;
    margin-top: 28px;
}
.page-btn {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    background: var(--surface); border: 1.5px solid #e5eaf3;
    color: var(--text-2); text-decoration: none;
    font-size: .85rem; font-weight: 500;
    transition: all var(--transition);
}
.page-btn:hover { border-color: var(--teal); color: var(--teal); }
.page-btn.active { background: var(--teal); border-color: var(--teal); color: white; }

/* ── Search bar ──────────────────────────────────────────────── */
.search-bar { display: flex; align-items: center; max-width: 500px; }
.search-bar .input-wrapper { flex: 1; }
.search-bar .mc-input { padding-left: 38px; }

/* ── Profile ─────────────────────────────────────────────────── */
.profile-avatar {
    width: 72px; height: 72px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-family: 'Sora', sans-serif;
    font-size: 1.8rem; font-weight: 700;
    margin: 0 auto;
}

/* ── Empty state ─────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-3);
}
.empty-state i { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.empty-state h4 { color: var(--text-2); font-size: 1rem; }
.empty-state p { font-size: .875rem; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.open {
        transform: translateX(0);
        box-shadow: var(--shadow-lg);
    }
    .main-area { margin-left: 0; }
    .sidebar-toggle { display: flex; }
    .content-area { padding: 20px 16px; }
    .course-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .page-header { flex-direction: column; gap: 12px; align-items: flex-start; }
}
