/* ==========================================================================
   PUBLIC & ROOT VIEWS STYLESHEET (Views)
   Centralized module stylesheet linked to SchoolManager Design System tokens
   ========================================================================== */

/* --- Source: Views\Account\JudgeLogin.cshtml --- */
body.sm-judge-login-body {
            min-height: 100vh;
            background: radial-gradient(circle at 15% 20%, #0f296b 0%, #091945 55%, #050e29 100%);
            color: #f8fafc;
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px 12px;
        }
        .judge-portal-card {
            max-width: 920px;
            width: 100%;
            background: rgba(255, 255, 255, 0.97);
            color: #1e293b;
            border-radius: 22px;
            box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.25);
        }
        .judge-portal-header {
            background: var(--sm-hero-gradient);
            color: #ffffff;
            padding: 24px 28px;
            border-bottom: 3px solid #ffd43b;
        }
        .judge-pill {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 212, 59, 0.18);
            border: 1px solid #ffd43b;
            color: #ffd43b;
            font-weight: 700;
            font-size: 0.78rem;
            padding: 5px 14px;
            border-radius: 30px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .role-card-btn {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            text-align: left;
            padding: 14px 18px;
            border-radius: 14px;
            border: 1.5px solid var(--sm-primary-light);
            background: #f8fbff;
            transition: all 0.2s ease;
            margin-bottom: 12px;
            cursor: pointer;
        }
        .role-card-btn:hover {
            transform: translateY(-2px);
            border-color: var(--sm-primary);
            background: var(--sm-primary-light);
            box-shadow: 0 8px 22px rgba(37, 99, 235, 0.14);
        }
        .role-icon-box {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            flex-shrink: 0;
        }
        .quick-module-link {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border-radius: 10px;
            background: #f1f5f9;
            border: 1px solid var(--sm-border-color);
            color: #1e293b;
            text-decoration: none;
            font-size: 0.84rem;
            font-weight: 600;
            transition: all 0.15s ease;
        }
        .quick-module-link:hover {
            background: var(--sm-primary-light);
            border-color: #3b82f6;
            color: var(--sm-primary-dark);
            transform: translateY(-1px);
        }

/* --- Source: Views\Account\JudgeMonitor.cshtml --- */
body.sm-judge-monitor-body {
            background: #f1f5f9;
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            color: #0f172a;
        }
        .monitor-topbar {
            background: var(--sm-hero-gradient);
            color: #fff;
            padding: 1rem 1.25rem;
            border-bottom: 3px solid #38bdf8;
        }
        .kpi-card {
            border: 0;
            border-radius: 0.9rem;
            box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
            height: 100%;
        }
        .pulse-dot {
            display: inline-block;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #22c55e;
            box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
            animation: pulseGreen 1.8s infinite;
        }
        @keyframes pulseGreen {
            0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
            70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
            100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
        }
        .feature-row {
            border-bottom: 1px dashed var(--sm-border-color);
            padding: 0.55rem 0;
        }
        .feature-row:last-child {
            border-bottom: 0;
        }
        .timeline-item {
            border-left: 3px solid #cbd5e1;
            padding-left: 0.9rem;
            padding-bottom: 0.85rem;
            position: relative;
        }
        .timeline-item::before {
            content: "";
            position: absolute;
            left: -6px;
            top: 4px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--sm-primary);
        }

/* --- Source: Views\Account\Login.cshtml --- */
.container-login {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
        }

