/* ===================================================================
   SKY EDU — HỆ THỐNG KHẢO THÍ & LUYỆN THI TSA ĐHBKHN
   Giao diện Landing Page chuẩn SkyEdu (Xanh Royal, Xanh Navy & Trắng)
   Sử dụng font hệ thống mượt mà (Arial / Be Vietnam Pro / Segoe UI)
   Native CSS 60-120fps mượt mà — Không giật lag
   =================================================================== */

/* ---------- BIẾN MÀU SẮC CHUẨN THƯƠNG HIỆU SKY EDU ---------- */
:root {
    --sky-primary: #1e5bd8;
    --sky-primary-hover: #1646ad;
    --sky-primary-light: #eff6ff;
    --sky-primary-border: #bfdbfe;
    
    --sky-navy: #091738;
    --sky-navy-card: #0e224e;
    --sky-navy-light: #16326d;
    
    --sky-cyan: #0ea5e9;
    --sky-yellow: #f59e0b;
    --sky-yellow-light: #fef3c7;
    --sky-green: #10b981;
    --sky-green-light: #ecfdf5;
    
    --sky-text-dark: #0f172a;
    --sky-text-body: #334155;
    --sky-text-muted: #64748b;
    --sky-bg-soft: #f8fafc;
    --sky-border: #e2e8f0;
    
    --sky-font: 'Lexend', 'Inter', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   FONT CHỮ CHUYÊN BIỆT CHO TRANG CHỦ / LANDING PAGE (INDEX ONLY)
   TUYỆT ĐỐI KHÔNG ĐỤNG ĐẾN PHÒNG LUYỆN HAY CÔNG THỨC TOÁN LATEX
   ========================================================================== */
.site-header, .site-header *,
.navbar, .navbar *,
.sky-hero, .sky-hero *:not(.katex):not(.katex *),
.sky-timeline-section, .sky-timeline-section *:not(code):not(pre),
.sky-online-section, .sky-online-section *:not(code):not(pre),
.sky-preview-section, .sky-preview-section *:not(code):not(pre),
.sky-courses-section, .sky-courses-section *:not(code):not(pre),
.sky-trial-section, .sky-trial-section *:not(.katex):not(.katex *),
.sky-social-channels-section, .sky-social-channels-section *:not(code):not(pre),
.sky-footer, .sky-footer * {
    font-family: var(--sky-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ĐẢM BẢO THÔNG BÁO TOAST NỔI TRÊN MỌI MÀN HÌNH (KỂ CẢ PHÒNG LUYỆN LAB) */
.toast {
    z-index: 200000000 !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4) !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    border-radius: 12px !important;
}

/* ---------- RESET CHO TRANG LANDING TOÀN MÀN HÌNH ---------- */
.container:not(.courses-mode):not(.docs-mode):not(.practice-mode):not(.schedule-mode):not(.login-mode):not(.register-mode):not(.admin-mode):not(.exams-mode) {
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 72px 0 0 0 !important;
}

.container:not(.courses-mode):not(.docs-mode):not(.practice-mode):not(.schedule-mode):not(.login-mode):not(.register-mode):not(.admin-mode):not(.exams-mode) > .sidebar,
.container:not(.courses-mode):not(.docs-mode):not(.practice-mode):not(.schedule-mode):not(.login-mode):not(.register-mode):not(.admin-mode):not(.exams-mode) > .right,
.container:not(.courses-mode):not(.docs-mode):not(.practice-mode):not(.schedule-mode):not(.login-mode):not(.register-mode):not(.admin-mode):not(.exams-mode) > .main > .tabs {
    display: none !important;
}

.container:not(.courses-mode):not(.docs-mode):not(.practice-mode):not(.schedule-mode):not(.login-mode):not(.register-mode):not(.admin-mode):not(.exams-mode) > .main {
    width: 100% !important;
    max-width: 100% !important;
}

/* ===================================================================
   THANH NAVBAR SKY EDU
   =================================================================== */
.navbar {
    height: 72px;
    padding: 0 24px !important;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.sky-brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.sky-brand-wrap .logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease, opacity 0.2s ease !important;
    transform: none !important;
}

.sky-brand-wrap:hover .logo {
    transform: scale(1.03) !important;
    opacity: 0.92;
}

.sky-brand-title {
    display: none !important;
}
}

.sky-brand-title .brand-sky {
    color: var(--sky-primary);
}

.sky-brand-title .brand-edu {
    color: var(--sky-navy);
    margin-left: 2px;
}

/* Menu điều hướng giữa: các nút chức năng dạng CHỮ */
.navbar-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    background: transparent !important;
    white-space: nowrap !important;
    flex: 1 1 auto !important;
    max-width: none !important;
    margin: 0 8px !important;
    font-size: 13.5px !important;
}

.navbar-center::-webkit-scrollbar {
    display: none;
}

.navbar-center span {
    flex-shrink: 0;
    font-size: 13.5px !important;
    font-weight: 600;
    color: var(--sky-text-body);
    padding: 6px 10px !important;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    user-select: none;
}

.navbar-center span:hover {
    color: var(--sky-primary);
    background: var(--sky-primary-light);
    transform: none;
}

.navbar-center span.active {
    color: var(--sky-primary);
    background: var(--sky-primary-light);
    border-bottom: 2px solid var(--sky-primary);
    border-radius: 8px 8px 0 0;
}

/* Nút bên phải */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
    align-items: center;
    gap: 12px;
}

