/* public/css/custom.css - Hệ Thống Nhận Diện Giáo Dục Chuẩn Mực (Educational Design System) */

:root {
    /* --- BẢNG MÀU CHUẨN GIÁO DỤC EMERALD GREEN (THEO LOGO MẪU ĐÍNH KÈM) --- */
    --edu-primary: #006841;          /* Xanh Ngọc Lục Bảo Chủ Đạo (Emerald Logo Green) */
    --edu-primary-dark: #004d30;     /* Xanh Ngọc Rừng Đậm (Dark Forest) */
    --edu-primary-light: #f0fdf4;    /* Xanh Nhạt Nền Mắt Dịu */
    --edu-primary-hover: #005636;    /* Xanh Tương Tác */
    
    --edu-secondary: #059669;        /* Xanh Ngọc Sáng */
    --edu-secondary-light: #ecfdf5;  
    
    --edu-accent: #10b981;           /* Xanh Lục Bảo Tinh Tế */
    --edu-accent-light: #d1fae5;     
    --edu-accent-hover: #047857;
    
    --edu-success: #006841;          /* Thành Tựu Ngọc Lục Bảo */
    --edu-success-light: #ecfdf5;
    
    --edu-danger: #dc2626;           /* Đỏ Cảnh Báo */
    --edu-danger-light: #fef2f2;
    
    --edu-slate-dark: #062b1c;       /* Đen Chàm Lục Bảo */
    --edu-slate-card: #0f3d2a;       /* Nền Thẻ Tối */
    --edu-slate-text: #1e293b;       /* Chữ Đọc Sách Chuẩn */
    --edu-slate-muted: #64748b;      /* Chữ Phụ Xám Thanh Lịch */
    --edu-border: #e2e8f0;           /* Đường Kẻ Sách Vở */
    --edu-border-light: #f1f5f9;
    --edu-bg: #f8fafc;               /* Nền Trang Giấy Học Đường */
    --edu-bg-white: #ffffff;
    
    /* --- BÁN KÍNH BO GÓC & ĐỔ BÓNG CHUẨN UI HIỆN ĐẠI --- */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    --shadow-soft: 0 2px 8px -1px rgba(0, 104, 65, 0.06), 0 1px 4px -1px rgba(0, 104, 65, 0.03);
    --shadow-card: 0 10px 25px -5px rgba(0, 104, 65, 0.08), 0 4px 10px -3px rgba(0, 104, 65, 0.04);
    --shadow-hover: 0 20px 35px -8px rgba(0, 104, 65, 0.18), 0 6px 14px -4px rgba(0, 104, 65, 0.08);
    --shadow-navy: 0 15px 30px -5px rgba(0, 77, 48, 0.35);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--edu-bg);
    color: var(--edu-slate-text);
    line-height: 1.65;
    letter-spacing: -0.012em;
    -webkit-font-smoothing: antialiased;
}

/* --- MỞ RỘNG TOÀN DIỆN NỘI DUNG HIỂN THỊ WEBSITE LÊN 90% MÀN HÌNH (DESKTOP & TABLET) --- */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    max-width: 90vw !important;
    width: 90% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