/* --- Source: Views\Config\Index.cshtml --- */
/* ==========================================================================
       SchoolManager Config Hub - Modern Bootstrap 5 & Unicode Design System
       ========================================================================== */
    :root {
        --cfg-primary: var(--sm-primary);
        --cfg-primary-dark: #083D94;
        --cfg-primary-light: var(--sm-primary-light);
        --cfg-surface: #FFFFFF;
        --cfg-border: var(--sm-border-color);
        --cfg-muted: var(--sm-text-muted);
        --cfg-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        --cfg-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    }

    .cfg-container {
        font-family: var(--cfg-font-sans);
        color: #1E293B;
    }

    /* Top Hero Header */
    .cfg-hero-card {
        background: linear-gradient(135deg, var(--sm-primary) 0%, var(--sm-primary) 60%, var(--sm-primary-dark) 100%);
        border-radius: 1rem;
        color: #FFFFFF;
        box-shadow: 0 10px 25px -5px rgba(15, 82, 186, 0.25);
        border: none;
        overflow: hidden;
        position: relative;
    }

    .cfg-hero-card::after {
        content: "";
        position: absolute;
        top: -40%;
        right: -10%;
        width: 320px;
        height: 320px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
        border-radius: 50%;
        pointer-events: none;
    }

    .cfg-hero-icon {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.18);
        backdrop-filter: blur(8px);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        color: #FFFFFF;
        flex-shrink: 0;
    }

    /* Modern Tab Navigation */
    .cfg-tab-nav {
        background: var(--cfg-surface);
        padding: 0.5rem;
        border-radius: 0.875rem;
        border: 1px solid var(--cfg-border);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
        display: flex;
        gap: 0.35rem;
        flex-wrap: wrap;
    }

    .cfg-tab-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.55rem;
        padding: 0.65rem 1rem;
        border-radius: 0.625rem;
        font-weight: 600;
        font-size: 0.88rem;
        color: #475569;
        text-decoration: none;
        background: transparent;
        border: 1px solid transparent;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
    }

    .cfg-tab-btn:hover {
        background: #F1F5F9;
        color: #0F172A;
    }

    .cfg-tab-btn.active {
        background: var(--sm-primary);
        color: #FFFFFF !important;
        box-shadow: 0 4px 12px rgba(15, 82, 186, 0.28);
    }

    .cfg-tab-btn.active .badge-tab-count {
        background: rgba(255, 255, 255, 0.25) !important;
        color: #FFFFFF !important;
    }

    .badge-tab-count {
        font-size: 0.72rem;
        padding: 0.2rem 0.5rem;
        border-radius: 1rem;
        background: var(--sm-border-color);
        color: #475569;
        font-weight: 700;
    }

    /* Main Content Card */
    .cfg-card {
        background: var(--cfg-surface);
        border: 1px solid var(--cfg-border);
        border-radius: 1rem;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    }

    .cfg-card-header {
        background: transparent;
        border-bottom: 1px solid var(--cfg-border);
        padding: 1.15rem 1.35rem;
    }

    /* Filter Chips */
    .cfg-chip-group {
        display: flex;
        gap: 0.35rem;
        flex-wrap: wrap;
    }

    .cfg-chip {
        border-radius: 2rem;
        padding: 0.35rem 0.85rem;
        font-size: 0.8rem;
        font-weight: 600;
        border: 1px solid #CBD5E1;
        background: #FFFFFF;
        color: #475569;
        cursor: pointer;
        transition: all 0.15s ease;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
    }

    .cfg-chip:hover {
        background: #F8FAFC;
        border-color: #94A3B8;
        color: #0F172A;
    }

    .cfg-chip.active {
        background: var(--sm-primary);
        border-color: var(--sm-primary);
        color: #FFFFFF;
        box-shadow: 0 2px 6px rgba(15, 82, 186, 0.25);
    }

    .cfg-chip.active .cfg-chip-badge {
        background: rgba(255, 255, 255, 0.28);
        color: #FFFFFF;
    }

    .cfg-chip-badge {
        font-size: 0.7rem;
        padding: 0.1rem 0.4rem;
        border-radius: 1rem;
        background: #F1F5F9;
        color: var(--sm-text-muted);
    }

    /* Modern Table Styling */
    .cfg-table {
        margin-bottom: 0;
        font-size: 0.875rem;
    }

    .cfg-table th {
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        font-weight: 700;
        color: #475569;
        background: #F8FAFC;
        border-bottom: 2px solid var(--sm-border-color);
        padding: 0.85rem 1rem;
        white-space: nowrap;
    }

    .cfg-table td {
        padding: 0.85rem 1rem;
        vertical-align: middle;
        border-color: #F1F5F9;
    }

    .cfg-table tbody tr:hover {
        background-color: #F8FAFC;
    }

    .cfg-key-badge {
        font-family: var(--cfg-font-mono);
        font-size: 0.82rem;
        font-weight: 700;
        color: var(--sm-primary);
        background: var(--sm-primary-light);
        border: 1px solid var(--sm-primary-light);
        padding: 0.25rem 0.55rem;
        border-radius: 0.375rem;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        word-break: break-all;
    }

    .cfg-key-badge:hover {
        background: var(--sm-primary-light);
    }

    .cfg-val-box {
        font-family: var(--cfg-font-mono);
        font-size: 0.81rem;
        background: #F8FAFC;
        border: 1px solid var(--sm-border-color);
        border-radius: 0.375rem;
        padding: 0.35rem 0.65rem;
        color: #1E293B;
        word-break: break-word;
        max-width: 480px;
        display: inline-block;
    }

    .cfg-val-masked {
        letter-spacing: 0.25em;
        color: #94A3B8;
        font-weight: bold;
    }

    .cfg-action-btn {
        width: 32px;
        height: 32px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 0.45rem;
        font-size: 0.82rem;
        transition: all 0.15s ease;
    }

    /* Modal Tweaks */
    .cfg-modal-content {
        border-radius: 1rem;
        border: 1px solid var(--cfg-border);
        box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }

    .cfg-modal-header {
        background: linear-gradient(135deg, var(--sm-primary) 0%, var(--sm-primary-dark) 100%);
        color: #FFFFFF;
        padding: 1.15rem 1.5rem;
        border-bottom: none;
    }

    .cfg-code-preview {
        font-family: var(--cfg-font-mono);
        background: #0F172A;
        color: #38BDF8;
        padding: 1rem;
        border-radius: 0.5rem;
        max-height: 400px;
        overflow-y: auto;
        white-space: pre-wrap;
        word-break: break-all;
    }

    /* Search input styling */
    .cfg-search-group {
        border-radius: 0.625rem;
        overflow: hidden;
        border: 1px solid #CBD5E1;
        background: #FFFFFF;
        transition: all 0.2s ease;
    }

    .cfg-search-group:focus-within {
        border-color: var(--sm-primary);
        box-shadow: 0 0 0 3px rgba(15, 82, 186, 0.15);
    }

    .cfg-search-group .form-control {
        border: none;
        box-shadow: none;
    }

    .cfg-search-group .input-group-text {
        border: none;
        background: transparent;
    }

    /* Empty state */
    .cfg-empty-state {
        padding: 3.5rem 1.5rem;
        text-align: center;
    }

    .cfg-empty-icon {
        width: 68px;
        height: 68px;
        border-radius: 50%;
        background: #F1F5F9;
        color: #94A3B8;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    /* Live Preview Map Box */
    .cfg-map-preview-box {
        border-radius: 0.5rem;
        overflow: hidden;
        border: 1px solid var(--cfg-border);
        background: #F8FAFC;
        min-height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cfg-map-preview-box iframe {
        width: 100%;
        height: 220px;
        border: 0;
    }

/* --- Source: Views\DocumentValidation\Index.cshtml --- */
.validation-container {
        max-width: 1080px;
        margin: auto;
    }

    .verify-hero-card {
        background: linear-gradient(135deg, #071936 0%, var(--sm-primary) 100%);
        color: #ffffff;
        border-radius: 1.25rem;
        padding: 2rem;
    }

    .upload-zone-card {
        border: 2px dashed #cbd5e1;
        border-radius: 1rem;
        padding: 1.25rem;
        background: #f8fafc;
        transition: all 0.2s ease;
        height: 100%;
    }

    .upload-zone-card:hover {
        border-color: var(--sm-primary);
        background: var(--sm-primary-light);
    }

    .file-viewer-card {
        height: 82vh;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    #filePreviewContainer {
        width: 100%;
        height: 100%;
        background-color: #f8fafc;
        overflow: auto;
        flex-grow: 1;
        min-height: 0;
    }

    #filePreviewContainer .xml-html-content {
        background-color: #ffffff;
        padding: 1.5rem;
    }

/* --- Source: Views\Home\About.cshtml --- */
/* === COLOR TOKENS & TYPOGRAPHY === */
        :root {
            --primary: var(--sm-primary);
            --primary-dark: var(--sm-primary-dark);
            --primary-light: var(--sm-primary-light);
            --accent: #0ea5e9;
            --text-main: var(--sm-text-main);
            --text-muted: var(--sm-text-muted);
            --bg-body: var(--sm-bg-body);
            --glass-bg: rgba(255, 255, 255, 0.85);
            --glass-border: rgba(255, 255, 255, 0.4);
        }

        

        .fw-800 { font-weight: 800 !important; }
        .fw-700 { font-weight: 700 !important; }
        
        .text-gradient {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* === HERO SECTION === */
        .about-hero {
            position: relative;
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.95) 100%),
                        url('/images/home/slide-1.jpg') center/cover no-repeat fixed;
            color: #ffffff;
            padding: 8rem 0 10rem 0; /* Extra bottom padding for floating stats */
            overflow: hidden;
            border-radius: 0 0 3rem 3rem;
            margin-top: 0;
        }
        
        /* Decorative background elements */
        .about-hero::before {
            content: "";
            position: absolute;
            top: -50%; left: -10%;
            width: 800px; height: 800px;
            background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 60%);
            border-radius: 50%;
            pointer-events: none;
        }
        .about-hero::after {
            content: "";
            position: absolute;
            bottom: -30%; right: -5%;
            width: 600px; height: 600px;
            background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 60%);
            border-radius: 50%;
            pointer-events: none;
        }

        .badge-glass {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #fff;
            padding: 0.5rem 1rem;
            font-weight: 500;
        }

        /* === FLOATING STATS === */
        .stats-container {
            margin-top: -5rem;
            position: relative;
            z-index: 10;
        }

        /* === GLASS CARDS === */
        .glass-card {
            background: var(--glass-bg);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--glass-border);
            border-radius: 1.5rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            height: 100%;
        }

        .hover-lift:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
            border-color: rgba(37, 99, 235, 0.2);
        }

        /* === ICON BOXES === */
        .icon-box {
            width: 56px;
            height: 56px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 1rem;
            background: var(--primary-light);
            color: var(--primary);
            font-size: 1.75rem;
            margin-bottom: 1.25rem;
            transition: all 0.3s ease;
        }
        .glass-card:hover .icon-box {
            background: var(--primary);
            color: white;
            transform: scale(1.05) rotate(5deg);
        }

        /* === TIMELINE === */
        .modern-timeline {
            position: relative;
            padding-left: 2rem;
        }
        .modern-timeline::before {
            content: "";
            position: absolute;
            left: 5px;
            top: 10px;
            bottom: 10px;
            width: 2px;
            background: linear-gradient(to bottom, var(--primary), var(--accent), transparent);
        }
        .timeline-node {
            position: relative;
            margin-bottom: 2.5rem;
        }
        .timeline-node::before {
            content: "";
            position: absolute;
            left: -2rem;
            top: 0.25rem;
            width: 12px;
            height: 12px;
            background: var(--primary);
            border-radius: 50%;
            box-shadow: 0 0 0 4px var(--primary-light);
            transition: all 0.3s ease;
        }
        .timeline-node:hover::before {
            transform: scale(1.3);
            box-shadow: 0 0 0 6px var(--primary-light);
        }

        /* === LISTS & UTILS === */
        .check-list {
            list-style: none;
            padding-left: 0;
        }
        .check-list li {
            position: relative;
            padding-left: 2rem;
            margin-bottom: 1rem;
            line-height: 1.6;
        }
        .check-list li::before {
            content: "\f26a"; /* bootstrap icon check-circle-fill */
            font-family: "bootstrap-icons";
            position: absolute;
            left: 0;
            top: 2px;
            color: var(--primary);
            font-size: 1.2rem;
        }

        .map-embed {
            width: 100%;
            height: 100%;
            min-height: 350px;
            border-radius: 1.5rem;
            border: none;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            padding: 1rem;
            border-radius: 1rem;
            background: rgba(37, 99, 235, 0.03);
            margin-bottom: 1rem;
            transition: all 0.3s;
        }
        .contact-item:hover {
            background: rgba(37, 99, 235, 0.08);
            transform: translateX(5px);
        }
        .contact-icon {
            font-size: 1.5rem;
            color: var(--primary);
            margin-right: 1.25rem;
            width: 32px;
            text-align: center;
        }

        /* Anim state */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
        }
        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