.nav-access-pill {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: var(--sky-text-body);
    font-size: 13.5px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.nav-access-pill:hover {
    background: var(--sky-primary-light);
    border-color: var(--sky-primary-border);
    color: var(--sky-primary);
}

.btn-nav-login {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: var(--sky-text-body);
    font-size: 14px;
    font-weight: 600;
    padding: 7px 18px;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.15s ease;
}

.btn-nav-login:hover {
    color: var(--sky-primary);
    border-color: var(--sky-primary);
    background: var(--sky-primary-light);
}

.btn-nav-register {
    background: var(--sky-primary);
    border: 1px solid var(--sky-primary);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 7px 20px;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.15s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(30, 91, 216, 0.2);
}

.btn-nav-register:hover {
    background: var(--sky-primary-hover);
    border-color: var(--sky-primary-hover);
    box-shadow: 0 4px 12px rgba(30, 91, 216, 0.3);
}

/* ===================================================================
   SECTION 1: HERO SECTION VỚI ẢNH ANIME VÀ KHẢO THÍ TSA
   =================================================================== */
.sky-hero {
    position: relative;
    padding: 70px 40px 85px;
    background: #ffffff;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eef2f6;
}

.hero-subnav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 10px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.hero-subnav a {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--sky-text-muted);
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 20px;
    transition: all 0.15s ease;
}

.hero-subnav a:hover {
    color: var(--sky-primary);
    background: var(--sky-primary-light);
}

.sky-hero-content {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.sky-hero-title {
    font-family: var(--sky-font);
    font-size: 46px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.22;
    letter-spacing: -0.03em;
    margin: 0 0 18px 0;
    -webkit-font-smoothing: antialiased;
}

.sky-hero-sub {
    font-family: var(--sky-font);
    font-size: 17px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

.sky-hero-sub .highlight-quote {
    color: #1e5bd8;
    font-weight: 700;
    background: rgba(30, 91, 216, 0.08);
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid rgba(30, 91, 216, 0.18);
    display: inline-block;
    margin: 0 3px;
}

.sky-hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-hero-primary {
    background: var(--sky-primary);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 34px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(30, 91, 216, 0.3);
    transition: all 0.15s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-hero-primary:hover {
    background: var(--sky-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(30, 91, 216, 0.4);
}

.btn-hero-outline {
    background: #ffffff;
    color: var(--sky-primary);
    font-size: 15px;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 30px;
    border: 1.5px solid var(--sky-primary);
    cursor: pointer;
    transition: all 0.15s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-hero-outline:hover {
    background: var(--sky-primary-light);
}

/* Khung ảnh Anime Hero */
.sky-hero-art-box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-anime-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 3px solid #ffffff;
    box-shadow: 0 16px 40px rgba(30, 91, 216, 0.16), 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 520px;
}

.hero-anime-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(30, 91, 216, 0.22);
}

.hero-anime-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.hero-floating-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--sky-navy);
}

.hero-floating-badge .badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* ===================================================================
   SECTION 2: TIMELINE KỲ THI CHÍNH THỨC ĐHBKHN (NAVY THEME)
   =================================================================== */
.sky-timeline-section {
    background: radial-gradient(circle at 14% 18%, rgba(56, 189, 248, 0.26), transparent 42%),
                radial-gradient(circle at 86% 82%, rgba(99, 102, 241, 0.24), transparent 46%),
                radial-gradient(circle at 50% 50%, rgba(30, 64, 175, 0.22), transparent 58%),
                linear-gradient(135deg, #0d2757 0%, #153e7e 48%, #0d2552 100%) !important;
    padding: 70px 40px;
    color: #ffffff;
    border-top: 1px solid rgba(56, 189, 248, 0.28);
    border-bottom: 1px solid rgba(56, 189, 248, 0.20);
    position: relative;
    overflow: hidden;
}

.timeline-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.timeline-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 20px;
}

.timeline-kicker {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #38bdf8;
    text-transform: uppercase;
    margin-bottom: 6px;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.timeline-heading {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.timeline-countdown {
    display: flex;
    align-items: center;
    gap: 14px;
}

.countdown-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.countdown-boxes {
    display: flex;
    gap: 8px;
}

.cd-box {
    background: rgba(15, 33, 71, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 9px 12px;
    min-width: 52px;
    text-align: center;
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: cd-pulse 3s ease-in-out infinite alternate;
}

@keyframes cd-pulse {
    0% {
        border-color: rgba(56, 189, 248, 0.3);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 8px rgba(56, 189, 248, 0.15);
    }
    100% {
        border-color: rgba(56, 189, 248, 0.65);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 16px rgba(56, 189, 248, 0.35);
    }
}

.cd-num {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    display: block;
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.cd-txt {
    font-size: 10.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 4px;
    display: block;
    letter-spacing: 0.3px;
}

.timeline-cards-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.dot-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 26px 24px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.dot-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.dot-card.active-dot {
    border-color: #38bdf8;
    background: linear-gradient(145deg, rgba(14, 165, 233, 0.22) 0%, rgba(30, 64, 175, 0.25) 100%);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: active-card-float 4s ease-in-out infinite alternate;
}

@keyframes active-card-float {
    0% {
        transform: translateY(0);
        box-shadow: 0 8px 30px rgba(14, 165, 233, 0.22);
    }
    100% {
        transform: translateY(-5px);
        box-shadow: 0 14px 40px rgba(14, 165, 233, 0.35);
    }
}

.dot-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.dot-card-head h4 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.badge-yellow {
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    color: #1e1b4b;
    font-size: 11.5px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(234, 179, 8, 0.35);
    animation: badge-pulse 2s ease-in-out infinite alternate;
}

@keyframes badge-pulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(250, 204, 21, 0.4)); }
    100% { transform: scale(1.04); filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.7)); }
}

