/* MCM Tech Hub LMS - Main Stylesheet */
/* Brand Colors from MCM Tech Hub Logo */
:root {
    --mcm-primary: #003B7F;
    --mcm-primary-rgb: 0, 59, 127;
    --mcm-accent: #0099CC;
    --mcm-accent-rgb: 0, 153, 204;
    --mcm-accent2: #0077A8;
    --mcm-dark: #001F4D;
    --mcm-card-bg: #ffffff;
    --mcm-border: #e8ecf0;
    --mcm-text: #1a2332;
    --mcm-muted: #6b7a90;
    --mcm-light: #f5f7fa;
    --mcm-success: #10b981;
    --mcm-warning: #f59e0b;
    --mcm-danger: #ef4444;
}

* { box-sizing: border-box; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--mcm-text);
    background: #f8fafc;
    font-size: 15px;
}
h1,h2,h3,h4,h5,h6 { font-family: 'Space Grotesk', sans-serif; }
.fw-600 { font-weight: 600; }

/* Navbar */
.mcm-navbar {
    background: var(--mcm-primary);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 12px 0;
}
.brand-icon {
    width: 38px; height: 38px;
    background: var(--mcm-accent);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--mcm-primary); font-size: 1.1rem; font-weight: 700;
}
.brand-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1rem; line-height: 1.1; }
.brand-sub { font-size: 0.65rem; color: var(--mcm-accent); letter-spacing: 2px; text-transform: uppercase; }
.navbar-nav .nav-link { color: rgba(255,255,255,0.8) !important; font-weight: 500; padding: 6px 12px; border-radius: 6px; transition: all .2s; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: #fff !important; background: rgba(255,255,255,0.08); }
.avatar-sm {
    width: 30px; height: 30px; background: var(--mcm-accent); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--mcm-primary); font-weight: 700; font-size: 0.8rem;
}
.btn-mcm { background: var(--mcm-accent); color: var(--mcm-primary) !important; font-weight: 700; border: none; border-radius: 8px; }
.btn-mcm:hover { background: #00b899; transform: translateY(-1px); }

/* Hero */
.hero-section {
    background: linear-gradient(135deg, var(--mcm-dark) 0%, var(--mcm-primary) 60%, #0d3b6e 100%);
    padding: 80px 0 60px;
    position: relative; overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute; top: -50%; right: -10%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,201,167,0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(0,201,167,0.15); border: 1px solid rgba(0,201,167,0.3);
    color: var(--mcm-accent); padding: 6px 14px; border-radius: 50px;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 16px;
}
.hero-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #fff; line-height: 1.15; }
.hero-title span { color: var(--mcm-accent); }
.hero-subtitle { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 520px; }
.hero-stats { display: flex; gap: 32px; margin-top: 24px; }
.hero-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; }
.hero-stat span { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* Filter Bar */
.filter-bar { background: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); margin-top: -24px; position: relative; z-index: 10; }
.filter-btn { border: 1.5px solid var(--mcm-border); background: none; color: var(--mcm-muted); padding: 7px 16px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all .2s; }
.filter-btn.active, .filter-btn:hover { border-color: var(--mcm-accent); color: var(--mcm-primary); background: rgba(0,201,167,0.08); }
.type-badge { padding: 3px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.type-course { background: rgba(0,201,167,0.12); color: #00a085; }
.type-masterclass { background: rgba(255,107,53,0.12); color: #e05025; }
.type-webinar { background: rgba(99,102,241,0.12); color: #5558d9; }

/* Course Cards */
.course-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--mcm-border);
    transition: transform .25s, box-shadow .25s;
    height: 100%;
    display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.course-thumb {
    height: 180px;
    background: linear-gradient(135deg, var(--mcm-primary), #0d3b6e);
    position: relative; display: flex; align-items: center; justify-content: center;
}
.course-thumb img { width: 100%; height: 100%; object-fit: cover; }
.course-thumb-icon { font-size: 3rem; color: rgba(255,255,255,0.2); }
.course-thumb .type-badge { position: absolute; top: 12px; left: 12px; }
.course-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.course-category { font-size: 0.75rem; color: var(--mcm-accent); font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.course-title { font-size: 1rem; font-weight: 700; margin: 6px 0 10px; line-height: 1.35; color: var(--mcm-text); }
.course-meta { display: flex; gap: 14px; font-size: 0.78rem; color: var(--mcm-muted); margin-bottom: 14px; }
.course-meta i { color: var(--mcm-accent); }
.course-price { font-size: 1.3rem; font-weight: 800; color: var(--mcm-primary); }
.course-price.free { color: var(--mcm-success); }
.course-footer { padding: 16px 20px; border-top: 1px solid var(--mcm-border); background: var(--mcm-light); }
.level-badge { font-size: 0.72rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.level-beginner { background: #d1fae5; color: #065f46; }
.level-intermediate { background: #fef3c7; color: #92400e; }
.level-advanced { background: #fee2e2; color: #991b1b; }

/* Progress Bar */
.progress-slim { height: 6px; border-radius: 10px; background: var(--mcm-border); }
.progress-slim .progress-bar { background: var(--mcm-accent); border-radius: 10px; }

/* Dashboard */
.dash-sidebar {
    background: var(--mcm-primary);
    min-height: calc(100vh - 70px);
    width: 260px; flex-shrink: 0;
    padding: 24px 0;
}
.dash-layout { display: flex; min-height: calc(100vh - 70px); }
.dash-content { flex: 1; padding: 32px; background: var(--mcm-light); }
.dash-nav-link {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 24px; color: rgba(255,255,255,0.7); font-weight: 500;
    text-decoration: none; transition: all .2s; font-size: 0.9rem;
    border-left: 3px solid transparent;
}
.dash-nav-link:hover, .dash-nav-link.active {
    color: #fff; background: rgba(255,255,255,0.08);
    border-left-color: var(--mcm-accent);
}
.dash-nav-link i { font-size: 1rem; width: 20px; }

/* Stat Cards */
.stat-card { background: #fff; border-radius: 12px; padding: 22px; border: 1px solid var(--mcm-border); }
.stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.stat-icon.green { background: rgba(16,185,129,0.12); color: var(--mcm-success); }
.stat-icon.blue { background: rgba(10,37,64,0.08); color: var(--mcm-primary); }
.stat-icon.orange { background: rgba(255,107,53,0.12); color: var(--mcm-accent2); }
.stat-icon.teal { background: rgba(0,201,167,0.12); color: var(--mcm-accent); }

/* Course Detail */
.course-hero { background: linear-gradient(135deg, var(--mcm-dark), var(--mcm-primary)); padding: 60px 0 40px; }
.course-sidebar { background: #fff; border-radius: 16px; border: 1px solid var(--mcm-border); overflow: hidden; position: sticky; top: 90px; }
.enroll-btn { background: var(--mcm-accent); color: var(--mcm-primary); font-weight: 800; font-size: 1rem; border: none; border-radius: 10px; padding: 14px; width: 100%; transition: all .2s; }
.enroll-btn:hover { background: #00b899; transform: translateY(-1px); }

/* Lesson Viewer */
.lesson-sidebar { width: 340px; flex-shrink: 0; background: #fff; border-right: 1px solid var(--mcm-border); height: calc(100vh - 70px); overflow-y: auto; }
.lesson-content-area { flex: 1; padding: 40px; overflow-y: auto; height: calc(100vh - 70px); background: var(--mcm-light); }
.lesson-item {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 20px; cursor: pointer; border-left: 3px solid transparent;
    font-size: 0.875rem; color: var(--mcm-muted); transition: all .2s; text-decoration: none;
}
.lesson-item:hover { background: var(--mcm-light); color: var(--mcm-text); }
.lesson-item.active { background: rgba(0,201,167,0.08); border-left-color: var(--mcm-accent); color: var(--mcm-primary); font-weight: 600; }
.lesson-item.completed { color: var(--mcm-success); }
.lesson-item.locked { color: #ccc; cursor: not-allowed; }
.lesson-item.locked:hover { background: none; color: #ccc; }
.lesson-check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--mcm-border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.65rem; }
.lesson-check.done { background: var(--mcm-success); border-color: var(--mcm-success); color: #fff; }
.module-header { padding: 12px 20px 8px; font-size: 0.75rem; font-weight: 700; color: var(--mcm-primary); text-transform: uppercase; letter-spacing: 0.5px; background: var(--mcm-light); }

/* Auth Pages */
.auth-wrapper { min-height: 100vh; background: linear-gradient(135deg, var(--mcm-dark), var(--mcm-primary)); display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.auth-card { background: #fff; border-radius: 20px; padding: 40px; width: 100%; max-width: 460px; box-shadow: 0 24px 60px rgba(0,0,0,0.25); }

/* Forms */
.form-control, .form-select { border-radius: 8px; border: 1.5px solid var(--mcm-border); padding: 10px 14px; font-size: 0.9rem; }
.form-control:focus, .form-select:focus { border-color: var(--mcm-accent); box-shadow: 0 0 0 3px rgba(0,201,167,0.12); }
.form-label { font-weight: 600; font-size: 0.85rem; color: var(--mcm-text); }

/* Alerts */
.alert { border-radius: 10px; border: none; font-size: 0.9rem; }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-danger { background: #fee2e2; color: #991b1b; }
.alert-warning { background: #fef3c7; color: #92400e; }
.alert-info { background: #e0f2fe; color: #075985; }

/* Admin */
.admin-sidebar { background: var(--mcm-dark); width: 250px; min-height: 100vh; }
.admin-nav-link { display: flex; align-items: center; gap: 10px; padding: 12px 20px; color: rgba(255,255,255,0.65); font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: all .2s; border-left: 3px solid transparent; }
.admin-nav-link:hover, .admin-nav-link.active { color: #fff; background: rgba(255,255,255,0.07); border-left-color: var(--mcm-accent); }
.admin-content { flex: 1; padding: 32px; background: var(--mcm-light); min-height: 100vh; }
.data-table { font-size: 0.875rem; }
.data-table th { background: var(--mcm-primary); color: #fff; font-weight: 600; white-space: nowrap; }
.data-table td { vertical-align: middle; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 600; }
.chip-success { background: #d1fae5; color: #065f46; }
.chip-warning { background: #fef3c7; color: #92400e; }
.chip-danger { background: #fee2e2; color: #991b1b; }

/* Footer */
.mcm-footer { background: var(--mcm-dark); }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.875rem; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--mcm-accent); }
.footer-contact li { color: rgba(255,255,255,0.5); font-size: 0.875rem; margin-bottom: 8px; display: flex; align-items: center; }
.footer-contact i { color: var(--mcm-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); }
.social-link { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all .2s; }
.social-link:hover { background: var(--mcm-accent); color: var(--mcm-primary); }

/* Accordion */
.module-accordion .accordion-button { font-weight: 600; background: var(--mcm-light); }
.module-accordion .accordion-button:not(.collapsed) { background: var(--mcm-primary); color: #fff; }
.module-accordion .accordion-button::after { filter: invert(0); }
.module-accordion .accordion-button:not(.collapsed)::after { filter: invert(1); }

/* Page Header */
.page-header { background: linear-gradient(135deg, var(--mcm-dark), var(--mcm-primary)); padding: 40px 0; color: #fff; }
.page-header h1 { font-size: 1.8rem; font-weight: 700; }

/* Professional Card Styling */
.card {
    border-radius: 12px;
    border: 1px solid var(--mcm-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}
.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 153, 204, 0.2);
}
.card-header {
    background: var(--mcm-light);
    border-bottom: 1px solid var(--mcm-border);
    border-radius: 12px 12px 0 0;
    padding: 16px 20px;
    font-weight: 600;
}
.card-body {
    padding: 20px;
}

/* Enhanced Buttons */
.btn-mcm {
    background: linear-gradient(135deg, var(--mcm-primary), var(--mcm-accent2));
    color: white !important;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 59, 127, 0.2);
}
.btn-mcm:hover {
    background: linear-gradient(135deg, var(--mcm-accent2), var(--mcm-primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 59, 127, 0.3);
}
.btn-outline-secondary {
    border: 1.5px solid var(--mcm-border);
    color: var(--mcm-text);
    font-weight: 600;
    border-radius: 8px;
}
.btn-outline-secondary:hover {
    border-color: var(--mcm-accent);
    background: rgba(0, 153, 204, 0.04);
    color: var(--mcm-accent);
}

/* Table Enhancements */
.table {
    margin-bottom: 0;
}
.table th {
    background: linear-gradient(135deg, var(--mcm-primary), var(--mcm-accent2));
    color: white;
    font-weight: 700;
    border: none;
    padding: 14px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.table td {
    padding: 14px;
    border-color: var(--mcm-light);
    vertical-align: middle;
}
.table tbody tr {
    transition: all 0.2s ease;
}
.table tbody tr:hover {
    background: var(--mcm-light);
}

/* Progress Bar Styling */
.progress-bar {
    background: linear-gradient(90deg, var(--mcm-primary), var(--mcm-accent));
    height: 8px;
    border-radius: 4px;
}
.progress {
    background: var(--mcm-light);
    border-radius: 4px;
    height: 8px;
}

/* Badge Enhancements */
.badge {
    padding: 6px 12px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    border-radius: 6px;
}
.badge.bg-primary {
    background: linear-gradient(135deg, var(--mcm-primary), var(--mcm-accent2)) !important;
}
.badge.bg-success {
    background: var(--mcm-success) !important;
}

/* Form Enhancement */
.form-control, .form-select {
    border-radius: 8px;
    border: 1.5px solid var(--mcm-border);
    padding: 11px 14px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background: white;
}
.form-control:focus, .form-select:focus {
    border-color: var(--mcm-accent);
    box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.1);
    outline: none;
}
.form-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--mcm-text);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.form-text {
    font-size: 0.8rem;
    color: var(--mcm-muted);
    margin-top: 4px;
}

/* Admin Panel Enhancements */
.stat-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--mcm-border);
    padding: 20px;
    transition: all 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 59, 127, 0.15);
    border-color: rgba(0, 153, 204, 0.2);
}
.stat-card .fs-3 {
    color: var(--mcm-primary);
    font-weight: 800;
}

/* Type and Level Badges */
.type-badge, .level-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}
.type-course { background: rgba(0, 59, 127, 0.1); color: var(--mcm-primary); }
.type-masterclass { background: rgba(0, 153, 204, 0.1); color: var(--mcm-accent); }
.type-webinar { background: rgba(0, 119, 168, 0.1); color: var(--mcm-accent2); }
.level-beginner { background: rgba(16, 185, 129, 0.1); color: var(--mcm-success); }
.level-intermediate { background: rgba(245, 158, 11, 0.1); color: var(--mcm-warning); }
.level-advanced { background: rgba(239, 68, 68, 0.1); color: var(--mcm-danger); }

/* Enhanced Section Headers */
.page-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--mcm-primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.page-subtitle {
    color: var(--mcm-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Breadcrumb Enhancement */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}
.breadcrumb-item { color: var(--mcm-muted); }
.breadcrumb-item.active { color: var(--mcm-primary); font-weight: 600; }
.breadcrumb-item a { color: var(--mcm-accent); }
.breadcrumb-item a:hover { text-decoration: underline; }

/* Misc */
.section-label { font-size: 0.78rem; font-weight: 700; color: var(--mcm-accent); text-transform: uppercase; letter-spacing: 1px; }
.btn-outline-accent { border: 1.5px solid var(--mcm-accent); color: var(--mcm-accent); border-radius: 8px; font-weight: 600; }
.btn-outline-accent:hover { background: var(--mcm-accent); color: var(--mcm-primary); }
a { text-decoration: none; }
.text-accent { color: var(--mcm-accent); }
.divider { height: 1px; background: var(--mcm-border); margin: 20px 0; }

/* Animation Utilities */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.3s ease; }

/* Responsive Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Quick Link Cards */
.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    background: white;
    border: 1.5px solid var(--mcm-border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--mcm-primary);
    font-weight: 600;
    transition: all 0.3s ease;
    min-height: 110px;
}
.quick-link-card:hover {
    border-color: var(--mcm-accent);
    background: linear-gradient(135deg, rgba(0, 59, 127, 0.05), rgba(0, 153, 204, 0.05));
    transform: translateY(-2px);
}
.quick-link-card i {
    font-size: 1.8rem;
    color: var(--mcm-accent);
}
.quick-link-card span {
    font-size: 0.9rem;
}

/* Student Dashboard Layout */
.dashboard-wrapper {
    display: flex;
    gap: 24px;
    padding: 24px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
}

.student-sidebar {
    width: 250px;
    position: sticky;
    top: 80px;
    height: fit-content;
    background: white;
    border: 1px solid var(--mcm-border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.student-content {
    flex: 1;
    min-width: 0;
}

.sidebar-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--mcm-border);
}

.sidebar-header h6 {
    color: var(--mcm-primary);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.sidebar-divider {
    height: 1px;
    background: var(--mcm-border);
    margin: 16px 0 !important;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--mcm-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover {
    background: rgba(0, 59, 127, 0.08);
    transform: translateX(2px);
}

.nav-link.active {
    background: rgba(0, 59, 127, 0.12);
    border-left-color: var(--mcm-accent);
    color: var(--mcm-primary);
    font-weight: 600;
}

.nav-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.content-header {
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mcm-border);
}


.content-header h2 {
    color: var(--mcm-primary);
    margin-bottom: 4px;
}

/* Dashboard Stats and Cards */
.student-content .row {
    margin-bottom: 24px;
}

.student-content .card {
    border: 1px solid var(--mcm-border);
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.student-content .card:hover {
    border-color: rgba(0, 153, 204, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.student-content h5 {
    color: var(--mcm-primary);
    margin-top: 28px;
    margin-bottom: 16px;
    font-size: 1rem;
}

.progress-slim {
    height: 6px;
    background: rgba(0, 59, 127, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-slim .progress-bar {
    background: linear-gradient(90deg, var(--mcm-accent), var(--mcm-accent2));
    height: 100%;
    transition: width 0.3s ease;
}

@media (max-width: 992px) {
    .dashboard-wrapper {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
        min-height: auto;
    }
    .student-sidebar {
        display: none !important;
        width: 100%;
        position: static;
    }
    .student-content {
        flex: 1;
    }
    .content-header {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 24px;
    }
    .dash-sidebar, .lesson-sidebar { width: 100%; min-height: auto; }
    .dash-layout, .lesson-viewer { flex-direction: column; }
    .lesson-content-area { height: auto; padding: 20px; }
    .admin-sidebar { width: 100%; min-height: auto; }
}
    .admin-sidebar { width: 100%; min-height: auto; }