/* --- Source: Views\Home\Index.cshtml --- */
/* === 1. HERO CAROUSEL === */
        .home-hero-wrap {
            background: linear-gradient(180deg, #071936 0%, #0f2952 60%, var(--sm-bg) 100%);
            padding: 1.25rem 0 4.5rem 0;
        }

        .hero-portal {
            border-radius: 1.5rem;
            overflow: hidden;
            position: relative;
            box-shadow: 0 20px 50px rgba(7, 25, 54, 0.35);
            border: 1px solid rgba(255, 255, 255, 0.14);
            margin-bottom: 0;
        }

        .hero-portal .carousel-item {
            height: clamp(360px, 54vh, 540px);
            background-color: #0b192c;
        }

        .hero-portal .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(0.88);
            transition: transform 6s ease;
        }

        .hero-portal .carousel-item.active img {
            transform: scale(1.04);
        }

        .hero-overlay {
            background: linear-gradient(90deg, rgba(7, 25, 54, 0.92) 0%, rgba(7, 25, 54, 0.65) 50%, rgba(7, 25, 54, 0.15) 100%),
                        linear-gradient(to top, rgba(7, 25, 54, 0.85) 0%, transparent 50%);
            inset: 0;
            display: flex;
            align-items: flex-end;
            z-index: 2;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            background: rgba(245, 158, 11, 0.2);
            border: 1px solid rgba(251, 191, 36, 0.6);
            color: #fde68a;
            padding: 0.35rem 0.9rem;
            border-radius: 50rem;
            font-size: 0.78rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            backdrop-filter: blur(6px);
        }

        .hero-portal .carousel-indicators {
            z-index: 4;
            margin-bottom: 1.25rem;
        }

        .hero-portal .carousel-indicators [data-bs-target] {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            margin: 0 5px;
            background-color: #fbbf24;
        }

        .hero-portal .carousel-control-prev,
        .hero-portal .carousel-control-next {
            width: 52px;
            height: 52px;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(15, 23, 42, 0.45);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            margin: 0 1.25rem;
            opacity: 0;
            transition: all 0.25s ease;
            z-index: 4;
        }

        .hero-portal:hover .carousel-control-prev,
        .hero-portal:hover .carousel-control-next {
            opacity: 1;
        }

        .hero-portal .carousel-control-prev:hover,
        .hero-portal .carousel-control-next:hover {
            background: var(--sm-primary);
            border-color: #fff;
        }

        /* === 2. FLOATING STATS BAR === */
        .stats-floating-section {
            margin-top: -3.25rem;
            position: relative;
            z-index: 10;
        }

        .stat-card-modern {
            background: #ffffff;
            border-radius: 1.25rem;
            padding: 1.35rem 1.25rem;
            box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
            border: 1px solid rgba(15, 23, 42, 0.06);
            display: flex;
            align-items: center;
            gap: 1rem;
            transition: all 0.3s ease;
            height: 100%;
        }

        .stat-card-modern:hover {
            transform: translateY(-5px);
            box-shadow: 0 18px 40px rgba(15, 82, 186, 0.12);
            border-color: rgba(15, 82, 186, 0.25);
        }

        .stat-icon-circle {
            width: 56px;
            height: 56px;
            border-radius: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.65rem;
            flex-shrink: 0;
        }

        .stat-number {
            font-size: 1.75rem;
            font-weight: 800;
            line-height: 1.1;
            color: #0f172a;
        }

        .stat-label {
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--sm-text-muted);
            margin-top: 2px;
        }

        /* === 3. QUICK DIGITAL HUB (6 TILES) === */
        .quick-service-card {
            background: #ffffff;
            border: 1px solid var(--sm-border-color);
            border-radius: 1.2rem;
            padding: 1.25rem 1rem;
            text-decoration: none;
            color: #0f172a;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            height: 100%;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
        }

        .quick-service-card:hover {
            transform: translateY(-6px);
            border-color: var(--sm-primary);
            box-shadow: 0 14px 30px rgba(15, 82, 186, 0.12);
            color: var(--sm-primary);
        }

        .quick-service-icon {
            width: 54px;
            height: 54px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.55rem;
            margin-bottom: 0.85rem;
            transition: transform 0.25s ease;
        }

        .quick-service-card:hover .quick-service-icon {
            transform: scale(1.1) rotate(-4deg);
        }

        .quick-service-title {
            font-weight: 700;
            font-size: 0.95rem;
            margin-bottom: 0.25rem;
        }

        .quick-service-desc {
            font-size: 0.76rem;
            color: var(--sm-text-muted);
            line-height: 1.35;
        }

        /* === 4. SECTION HEADINGS === */
        .section-title-bar {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-end;
            justify-content: space-between;
            gap: 1rem;
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--sm-border-color);
            position: relative;
        }

        .section-title-bar::after {
            content: "";
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 80px;
            height: 3px;
            background: var(--sm-primary);
            border-radius: 3px;
        }

        .section-eyebrow {
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--sm-primary);
            margin-bottom: 0.2rem;
        }

        /* === 5. NEWS CARDS & FEATURED POST === */
        .featured-news-card {
            background: #ffffff;
            border-radius: 1.25rem;
            overflow: hidden;
            border: 1px solid var(--sm-border-color);
            box-shadow: 0 8px 26px rgba(15, 23, 42, 0.05);
            transition: all 0.3s ease;
        }

        .featured-news-card:hover {
            box-shadow: 0 16px 38px rgba(15, 82, 186, 0.12);
            border-color: rgba(15, 82, 186, 0.25);
        }

        .news-grid-card {
            background: #ffffff;
            border-radius: 1.1rem;
            overflow: hidden;
            border: 1px solid var(--sm-border-color);
            box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
            transition: all 0.28s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .news-grid-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 14px 30px rgba(15, 82, 186, 0.1);
            border-color: rgba(15, 82, 186, 0.25);
        }

        .news-thumb-wrap {
            overflow: hidden;
            position: relative;
            background: #f1f5f9;
        }

        .news-thumb-wrap img {
            transition: transform 0.45s ease;
        }

        .featured-news-card:hover .news-thumb-wrap img,
        .news-grid-card:hover .news-thumb-wrap img {
            transform: scale(1.06);
        }

        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .line-clamp-3 {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* === 6. ANNOUNCEMENT BOARD === */
        .bulletin-board {
            background: #ffffff;
            border-radius: 1.25rem;
            border: 1px solid var(--sm-border-color);
            box-shadow: 0 8px 26px rgba(15, 23, 42, 0.05);
            overflow: hidden;
        }

        .bulletin-header {
            background: linear-gradient(135deg, #0a2e6e 0%, var(--sm-primary) 100%);
            color: #ffffff;
            padding: 1.1rem 1.35rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .bulletin-item {
            display: flex;
            align-items: flex-start;
            gap: 0.9rem;
            padding: 1rem 1.25rem;
            border-bottom: 1px solid #f1f5f9;
            text-decoration: none;
            color: #1e293b;
            transition: background 0.2s ease;
        }

        .bulletin-item:last-child {
            border-bottom: none;
        }

        .bulletin-item:hover {
            background: #f8fafc;
            color: var(--sm-primary);
        }

        .bulletin-date-box {
            min-width: 54px;
            background: var(--sm-primary-light);
            border: 1px solid #bfdbfe;
            border-radius: 0.75rem;
            text-align: center;
            padding: 0.35rem 0.4rem;
            flex-shrink: 0;
        }

        .bulletin-date-box .day {
            display: block;
            font-size: 1.15rem;
            font-weight: 800;
            line-height: 1.1;
            color: var(--sm-primary);
        }

        .bulletin-date-box .month {
            display: block;
            font-size: 0.65rem;
            font-weight: 700;
            text-transform: uppercase;
            color: #475569;
        }

        /* === 7. SCHOOL INTRO & DIGITAL PILLARS === */
        .intro-banner-section {
            background: linear-gradient(135deg, #071936 0%, #0f3b82 100%);
            color: #ffffff;
            border-radius: 1.75rem;
            padding: 3rem 2.5rem;
            position: relative;
            overflow: hidden;
            box-shadow: 0 20px 45px rgba(7, 25, 54, 0.2);
        }

        .intro-banner-section::after {
            content: "";
            position: absolute;
            right: -80px;
            bottom: -80px;
            width: 320px;
            height: 320px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
            pointer-events: none;
        }

        .pillar-box {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.14);
            backdrop-filter: blur(10px);
            border-radius: 1rem;
            padding: 1.15rem;
            height: 100%;
        }

        /* === 8. GALLERY CARDS === */
        .album-showcase-card {
            border-radius: 1.15rem;
            overflow: hidden;
            position: relative;
            display: block;
            height: 220px;
            min-height: 220px;
            box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
            border: 1px solid var(--sm-border-color);
            background: #0f172a;
            transform: translateZ(0);
        }

        .album-showcase-card img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.45s ease, opacity 0.3s ease;
        }

        .album-showcase-card:hover img {
            transform: scale(1.07);
            opacity: 0.88;
        }

        .album-showcase-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(7, 25, 54, 0.9) 0%, rgba(7, 25, 54, 0.2) 55%, transparent 100%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 1.25rem;
            color: #ffffff;
        }

/* --- Source: Views\LopHoc\Index.cshtml --- */
.lophoc-page {
            --lh-border: var(--sm-border-color);
            --lh-bg-soft: #f8fafc;
            color: #0f172a;
        }

        .lh-card {
            background: #fff;
            border: 1px solid var(--lh-border);
            border-radius: 16px;
            box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
            overflow: hidden;
        }

        .namhoc-selector-box {
            background: var(--sm-primary-light);
            border: 1px solid #bfdbfe;
            border-radius: 12px;
            padding: 0.45rem 0.85rem;
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
        }

        .namhoc-selector-box label {
            font-size: 0.82rem;
            font-weight: 700;
            color: var(--sm-primary);
            margin-bottom: 0;
            white-space: nowrap;
        }

        .namhoc-selector-box .form-select {
            border-color: #93c5fd;
            font-weight: 700;
            color: #0f172a;
            min-width: 165px;
            background-color: #fff;
        }

        .quick-add-box {
            background: var(--lh-bg-soft);
            border: 1px solid var(--lh-border);
            border-radius: 14px;
            padding: 1rem 1.25rem;
            margin-bottom: 1.15rem;
        }

        .khoi-pill-group {
            display: flex;
            flex-wrap: wrap;
            gap: 0.45rem;
            align-items: center;
        }

        .khoi-pill {
            border: 1px solid var(--lh-border);
            background: #fff;
            color: #475569;
            font-size: 0.82rem;
            font-weight: 600;
            padding: 0.38rem 0.9rem;
            border-radius: 999px;
            cursor: pointer;
            transition: all 0.15s ease;
        }

        .khoi-pill:hover {
            border-color: #94a3b8;
            color: #0f172a;
        }

        .khoi-pill.active {
            background: var(--sm-primary);
            border-color: var(--sm-primary);
            color: #fff;
            box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
        }

        .class-table th {
            font-size: 0.76rem;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: #475569;
            font-weight: 700;
            background: #f8fafc;
            border-bottom: 1px solid var(--lh-border);
            padding: 0.8rem 1rem;
        }

        .class-table td {
            padding: 0.8rem 1rem;
            border-bottom: 1px solid #f1f5f9;
        }

        .class-code-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: var(--sm-primary-light);
            color: var(--sm-primary);
            border: 1px solid #bfdbfe;
            font-weight: 700;
            font-size: 0.9rem;
            padding: 0.25rem 0.65rem;
            border-radius: 8px;
        }