.badge-dim {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.dot-card-body p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.dot-card-body b {
    color: #ffffff;
    font-weight: 700;
}

.timeline-line-wrap {
    position: relative;
    margin: 34px 0 24px;
    padding: 0 15%;
}

.timeline-line {
    height: 3px;
    background: rgba(255, 255, 255, 0.22);
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 2px;
    overflow: hidden;
}

.timeline-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: -30%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #38bdf8, #ffffff, #38bdf8, transparent);
    animation: beam-flow 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes beam-flow {
    0% { left: -30%; }
    100% { left: 100%; }
}

.timeline-markers {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.t-marker {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1e3a6f;
    border: 2px solid rgba(255, 255, 255, 0.45);
    transition: transform 0.2s ease;
}

.t-marker.active-marker {
    background: #38bdf8;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.35);
    width: 20px;
    height: 20px;
    position: relative;
}

.t-marker.active-marker::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(56, 189, 248, 0.6);
    animation: marker-ripple 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes marker-ripple {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.timeline-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 26px;
    flex-wrap: wrap;
    gap: 16px;
}

.tl-legend {
    display: flex;
    gap: 16px;
    align-items: center;
}

.tl-credit {
    margin-left: auto;
    text-align: right;
    color: rgba(255, 255, 255, 0.72);
    font-style: italic;
    font-size: 12.5px;
    letter-spacing: 0.2px;
}

/* ===================================================================
   SECTION 3: THI THỬ TRỰC TUYẾN NGAY TẠI NHÀ
   =================================================================== */
.sky-online-section {
    padding: 80px 40px;
    background: #ffffff;
}

.online-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.sec-kicker {
    font-size: 13px;
    font-weight: 800;
    color: var(--sky-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.sec-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--sky-text-dark);
    margin: 0 0 16px 0;
    line-height: 1.25;
}

.sec-desc {
    font-size: 15px;
    color: var(--sky-text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

.online-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-item .check-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--sky-green-light);
    color: var(--sky-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item p {
    margin: 0;
    font-size: 14.5px;
    color: var(--sky-text-body);
    line-height: 1.5;
}

.feature-item b {
    color: var(--sky-text-dark);
}

.online-exam-card {
    background: #ffffff;
    border: 1px solid var(--sky-border);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.card-top-badges {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.badge-soft-blue {
    background: var(--sky-primary-light);
    color: var(--sky-primary);
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.badge-soft-green {
    background: var(--sky-green-light);
    color: var(--sky-green);
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.online-exam-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--sky-text-dark);
    margin: 0 0 20px 0;
}

.exam-info-list {
    border-top: 1px solid var(--sky-border);
    border-bottom: 1px solid var(--sky-border);
    padding: 16px 0;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
}

.info-row span {
    color: var(--sky-text-muted);
}

.info-row b {
    color: var(--sky-text-dark);
}

.info-row b.free-tag {
    color: var(--sky-green);
    font-weight: 800;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.link-prev-results {
    font-size: 13px;
    color: var(--sky-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.link-prev-results:hover {
    text-decoration: underline;
}

.btn-join-exam {
    background: var(--sky-primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 24px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-join-exam:hover {
    background: var(--sky-primary-hover);
    box-shadow: 0 4px 14px rgba(30, 91, 216, 0.3);
}

/* ===================================================================
   SECTION 4: TRẢI NGHIỆM GIAO DIỆN & PHÂN TÍCH (2 ẢNH THỰC TẾ CỦA USER)
   =================================================================== */
.sky-preview-section {
    padding: 80px 40px;
    background: var(--sky-bg-soft);
}

.preview-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.preview-container .sec-desc {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
}

.preview-windows-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.preview-window-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mac-window {
    background: #ffffff;
    border: 1px solid var(--sky-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    width: 100%;
    margin-bottom: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mac-window:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(30, 91, 216, 0.12);
}

.mac-bar {
    background: #f1f5f9;
    border-bottom: 1px solid var(--sky-border);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mac-dots {
    display: flex;
    gap: 6px;
}

.mac-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.mac-url {
    font-size: 11.5px;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 2px 14px;
    margin: 0 auto;
    font-weight: 500;
}

.mac-img-wrap {
    width: 100%;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mac-preview-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.window-caption {
    font-size: 13.5px;
    color: var(--sky-text-body);
    text-align: center;
    line-height: 1.5;
    max-width: 480px;
}

/* ===================================================================
   SECTION 5: CÁC KÊNH MẠNG XÃ HỘI CHÍNH THỨC CỦA SKYEDU (ZALO - FB - TIKTOK)
   =================================================================== */
.sky-social-channels-section {
    padding: 50px 24px 65px;
    background: #ffffff;
    position: relative;
    border-top: 1px solid #eef2f6;
}

.sky-social-channels-section .sky-section-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 24px;
}

.sky-social-channels-section .sky-section-kicker {
    display: inline-block;
    text-align: center;
}

.sky-social-channels-section .sky-section-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 8px auto 10px;
    text-align: center;
}

.sky-social-channels-section .sky-section-desc {
    font-size: 15px;
    margin: 0 auto;
    max-width: 680px;
    text-align: center;
    color: #64748b;
}

.sky-social-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 860px;
    margin: 20px auto 0;
}

.social-row-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 13px 20px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
}

.social-row-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(30, 91, 216, 0.10);
    border-color: #bfdbfe;
}

.social-row-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
}

.card-zalo .social-row-icon {
    background: #0068ff;
}
.s-icon-zalo {
    font-weight: 850;
    font-size: 13.5px;
    letter-spacing: 0.3px;
    font-family: Arial, sans-serif;
}

.card-fb .social-row-icon {
    background: #1877f2;
}

.card-tiktok .social-row-icon {
    background: #000000;
}

.social-row-info {
    flex: 1;
    min-width: 0;
}

.social-row-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 5px;
    margin-bottom: 2px;
}

.card-zalo .social-row-badge {
    background: #eff6ff;
    color: #0068ff;
}

.card-fb .social-row-badge {
    background: #f0f7ff;
    color: #1877f2;
}

.card-tiktok .social-row-badge {
    background: #f1f5f9;
    color: #0f172a;
}

.social-row-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px;
    line-height: 1.3;
}

.social-row-desc {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.social-row-action {
    flex-shrink: 0;
}

.btn-social-join {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13.5px;
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.card-zalo .btn-social-join {
    background: #eff6ff;
    color: #0068ff;
}
.card-zalo:hover .btn-social-join {
    background: #0068ff;
    color: #ffffff;
}

.card-fb .btn-social-join {
    background: #eff6ff;
    color: #1877f2;
}
.card-fb:hover .btn-social-join {
    background: #1877f2;
    color: #ffffff;
}

.card-tiktok .btn-social-join {
    background: #f1f5f9;
    color: #0f172a;
}
.card-tiktok:hover .btn-social-join {
    background: #000000;
    color: #ffffff;
}

/* THÔNG BÁO TÀI KHOẢN TRONG TRANG ĐĂNG NHẬP */
.auth-notice-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 20px;
    text-align: left;
}

.auth-notice-icon {
    font-size: 20px;
    line-height: 1;
    margin-top: 2px;
}

.auth-notice-title {
    display: block;
    font-size: 13.5px;
    font-weight: 750;
    color: #0f172a;
    margin-bottom: 3px;
}

.auth-notice-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* ĐẾM NGƯỢC KHÓA BẢO MẬT ĐĂNG NHẬP */
#login-error.shake-timer {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13.5px;
    line-height: 1.5;
    margin: 12px 0;
    text-align: center;
}

@media (max-width: 680px) {
    .social-row-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
        gap: 14px;
    }
    .social-row-action {
        width: 100%;
    }
    .btn-social-join {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================================================
   SECTION 6: KHO ĐỀ ÔN LUYỆN CHUYÊN SÂU
   =================================================================== */
.sky-courses-section {
    padding: 80px 40px;
    background: #ffffff;
}

.courses-container {
    max-width: 1280px;
    margin: 0 auto;
}

.courses-container .sec-desc {
    max-width: 800px;
    margin-bottom: 40px;
}

.courses-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.course-card-item {
    background: #ffffff;
    border: 1px solid var(--sky-border);
    border-radius: 14px;
    padding: 22px 20px 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

.course-card-item:hover {
    transform: translateY(-3px);
    border-color: var(--sky-primary-border);
    box-shadow: 0 8px 24px rgba(30, 91, 216, 0.08);
}

.course-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
    margin-bottom: 14px;
}

.badge-vip-orange {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #ffedd5;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
}

.card-meta-parts {
    color: var(--sky-text-muted);
    font-weight: 500;
}

.course-card-item h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--sky-text-dark);
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-card-item p {
    font-size: 13px;
    color: var(--sky-text-muted);
    line-height: 1.5;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.btn-card-solid {
    background: var(--sky-primary);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    width: 100%;
}

.btn-card-solid:hover {
    background: var(--sky-primary-hover);
}

.btn-card-outline {
    background: #ffffff;
    color: var(--sky-text-body);
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    width: 100%;
}

.btn-card-outline:hover {
    border-color: var(--sky-primary);
    color: var(--sky-primary);
    background: var(--sky-primary-light);
}

/* ===================================================================
   SECTION 7: SITE FOOTER (NAVY THEME)
   =================================================================== */
.sky-footer {
    background: var(--sky-navy);
    color: #ffffff;
    padding: 60px 40px 24px;
    border-top: 1px solid #132b5e;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 0 0 16px 0;
    color: #ffffff;
    text-transform: uppercase;
}

.footer-brand {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 6px;
    color: #ffffff;
}

.footer-brand .brand-sky {
    color: var(--sky-cyan);
}

.footer-brand-sub {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #e2e8f0;
}

.footer-slogan {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 12px;
}

.footer-about-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0;
    max-width: 420px;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a,
.footer-links-list p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13.5px;
    text-decoration: none;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.15s ease;
}

.footer-links-list a:hover {
    color: var(--sky-cyan);
    text-decoration: underline;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================================================
   RESPONSIVE DESIGN
   =================================================================== */
@media (max-width: 1024px) {
    .sky-hero-content,
    .online-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .timeline-cards-track,
    .courses-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 16px;
    }
    .navbar-center {
        display: none;
    }
    .sky-hero {
        padding: 40px 16px;
    }
    .sky-hero-title {
        font-size: 34px;
    }
    .timeline-cards-track,
    .preview-windows-grid,
    .courses-cards-grid {
        grid-template-columns: 1fr;
    }
    .sky-timeline-section,
    .sky-online-section,
    .sky-preview-section,
    .sky-social-channels-section,
    .sky-courses-section,
    .sky-footer {
        padding: 50px 16px;
    }
}


/* ===================================================================
   CÁC KÝ TỰ TOÁN HỌC TRANG TRÍ CHUẨN LATEX (MATH DECORATIONS)
   =================================================================== */
.math-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.math-sym {
    position: absolute;
    font-family: "KaTeX_Math", "Cambria Math", "Times New Roman", serif;
    font-style: italic;
    font-weight: 600;
    color: #1e5bd8;
    opacity: 0.13;
    user-select: none;
    letter-spacing: 0.5px;
    filter: drop-shadow(0 1px 2px rgba(30, 91, 216, 0.08));
    transition: opacity 0.3s ease;
}

/* Các vị trí vùng trắng thoáng quanh Hero - ĐẶT Ở BIÊN NGOÀI, TUYỆT ĐỐI KHÔNG ĐÈ LÊN TIÊU ĐỀ HOẶC NỘI DUNG CHỮ */
.hero-sym-1  { top: 2%;  left: 3%;  font-size: 20px; transform: rotate(-5deg); }
.hero-sym-2  { top: 2%;  left: 48%; font-size: 19px; transform: rotate(3deg); }
.hero-sym-3  { top: 2%;  right: 6%; font-size: 19px; transform: rotate(5deg); }
.hero-sym-4  { top: 24%; right: 1.5%; font-size: 19px; transform: rotate(-4deg); }
.hero-sym-5  { top: 52%; right: 1.5%; font-size: 18px; transform: rotate(4deg); }
.hero-sym-6  { top: 78%; right: 2%; font-size: 19px; transform: rotate(-5deg); }
.hero-sym-7  { bottom: 3%; left: 4%;  font-size: 20px; transform: rotate(4deg); }
.hero-sym-8  { bottom: 3%; left: 46%; font-size: 19px; transform: rotate(-3deg); }
.hero-sym-9  { bottom: 3%; right: 6%; font-size: 19px; transform: rotate(5deg); }
.hero-sym-10 { top: 92%; left: 24%; font-size: 18px; transform: rotate(-4deg); }

/* Nút Phòng luyện thi nổi bật trên Navbar */
.nav-highlight-room {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
    color: var(--sky-primary) !important;
    border: 1px solid var(--sky-primary-border) !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(30, 91, 216, 0.12) !important;
}

.nav-highlight-room:hover {
    background: var(--sky-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(30, 91, 216, 0.3) !important;
}

/* ===================================================================
   CAROUSEL MARQUEE TRƯỢT NGANG CHO KHO ĐỀ KHÓA HỌC (TỐI ƯU HIỆU NĂNG 60FPS)
   =================================================================== */
.courses-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 16px 0 28px;
}
.courses-marquee-container::before,
.courses-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}
.courses-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #f8fafc, rgba(248, 250, 252, 0));
}
.courses-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc, rgba(248, 250, 252, 0));
}

.courses-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marquee-flow 36s linear infinite;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.courses-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-flow {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.courses-marquee-track .course-card-item {
    width: 320px;
    flex-shrink: 0;
}

/* ===== Đảm bảo phòng luyện thi SkyEdu Lab mở chuẩn, đè lên mọi lớp giao diện ===== */
#lab {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    background: #f5f7fb !important;
    display: none;
    flex-direction: row !important;
}

#lab.open {
    display: flex !important;
    flex-direction: row !important;
}

/* Đảm bảo màn hình chuẩn bị làm bài #pe nổi lên trên cùng */
.pe-wrap {
    z-index: 10000000 !important;
}

/* ===== KHI VÀO LÀM ĐỀ: ẨN HOÀN TOÀN TẤT CẢ THANH TASKBAR / NAVBAR / SIDEBAR CỦA WEB ===== */
body.exam-active .navbar,
body:has(#l-exam.on) .navbar,
#lab.in-exam ~ .navbar,
body.exam-active .sk-quick-contact,
body:has(#l-exam.on) .sk-quick-contact,
body.exam-active #to-top,
body:has(#l-exam.on) #to-top,
body.exam-active .l-side,
body:has(#l-exam.on) .l-side,
#lab.in-exam .l-side,
body.exam-active .l-bar,
body:has(#l-exam.on) .l-bar,
#lab.in-exam .l-bar {
    display: none !important;
}

/* Giao diện làm bài #l-exam chiếm toàn bộ 100% màn hình, không bị hở bất kỳ thanh nào */
#l-exam.on {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999999 !important;
    background: #ffffff !important;
    display: grid !important;
    grid-template-columns: 1fr 340px !important;
    grid-template-rows: 52px 1fr 70px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Thanh chuyển câu trong phòng thi (#l-exam): lồi lồi lên sang xịn như Hình 7 */
#l-exam.on .x-nav {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    padding: 0 24px !important;
    height: 70px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border-top: 1px solid #eef2f7 !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04) !important;
    z-index: 10 !important;
    gap: 12px !important;
}

#l-exam.on #x-prev {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 8px !important;
    background: #8da7cf !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(123, 151, 199, 0.40) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#l-exam.on #x-prev svg {
    width: 20px !important;
    height: 20px !important;
    stroke: #ffffff !important;
    stroke-width: 2.5 !important;
    fill: none !important;
    display: inline-block !important;
}

#l-exam.on .x-nav.x-load #x-prev .x-spin.on + svg {
    display: none !important;
}

#l-exam.on #x-prev:hover:not(:disabled) {
    background: #7392c2 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(123, 151, 199, 0.50) !important;
}

#l-exam.on #x-prev:active:not(:disabled) {
    transform: scale(0.96) !important;
}

#l-exam.on #x-next {
    height: 44px !important;
    padding: 0 22px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 8px !important;
    background: #0033a0 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 14px rgba(0, 51, 160, 0.35) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
}