@media (max-width: 992px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 95vw !important;
        width: 95% !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* --- THANH THÔNG TIN BỘ GIÁO DỤC TRÊN CÙNG (ACADEMIC TOPBAR) --- */
.academic-topbar {
    background: #002d1c !important;
    color: #a7f3d0;
    font-size: 0.82rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.academic-topbar strong {
    color: #ffffff;
}

/* --- NAVBAR CHUẨN GIÁO DỤC EMERALD GREEN (THEO LOGO MẪU ĐÍNH KÈM) --- */
.navbar-modern {
    background: linear-gradient(135deg, #004d30 0%, #006841 55%, #007a48 100%) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 2px solid rgba(16, 185, 129, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 77, 48, 0.25);
    padding: 10px 0;
}

.navbar-brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 12px;
    color: #006841;
    font-size: 1.35rem;
    box-shadow: 0 4px 14px rgba(0, 104, 65, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}
.navbar-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text-main {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
}
.brand-text-sub {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #fcd34d;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
}

/* Các kiểu danh sách & đường kẻ sư phạm bổ trợ */
.border-dashed-hr {
    border: none;
    border-top: 2px dashed #94a3b8;
    margin: 1.5rem 0;
    opacity: 0.8;
}
ol.ol-alpha-upper {
    list-style-type: upper-alpha;
    padding-left: 1.5rem;
}
ol.ol-alpha-lower {
    list-style-type: lower-alpha;
    padding-left: 1.5rem;
}
ol.ol-roman-upper {
    list-style-type: upper-roman;
    padding-left: 1.5rem;
}
ol.ol-roman-lower {
    list-style-type: lower-roman;
    padding-left: 1.5rem;
}

.nav-link-modern {
    color: #cbd5e1 !important;
    font-weight: 600;
    font-size: 0.93rem;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 2px;
}

.nav-link-modern:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link-modern.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 12px rgba(0, 77, 48, 0.3);
}

/* --- HERO BANNER TRANG CHỦ HOÀNG GIA SƯ PHẠM (ACADEMIC ROYAL HERO - EMERALD GREEN) --- */
.hero-edu-banner {
    background: linear-gradient(135deg, #003822 0%, #006841 55%, #047857 100%) !important;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    color: #ffffff;
    padding: 60px 50px;
    box-shadow: var(--shadow-navy);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-edu-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.25) 0%, rgba(30, 64, 175, 0.15) 45%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-edu-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}
.hero-title .text-gradient-gold {
    background: linear-gradient(135deg, #fde047 0%, #fbbf24 60%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.12rem;
    color: #cbd5e1;
    max-width: 680px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-feature-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-right: 8px;
    margin-bottom: 8px;
    backdrop-filter: blur(6px);
}
.hero-feature-pill i {
    color: #38bdf8;
    margin-right: 6px;
}

/* Thẻ nổi bật góc phải Hero (School Crest Badge Card) */
.hero-school-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    padding: 28px;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
}

/* --- 4 TRỤ CỘT ĐỔI MỚI GIÁO DỤC (4 PILLAR CARDS) --- */
.pillar-card {
    background: var(--edu-bg-white);
    border: 1px solid var(--edu-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    height: 100%;
    box-shadow: var(--shadow-card);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: #bfdbfe;
}

.pillar-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 18px;
    transition: transform 0.25s ease;
}
.pillar-card:hover .pillar-icon-box {
    transform: scale(1.08);
}

.icon-blue { background: #eff6ff; color: #1e40af; }
.icon-teal { background: #f0fdfa; color: #0d9488; }
.icon-amber { background: #fffbeb; color: #d97706; }
.icon-emerald { background: #ecfdf5; color: #059669; }

/* --- THẺ CHỦ ĐỀ & BÀI HỌC (ACADEMIC TOPIC & LESSON CARDS) --- */
.topic-card {
    background: var(--edu-bg-white);
    border: 1px solid var(--edu-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: all 0.25s ease;
    overflow: hidden;
}
.topic-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: #93c5fd;
}
.topic-card-header {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 16px 22px;
    border-bottom: 1px solid var(--edu-border);
}

/* Thẻ Bài Học Chi Tiết Chuẩn */
.lesson-row-card {
    background: #ffffff;
    border: 1px solid var(--edu-border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.lesson-row-card:hover {
    background: #f8fafc;
    border-color: #10b981;
    box-shadow: var(--shadow-soft);
}
.lesson-row-info {
    flex: 1 1 auto;
    min-width: 0;
}
.lesson-row-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* --- BẢNG ĐIỀU KHIỂN QUẢN TRỊ ADMIN (ADMIN ACADEMIC DASHBOARD) --- */
.admin-sidebar {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--edu-border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.admin-sidebar-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #ffffff;
    padding: 22px 20px;
    font-weight: 800;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-menu-heading {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    padding: 14px 20px 6px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.admin-menu-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--edu-slate-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    border-left: 3px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-menu-item:hover {
    background: var(--edu-primary-light);
    color: var(--edu-primary);
    padding-left: 24px;
    border-left-color: var(--edu-primary);
}

.admin-menu-item.active {
    background: #eff6ff;
    color: #1e40af;
    font-weight: 700;
    border-left-color: #1e40af;
}

.admin-menu-item i {
    font-size: 1.18rem;
    margin-right: 12px;
    width: 22px;
    text-align: center;
}

/* --- THẺ THỐNG KÊ QUẢN TRỊ (ADMIN KPI METRICS CARDS) --- */
.stats-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 22px 20px;
    border: 1px solid var(--edu-border);
    box-shadow: var(--shadow-card);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
}
.stats-card.card-teal::before { background: linear-gradient(90deg, #0d9488, #10b981); }
.stats-card.card-amber::before { background: linear-gradient(90deg, #d97706, #f59e0b); }
.stats-card.card-emerald::before { background: linear-gradient(90deg, #059669, #34d399); }

.stats-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

/* --- BADGES & HUY HIỆU GIÁO DỤC --- */
.badge-edu {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.02em;
}
.badge-edu-blue { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.badge-edu-teal { background: #f0fdfa; color: #0d9488; border: 1px solid #99f6e4; }
.badge-edu-amber { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.badge-edu-emerald { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }

/* Nút Bấm Giáo Dục Chuẩn Mực */
.btn-edu-primary {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    color: #ffffff;
    border: none;
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: 10px 22px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
    transition: all 0.2s ease;
}
.btn-edu-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.38);
    transform: translateY(-1px);
}

.btn-edu-accent {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: #000000;
    border: none;
    font-weight: 800;
    border-radius: var(--radius-sm);
    padding: 10px 22px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.28);
    transition: all 0.2s ease;
}
.btn-edu-accent:hover {
    background: linear-gradient(135deg, #b45309, #d97706);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-edu-teal {
    background: linear-gradient(135deg, #0d9488, #059669);
    color: #ffffff;
    border: none;
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: 10px 22px;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.28);
    transition: all 0.2s ease;
}
.btn-edu-teal:hover {
    background: linear-gradient(135deg, #0f766e, #047857);
    color: #ffffff;
    transform: translateY(-1px);
}

/* --- FOOTER GIÁO DỤC CHUẨN SƯ PHẠM --- */
.academic-footer {
    background: #ffffff;
    border-top: 1px solid var(--edu-border);
    padding: 50px 0 25px;
    color: #64748b;
}
.academic-footer-bottom {
    border-top: 1px solid var(--edu-border-light);
    padding-top: 20px;
    margin-top: 35px;
    font-size: 0.85rem;
}

/* --- PYODIDE INTERACTIVE PYTHON RUNNER & TERMINAL --- */
.py-runner-container {
    background: #ffffff;
    border: 1px solid var(--edu-border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-top: 14px;
}
.py-terminal-box {
    background: #090d16;
    border-radius: var(--radius-sm);
    border: 1px solid #1e293b;
    overflow: hidden;
    margin-top: 12px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}
.py-terminal-header {
    background: #131c2e;
    padding: 8px 14px;
    border-bottom: 1px solid #1e293b;
    color: #94a3b8;
    font-size: 0.8rem;
}
.py-terminal-body {
    background: transparent;
    color: #4ade80; /* Phosphor emerald terminal output */
    font-family: 'Fira Code', 'Cascadia Code', 'Consolas', 'Courier New', monospace;
    font-size: 0.88rem;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 280px;
    overflow-y: auto;
}
.py-code-editor {
    font-family: 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.9rem;
    line-height: 1.55;
    background: #0f172a;
    color: #f8fafc;
    border: 1px solid #334155;
    border-radius: var(--radius-sm);
    tab-size: 4;
}
.py-code-editor:focus {
    background: #0f172a;
    color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

/* --- GIAO DIỆN SOẠN THẢO CODE DRACULA OFFICIAL - MACOS VỚI FONT JETBRAINS MONO --- */
.dracula-macos-box {
    background: #282a36;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    margin: 18px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.dracula-macos-header {
    background: #21222c;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dracula-macos-dots {
    display: flex;
    gap: 7px;
    align-items: center;
}
.dracula-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.dracula-dot-red { background-color: #ff5f56; }
.dracula-dot-yellow { background-color: #ffbd2e; }
.dracula-dot-green { background-color: #27c93f; }
.dracula-macos-title {
    color: #bd93f9;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.82rem;
    font-weight: 600;
}
.dracula-macos-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
.dracula-copy-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #f8f8f2;
    border: none;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    transition: all 0.15s ease;
}
.dracula-copy-btn:hover {
    background: #006841;
    color: #ffffff;
}
.dracula-macos-body,
pre code.hljs,
pre.dracula-code {
    background: #282a36 !important;
    color: #f8f8f2 !important;
    font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
    font-size: 0.92rem;
    line-height: 1.65;
    padding: 16px 20px !important;
    margin: 0;
    overflow-x: auto;
    border-radius: 0 0 12px 12px;
}
pre code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
}

/* --- POPUP GIỮA TRANG VỚI NÚT X ĐỂ ĐÓNG (EDU POPUP MODAL) --- */
.edu-modal-backdrop {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(6, 43, 28, 0.65);
    backdrop-filter: blur(5px);
    z-index: 10999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}
.edu-modal-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}
.edu-modal-card {
    background: #ffffff;
    border-radius: 20px;
    width: 90%;
    max-width: 520px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 104, 65, 0.2);
}
.edu-modal-backdrop.show .edu-modal-card {
    transform: scale(1);
}
.edu-modal-header {
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
    background: #f0fdf4;
}
.edu-modal-close-btn {
    background: transparent;
    border: none;
    font-size: 1.3rem;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.15s ease;
}
.edu-modal-close-btn:hover {
    background: #fee2e2;
    color: #dc2626;
}
.edu-modal-body {
    padding: 24px;
    font-size: 1rem;
    color: #1e293b;
    line-height: 1.6;
}
.edu-modal-footer {
    padding: 14px 22px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: #f8fafc;
}

/* ========================================================
   CHẾ ĐỘ TRÌNH CHIẾU PHÒNG HỌC (CLASSROOM PROJECTOR MODE)
   ======================================================== */
body.classroom-projector-mode {
    font-size: 1.18rem !important;
    background-color: #ffffff !important;
}
body.classroom-projector-mode .container {
    max-width: 95% !important;
}
body.classroom-projector-mode h1,
body.classroom-projector-mode h2,
body.classroom-projector-mode .display-6 {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
}
body.classroom-projector-mode h3,
body.classroom-projector-mode h4 {
    font-size: 1.7rem !important;
    font-weight: 800 !important;
}
body.classroom-projector-mode .dracula-macos-box {
    border: 3px solid #fcd34d !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45) !important;
}
body.classroom-projector-mode .dracula-code-pre,
body.classroom-projector-mode pre code {
    font-size: 1.25rem !important;
    line-height: 1.8 !important;
    font-weight: 600 !important;
}
body.classroom-projector-mode mjx-chtml {
    font-size: 135% !important;
}
body.classroom-projector-mode .nav-link-modern,
body.classroom-projector-mode .nav-pills-modern .nav-link {
    font-size: 1.15rem !important;
    padding: 12px 20px !important;
}

/* ========================================================
   SKELETON SHIMMER LOADING
   ======================================================== */
.skeleton-box {
    display: inline-block;
    height: 1em;
    position: relative;
    overflow: hidden;
    background-color: #e2e8f0;
    border-radius: 4px;
}
.skeleton-box::after {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.4) 20%,
        rgba(255, 255, 255, 0.6) 60%,
        rgba(255, 255, 255, 0)
    );
    animation: shimmer 1.8s infinite;
    content: '';
}
@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* ========================================================
   TOAST NOTIFICATIONS NỔI GÓC MÀN HÌNH
   ======================================================== */
.edu-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1090;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.edu-toast {
    pointer-events: auto;
    min-width: 280px;
    max-width: 380px;
    background: #ffffff;
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 5px solid #006841;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.95rem;
    color: #1e293b;
}
.edu-toast.show {
    transform: translateX(0);
}
.edu-toast.toast-success { border-left-color: #10b981; }
.edu-toast.toast-warning { border-left-color: #f59e0b; }
.edu-toast.toast-danger { border-left-color: #ef4444; }
.edu-toast.toast-info { border-left-color: #0284c7; }

/* ========================================================
   CHẾ ĐỘ THI TOÀN MÀN HÌNH LOCKDOWN
   Ẩn Header & Footer khi làm bài thi
   ======================================================== */
body.exam-lockdown-active .academic-topbar,
body.exam-lockdown-active .navbar-modern,
body.exam-lockdown-active footer {
    display: none !important;
}
body.exam-lockdown-active {
    padding-top: 0 !important;
    background-color: #f8fafc !important;
}