/* --- Source: Views\Maintenance\Index.cshtml --- */
body.sm-maintenance-body {
            background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
            min-height: 100vh;
        }

/* --- Source: Views\News\Category.cshtml --- */
.category-hero {
            background: linear-gradient(135deg, #071936 0%, var(--sm-primary) 100%);
        }

        .post-card {
            box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
            transition: all 0.28s ease;
        }

        .post-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 16px 32px rgba(15, 82, 186, 0.12) !important;
            border-color: rgba(15, 82, 186, 0.3) !important;
        }

        .post-thumb {
            transition: transform 0.45s ease;
        }

        .post-card:hover .post-thumb {
            transform: scale(1.06);
        }

        .post-title-link {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .post-summary {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

/* --- Source: Views\News\Details.cshtml --- */
.related-card { transition: transform .2s ease, box-shadow .2s ease; }
        .related-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(15,82,186,.12); }
        .related-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .95rem; }
        .article-content { font-size: 1.0625rem; max-width: 75ch; margin-inline: auto; }
        .article-content img { max-width: 100%; height: auto; border-radius: .75rem; }
        .article-content table { width: 100%; }
        .article-content iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: .75rem; }
        .gallery-link {
            display: block;
            transition: transform 0.2s ease;
        }

        .gallery-link:hover {
            transform: translateY(-3px);
        }

        .gallery-hover-overlay {
            position: absolute;
            inset: 0;
            background: rgba(15, 23, 42, 0.35);
            opacity: 0;
            transition: opacity 0.25s ease;
        }

        .gallery-link:hover .gallery-hover-overlay {
            opacity: 1;
        }

        .drop-shadow {
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
        }

        .article-content {
            font-size: 1.04rem;
            color: #1e293b;
        }

        .article-content img {
            max-width: 100%;
            height: auto;
            border-radius: 0.75rem;
            margin: 1rem auto;
            display: block;
        }

        .article-content table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 1.25rem;
        }

        .article-content th,
        .article-content td {
            border: 1px solid var(--sm-border-color);
            padding: 0.75rem;
        }

        .article-content iframe {
            max-width: 100%;
            border-radius: 0.75rem;
        }

        @media print {
            .academic-topbar, .school-header, .public-navbar, .school-footer, #tts-controls, .page-head, .school-ai-fab {
                display: none !important;
            }
        }