#l-exam.on #x-next svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #ffffff !important;
    stroke-width: 2.2 !important;
}

#l-exam.on #x-next:hover:not(:disabled) {
    background: #0843bc !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 51, 160, 0.48) !important;
}

#l-exam.on #x-next:active:not(:disabled) {
    transform: scale(0.96) !important;
}

#l-exam.on #x-prev:disabled,
#l-exam.on #x-next:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

#l-exam.on .x-nav span {
    margin-left: 18px !important;
    font-size: 14px !important;
    color: #64748b !important;
    white-space: nowrap !important;
}

#l-exam.on .x-nav b {
    margin-left: 10px !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #0d9488 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* Nút Toàn màn hình trong phòng thi */
#x-fs {
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid #dbe3f3 !important;
    background: #ffffff !important;
    color: #1e5bd8 !important;
    font-weight: 600;
}
#x-fs:hover {
    background: #eff6ff !important;
    border-color: #1e5bd8 !important;
}

/* ===== NÚT PHÒNG LUYỆN THI TRÊN THANH ĐIỀU HƯỚNG GÓC PHẢI ===== */
.btn-nav-room {
    background: linear-gradient(135deg, #1e5bd8 0%, #1546b8 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 7px 16px !important;
    border-radius: 999px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 8px rgba(30, 91, 216, 0.25) !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    line-height: 1.4 !important;
}
.btn-nav-room:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(30, 91, 216, 0.35) !important;
    filter: brightness(1.08) !important;
}
.btn-nav-room:active {
    transform: translateY(0) !important;
}

/* ===== SECTION 4: GIAO DIỆN MARQUEE TRƯỢT NGANG LIÊN TỤC ===== */
.sky-preview-section {
    padding: 80px 0 90px;
    background: #f8fafc;
    overflow: hidden;
    position: relative;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
}
.preview-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}
.preview-marquee-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    margin-top: 44px;
    padding: 16px 0;
}
.preview-marquee-container::before,
.preview-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.preview-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #f8fafc, rgba(248, 250, 252, 0));
}
.preview-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc, rgba(248, 250, 252, 0));
}
.preview-marquee-track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: preview-marquee-flow 45s linear infinite;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}
.preview-marquee-container:hover .preview-marquee-track {
    animation-play-state: paused;
}
@keyframes preview-marquee-flow {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}
.preview-window-card {
    width: 420px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
}
.preview-window-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(30, 91, 216, 0.16);
    border-color: #93c5fd;
}
.mac-window {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}
.mac-bar {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: #edf2f7;
    border-bottom: 1px solid #e2e8f0;
}
.mac-dots {
    display: flex;
    gap: 6px;
}
.mac-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }
.mac-url {
    margin-left: 12px;
    font-size: 11.5px;
    color: #64748b;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    background: #ffffff;
    padding: 2px 10px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
}
.mac-img-wrap {
    height: 245px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mac-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}