/* --- Source: Views\News\Index.cshtml --- */
.news-hero-banner {
            background: linear-gradient(135deg, #071936 0%, var(--sm-primary) 100%);
        }

        .cat-header-bar::after {
            content: "";
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 70px;
            height: 3px;
            background: var(--sm-primary);
        }

        .post-card {
            box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
            transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
        }

        .post-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 14px 30px rgba(15, 82, 186, 0.12) !important;
            border-color: rgba(15, 82, 186, 0.3) !important;
        }

        .post-thumb {
            transition: transform 0.45s ease;
        }

        .post-card:hover .post-thumb {
            transform: scale(1.06);
        }

        .post-title-link {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.4;
        }

        .post-summary-clamp {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

/* --- Source: Views\TienIch\QuanLyThuMuc.cshtml --- */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
        .suggestion-box {
            background: #fff3cd;
            border-left: 3px solid #ffc107;
            padding: 3px 8px;
            border-radius: 3px;
            margin-top: 3px;
            font-size: 0.82em;
        }

/* --- Source: Views\TKB\TinhChinh.cshtml --- */
.dropzone {
            transition: all 0.2s ease;
        }
        .tkb-item:hover {
            border-color: var(--sm-primary) !important;
            box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.15) !important;
        }

/* --- Source: Views\TKB\XemTkb.cshtml --- */
:root {
        --tkb-primary: var(--sm-primary);
        --tkb-primary-soft: var(--sm-primary-light);
        --tkb-today-bg: #fffbeb;
        --tkb-today-border: #f59e0b;
        --tkb-morning-bg: #f0f9ff;
        --tkb-afternoon-bg: #fff7ed;
    }

    .tkb-page-wrapper {
        max-width: 1440px;
        margin: 0 auto;
    }

    /* Mode Switcher Pills */
    .tkb-mode-switcher {
        background-color: #f1f5f9;
        padding: 4px;
        border-radius: 10px;
        display: inline-flex;
        gap: 4px;
    }

    .tkb-mode-btn {
        border: none;
        background: transparent;
        color: #475569;
        font-weight: 600;
        font-size: 0.875rem;
        padding: 7px 14px;
        border-radius: 8px;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .tkb-mode-btn:hover {
        color: #1e293b;
        background: rgba(255, 255, 255, 0.5);
    }

    .tkb-mode-btn.active {
        background: #ffffff;
        color: var(--tkb-primary);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    /* KPI Stat Cards */
    .tkb-stat-card {
        border: 1px solid var(--sm-border-color);
        border-radius: 12px;
        background: #ffffff;
        padding: 12px 16px;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: transform 0.15s ease;
    }

    .tkb-stat-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        flex-shrink: 0;
    }

    /* Timetable Card & Grid */
    .tkb-entity-card {
        border: 1px solid var(--sm-border-color);
        border-radius: 14px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
        margin-bottom: 1.5rem;
    }

    .tkb-entity-header {
        background: linear-gradient(to right, #f8fafc, #f1f5f9);
        padding: 12px 18px;
        border-bottom: 1px solid var(--sm-border-color);
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .tkb-table {
        margin-bottom: 0;
        table-layout: fixed;
        width: 100%;
        border-collapse: collapse;
    }

    .tkb-table thead th {
        background-color: #1e293b;
        color: #ffffff;
        font-weight: 600;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.02em;
        padding: 11px 8px;
        border-color: #334155;
        vertical-align: middle;
    }

    .tkb-table thead th.col-tiet {
        width: 72px;
        background-color: #0f172a;
    }

    .tkb-table thead th.is-today {
        background-color: #d97706 !important;
        color: #fff;
        position: relative;
    }

    .tkb-table tbody td {
        padding: 6px;
        vertical-align: middle;
        border-color: var(--sm-border-color);
        height: 58px;
        transition: background-color 0.15s ease;
    }

    .tkb-table tbody td.col-tiet-num {
        font-weight: 700;
        color: #475569;
        background-color: #f8fafc;
        font-size: 0.85rem;
    }

    .tkb-table tbody td.is-today-cell {
        background-color: var(--tkb-today-bg);
    }

    /* Session Divider Rows */
    .session-divider-morning td {
        background-color: var(--tkb-morning-bg) !important;
        color: #0369a1;
        font-weight: 700;
        font-size: 0.8rem;
        padding: 6px 14px !important;
        height: auto !important;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .session-divider-afternoon td {
        background-color: var(--tkb-afternoon-bg) !important;
        color: #c2410c;
        font-weight: 700;
        font-size: 0.8rem;
        padding: 6px 14px !important;
        height: auto !important;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    /* Subject Cell Slot Styling */
    .tkb-slot {
        border-radius: 8px;
        padding: 6px 8px;
        min-height: 46px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        border-left: 3.5px solid #3b82f6;
        background-color: #f8fafc;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
        transition: transform 0.12s ease, box-shadow 0.12s ease;
    }

    .tkb-slot:hover {
        transform: translateY(-1px);
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
    }

    .tkb-slot-subject {
        font-weight: 700;
        font-size: 0.84rem;
        color: #1e293b;
        line-height: 1.25;
        margin-bottom: 3px;
    }

    .tkb-slot-sub {
        font-size: 0.75rem;
        font-weight: 600;
        padding: 1px 7px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.85);
        color: #334155;
        border: 1px solid rgba(148, 163, 184, 0.3);
    }

    /* Color Themes by Subject Group */
    .slot-theme-math { background-color: var(--sm-primary-light); border-left-color: var(--sm-primary); }
    .slot-theme-math .tkb-slot-subject { color: var(--sm-primary); }

    .slot-theme-lit { background-color: #fdf2f8; border-left-color: #db2777; }
    .slot-theme-lit .tkb-slot-subject { color: #be185d; }

    .slot-theme-eng { background-color: #f0fdf4; border-left-color: #16a34a; }
    .slot-theme-eng .tkb-slot-subject { color: #15803d; }

    .slot-theme-sci { background-color: #f5f3ff; border-left-color: #7c3aed; }
    .slot-theme-sci .tkb-slot-subject { color: #6d28d9; }

    .slot-theme-soc { background-color: #fffbeb; border-left-color: #d97706; }
    .slot-theme-soc .tkb-slot-subject { color: #b45309; }

    .slot-theme-act { background-color: #ecfeff; border-left-color: #0891b2; }
    .slot-theme-act .tkb-slot-subject { color: #0e7490; }

    /* Print Stylesheet */
    @media print {
        body:has(#thoiKhoaBieuContainer) * {
            visibility: hidden;
        }
        #thoiKhoaBieuContainer, #thoiKhoaBieuContainer * {
            visibility: visible;
        }
        #thoiKhoaBieuContainer {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
        }
        .tkb-entity-card {
            box-shadow: none !important;
            border: 1px solid #000 !important;
            page-break-inside: avoid;
        }
    }

/* --- Source: Views\Zalo\Index.cshtml --- */
.zalo-stat-card {
        border: 0;
        border-radius: 14px;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
        transition: transform 0.15s ease;
    }
    .zalo-stat-card:hover {
        transform: translateY(-2px);
    }
    .zalo-nav-tabs .nav-link {
        font-weight: 600;
        color: #475569;
        border: none;
        border-bottom: 3px solid transparent;
        padding: 0.75rem 1.15rem;
    }
    .zalo-nav-tabs .nav-link.active {
        color: #0068ff;
        border-bottom-color: #0068ff;
        background: rgba(0, 104, 255, 0.05);
    }
    .zalo-slot-card {
        background: #f8fafc;
        border: 1px solid var(--sm-border-color);
        border-radius: 10px;
        padding: 7px 10px;
        margin-bottom: 6px;
        transition: border-color 0.15s;
    }
    .zalo-slot-card:last-child {
        margin-bottom: 0;
    }
    .zalo-slot-card:hover {
        border-color: #93c5fd;
    }
    .zalo-avatar {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #cbd5e1;
        background: var(--sm-border-color);
        flex-shrink: 0;
    }
    .zalo-avatar-placeholder {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: linear-gradient(135deg, #0068ff, #38bdf8);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 0.8rem;
        flex-shrink: 0;
    }
    .chat-history-box {
        max-height: 380px;
        overflow-y: auto;
        background: #eef2f6;
        border-radius: 10px;
        padding: 14px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .chat-bubble {
        max-width: 82%;
        padding: 8px 12px;
        border-radius: 12px;
        font-size: 0.88rem;
        line-height: 1.4;
        white-space: pre-wrap;
        word-break: break-word;
    }
    .chat-bubble-user {
        align-self: flex-start;
        background: #ffffff;
        color: #1e293b;
        border-left: 3px solid #0068ff;
        box-shadow: 0 1px 2px rgba(0,0,0,0.06);
    }
    .chat-bubble-bot {
        align-self: flex-end;
        background: #d8eeff;
        color: #0c4a6e;
        box-shadow: 0 1px 2px rgba(0,0,0,0.06);
    }
    .parent-line {
        font-size: 0.85rem;
        margin-bottom: 3px;
    }

/* --- Source: Views\Zalo\TestZaloWebhook.cshtml --- */
.zalo-chat-box {
        height: 520px;
        overflow-y: auto;
        background: #e9eef5;
        border-radius: 12px;
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .zalo-msg {
        max-width: 85%;
        padding: 10px 14px;
        border-radius: 12px;
        font-size: 0.92rem;
        line-height: 1.45;
        position: relative;
        word-break: break-word;
        white-space: pre-wrap;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    .zalo-msg-user {
        align-self: flex-end;
        background: #d5f1ff;
        color: #0b2e46;
        border-bottom-right-radius: 3px;
    }
    .zalo-msg-bot {
        align-self: flex-start;
        background: #ffffff;
        color: #1f2937;
        border-bottom-left-radius: 3px;
        border-left: 4px solid #0068ff;
    }
    .zalo-msg-error {
        align-self: flex-start;
        background: #fff5f5;
        color: #b91c1c;
        border-left: 4px solid #ef4444;
    }
    .zalo-msg-meta {
        font-size: 0.72rem;
        color: #6b7280;
        margin-top: 4px;
        display: flex;
        justify-content: space-between;
        gap: 8px;
    }
    .cmd-chip {
        cursor: pointer;
        transition: all 0.15s ease;
        user-select: none;
    }
    .cmd-chip:hover {
        transform: translateY(-1px);
        filter: brightness(0.95);
    }