.preview-window-card:hover .mac-preview-img {
    transform: scale(1.02);
}
.preview-card-caption {
    padding: 18px 20px 22px;
    background: #ffffff;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.preview-card-caption h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}
.preview-card-caption p {
    margin: 0;
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
}

/* ===== SỬA LỖI NỘP BÀI: ĐẢM BẢO POPUP XÁC NHẬN NỘP BÀI (#ns) VÀ MÀN KẾT QUẢ (#l-res) NẰM TRÊN CÙNG ===== */
.ns-wrap {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100000005 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(5px) !important;
    padding: 20px !important;
}
.ns-wrap.on {
    display: flex !important;
    z-index: 100000005 !important;
}
.ns-box {
    position: relative !important;
    z-index: 100000006 !important;
    width: 100% !important;
    max-width: 400px !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 36px 30px 30px !important;
    text-align: center !important;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35) !important;
    border: 1px solid #e2e8f0 !important;
}
.ns-btns {
    display: flex !important;
    gap: 14px !important;
}
.ns-btns button {
    flex: 1 !important;
    padding: 14px 10px !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: transform 0.15s ease, filter 0.15s ease !important;
}
.ns-btns button:hover {
    transform: translateY(-2px) !important;
}
.ns-lam {
    background: #e2e8f0 !important;
    color: #334155 !important;
}
.ns-nop {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35) !important;
}

/* Màn kết quả sau khi nộp bài (#l-res) */
#l-res {
    z-index: 100000000 !important;
}
#l-res.on {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100000000 !important;
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow-y: auto !important;
}

/* Hộp cảnh báo vi phạm quy chế (#l-cb) */
#l-cb.on {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100000010 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ===== SECTION 3: 3 GÓI KHÓA HỌC TSA (TSA01 - COMBO-TSA03 - TSA02) ===== */
.sky-online-section {
    padding: 85px 0 95px !important;
    background: #ffffff !important;
    position: relative;
    border-top: 1px solid #eef2f6 !important;
    border-bottom: 1px solid #eef2f6 !important;
}
.sky-online-section .online-container {
    max-width: 1260px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    text-align: center !important;
    display: block !important;
}
.pkg-commitments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 28px;
    margin: 28px auto 44px;
    max-width: 1000px;
}
.pkg-commit-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.commit-check {
    width: 20px;
    height: 20px;
    background: #22c55e;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}
.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    align-items: stretch;
    margin: 0 auto;
}
@media (max-width: 1180px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 780px;
        gap: 24px;
    }
}
@media (max-width: 680px) {
    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}
.pkg-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    padding: 34px 26px 30px;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 24px rgba(30, 91, 216, 0.06);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.pkg-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.16);
    border-color: #3b82f6;
}
/* Khối ở giữa: COMBO-TSA03 nổi bật nhất - Theme Royal Blue & Sky */
.pkg-card.highlight {
    background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
    border: 3px solid #2563eb !important;
    box-shadow: 0 16px 45px rgba(37, 99, 235, 0.22) !important;
    transform: scale(1.04);
    z-index: 2;
}
.pkg-card.highlight:hover {
    transform: scale(1.04) translateY(-8px);
    box-shadow: 0 24px 55px rgba(37, 99, 235, 0.32) !important;
}
.pkg-popular-tag {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.pkg-badge-pill {
    display: inline-block;
    align-self: center;
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
    font-size: 14px;
    font-weight: 800;
    padding: 5px 18px;
    border-radius: 999px;
    letter-spacing: 0.6px;
    margin-bottom: 16px;
}
.pill-combo {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
}
.pkg-price-wrap {
    margin-bottom: 14px;
}
.pkg-price {
    font-size: 38px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -1px;
}
.pkg-price small {
    font-size: 20px;
    font-weight: 700;
    color: #64748b;
    vertical-align: top;
    margin-left: 2px;
}
.pkg-price-short {
    display: inline-block;
    margin-left: 6px;
    font-size: 17px;
    font-weight: 800;
    color: #2563eb;
}
.pkg-title {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 20px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.35;
}
.pkg-features {
    text-align: left;
    margin-bottom: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pkg-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #334155;
    line-height: 1.45;
}
.f-icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}
.btn-pkg-action {
    background: #ffffff;
    color: #1e40af;
    border: 2px solid #2563eb;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.1);
}
.btn-pkg-action:hover {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
    transform: translateY(-2px);
}
.btn-combo-glow {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38) !important;
}
.btn-combo-glow:hover {
    filter: brightness(1.08);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.48) !important;
    transform: translateY(-2px) !important;
}
.pkg-hotline-bar {
    margin-top: 48px;
    background: #f0f7ff;
    border: 2px dashed #3b82f6;
    border-radius: 16px;
    padding: 16px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}
.hotline-icon {
    font-size: 22px;
}
.hotline-text {
    font-size: 17px;
    color: #0f172a;
}
.hotline-text b {
    color: #1d4ed8;
    font-size: 20px;
    letter-spacing: 0.5px;
}
.hotline-sub {
    font-size: 13.5px;
    color: #64748b;
}

/* Footer contact links & SVG icons styling */
.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1 !important;
    text-decoration: none;
    font-size: 14.5px;
    padding: 6px 0;
    transition: color 0.2s ease, transform 0.2s ease;
}
.footer-contact-link:hover {
    color: #ffffff !important;
    transform: translateX(4px);
}
.f-ico-wrap {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.footer-contact-link:hover .f-ico-wrap {
    transform: scale(1.12);
}
.ico-gmail {
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.35);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}
.ico-fb {
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(59, 130, 246, 0.35);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}
.ico-zalo {
    background: rgba(14, 165, 233, 0.18);
    border: 1px solid rgba(14, 165, 233, 0.35);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.2);
}

/* Splash transition animation overlay */
.spl-wrap {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100000008 !important;
    background: #ffffff !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}
.spl-wrap.on {
    display: flex !important;
    z-index: 100000008 !important;
}

/* Review detail screen (#rv) above result screen */
.rv-wrap {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100000006 !important;
    background: #f4f4f6 !important;
}
.rv-wrap.on {
    display: flex !important;
    z-index: 100000006 !important;
}

/* Certificate modal (#dialog) above result screen */
#dialog.open {
    display: flex !important;
    z-index: 100000007 !important;
}
#dialog.open .modal-box {
    z-index: 100000008 !important;
}




/* ========================================================
   6. MỤC TRẢI NGHIỆM THỬ PHÒNG LUYỆN (ĐỀ TOÁN 19/11) - GỌN GÀNG, SANG TRỌNG
   ======================================================== */
.sky-trial-section {
    padding: 70px 0 80px;
    background: #f8fafc !important;
    border-top: 1px solid #eef2f6 !important;
    border-bottom: 1px solid #eef2f6 !important;
    position: relative;
    overflow: hidden;
}

.trial-simple-card {
    max-width: 820px;
    margin: 0 auto;
    background: #ffffff;
    border: 1.5px solid #dbeafe;
    border-radius: 20px;
    padding: 44px 32px;
    text-align: center;
    box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.08);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trial-simple-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px -10px rgba(30, 91, 216, 0.12);
}

.trial-simple-kicker {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #1e5bd8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.trial-simple-title {
    font-size: 30px;
    font-weight: 800;
    color: #0a1f5c;
    letter-spacing: -0.5px;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.trial-simple-desc {
    font-size: 15px;
    color: #475569;
    max-width: 580px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.trial-simple-action {
    display: flex;
    justify-content: center;
}

.btn-trial-launch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 38px;
    height: 52px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #0033a0 0%, #1e5bd8 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 51, 160, 0.32);
    transition: all 0.25s ease;
}

.btn-trial-launch:hover {
    background: linear-gradient(135deg, #0a45c4 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 51, 160, 0.42);
}

.btn-trial-launch:active {
    transform: translateY(0);
}

/* Chế độ Direct Trial trong #lab: Ẩn sạch lobby và sidebar */
#lab.in-trial-direct .l-side,
#lab.in-trial-direct .l-bar,
#lab.in-trial-direct .l-views,
#lab.in-trial-direct #lv-home,
#lab.in-trial-direct #lv-goi,
#lab.in-trial-direct #lv-de {
    display: none !important;
}

#lab.in-trial-direct .l-wrap {
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    position: absolute !important;
    inset: 0 !important;
}

#lab.in-trial-direct #l-exam {
    z-index: 9999 !important;
}

#lab.in-trial-direct #l-res {
    z-index: 9999 !important;
}

.cta-buttons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.btn-cta-outline {
    height: 48px;
    padding: 0 26px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}

@media (max-width: 900px) {
    .trial-card {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
    }
    .trial-meta-grid {
        grid-template-columns: 1fr;
    }
    .btn-trial-launch {
        max-width: 100%;
    }
}

/* ===================================================================
   TRANG KHO TÀI LIỆU TỰ HỌC (CHUẨN GIAO DIỆN HÌNH ẢNH BEDU)
   =================================================================== */
.docs-page {
    padding: 24px 20px 80px;
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    font-family: var(--sky-font);
}

.docs-page .crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

.docs-page .crumb-home {
    cursor: pointer;
    color: #1e5bd8;
    font-weight: 600;
}

.docs-page .crumb-home:hover {
    text-decoration: underline;
}

.docs-header-bar {
    margin-bottom: 24px;
}

.docs-page-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.docs-page-title .docs-icon {
    font-size: 26px;
}

.docs-page-subtitle {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

.docs-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.docs-search-box {
    flex: 1;
    min-width: 280px;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.docs-search-box:focus-within {
    border-color: #1e5bd8;
    box-shadow: 0 0 0 3px rgba(30, 91, 216, 0.12);
}

.docs-search-icon {
    flex-shrink: 0;
    margin-right: 10px;
}

.docs-search-input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    padding: 13px 0;
    font-size: 14.5px;
    font-family: var(--sky-font);
    color: #0f172a;
}

.docs-count-badge {
    padding: 10px 18px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 14px;
    border-radius: 12px;
    border: 1px solid #bfdbfe;
    white-space: nowrap;
}

.docs-btn-add {
    padding: 11px 20px;
    background: #1e5bd8;
    color: #ffffff;
    border: none;
    font-weight: 700;
    font-size: 14px;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

.docs-btn-add:hover {
    background: #1646ad;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 91, 216, 0.25);
}

.docs-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 26px;
}

.doc-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    position: relative;
}

.doc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(30, 91, 216, 0.16);
    border-color: #cbd5e1;
}

.doc-card-banner {
    background: linear-gradient(135deg, #1e5bd8 0%, #0284c7 100%);
    color: #ffffff;
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
}

.doc-card-banner::after {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
    pointer-events: none;
}

.doc-banner-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.doc-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(4px);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.doc-banner-icon {
    opacity: 0.9;
}

.doc-banner-filename {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.doc-banner-filesize {
    font-size: 13px;
    opacity: 0.88;
}

.doc-card-body {
    padding: 22px 24px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.doc-card-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.doc-card-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 16px;
    flex: 1;
}

.doc-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed #f1f5f9;
}

.doc-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.doc-teacher {
    color: #059669;
}

.doc-goals {
    color: #7c3aed;
}

.doc-card-footer {
    padding: 16px 24px 20px;
    background: #fafbfc;
    border-top: 1px solid #f1f5f9;
}

.doc-info-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #1e5bd8;
    text-decoration: none;
    margin-bottom: 12px;
}

.doc-info-link:hover {
    text-decoration: underline;
}

.doc-action-buttons {
    display: flex;
    gap: 10px;
}

.doc-btn-view {
    flex: 1;
    padding: 10px 14px;
    background: #1e5bd8;
    color: #ffffff;
    border: none;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.doc-btn-view:hover {
    background: #1646ad;
}

.doc-btn-download {
    flex: 1;
    padding: 10px 14px;
    background: #ffffff;
    color: #1e5bd8;
    border: 1.5px solid #1e5bd8;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.doc-btn-download:hover {
    background: #eff6ff;
}

.doc-admin-tools {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    z-index: 5;
}

.doc-admin-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: transform 0.15s, background-color 0.15s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.doc-admin-btn:hover {
    transform: scale(1.1);
    background: #ffffff;
}

@media (max-width: 768px) {
    .docs-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   BAO MAT HE THONG & CHONG SAO CHEP / CHONG KIEM TRA MA NGUON (ANTI-DEVTOOLS)
   ========================================================================= */

/* Chong boi den, sao chep van ban trong phong xem lai dap an va phong thi */
#rv, .rv-wrap, .rv-wrap *,
#hsa-review-view, #hsa-review-view *,
#lab, #lab *, #l-exam, #l-exam *,
#hsa-exam, #hsa-exam *,
body.in-exam, body.in-exam * {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}

/* Lop chan bao ve khi phat hien Developer Tools mo */
#sky-shield-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483647 !important;
    background: rgba(15, 23, 42, 0.92) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: var(--sky-font, -apple-system, BlinkMacSystemFont, sans-serif);
}

.sky-shield-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 36px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(239, 68, 68, 0.25);
    animation: shieldPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes shieldPop {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.sky-shield-icon {
    font-size: 60px;
    margin-bottom: 14px;
    line-height: 1;
}

.sky-shield-title {
    font-size: 22px;
    font-weight: 800;
    color: #ef4444;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.sky-shield-desc {
    font-size: 15px;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 16px;
}

.sky-shield-alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 13.5px;
    font-weight: 600;
    padding: 12px 18px;
    border-radius: 12px;
    margin-bottom: 22px;
    line-height: 1.5;
}

.sky-shield-btn {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.sky-shield-blur {
    filter: blur(28px) !important;
    pointer-events: none !important;
    user-select: none !important;
}
