        body { background-color: #f8f9fa; }
        .login-container { max-width: 400px; margin: 100px auto; }
        .hidden { display: none !important; }
        
        [data-bs-theme] .cf-proxy-switch .form-check-input:checked {
            background-color: #f6821f !important;
            border-color: #f6821f !important;
            box-shadow: 0 0 12px rgba(246, 130, 31, 0.6) !important;
        }
        
        .copy-group { position: relative; }
        .copy-group .btn-copy { 
            position: absolute; right: 0; top: 0; height: 100%; border-radius: 0 4px 4px 0; 
        }
    
        
        /* Custom Themes */
        html[data-bs-theme="neon"] body {
            background-color: #0f141e !important; /* Force overall page background */
            color: #e2e8f0 !important;
            font-family: 'Inter', 'Roboto', sans-serif;
        }
        [data-bs-theme="neon"] {
            --bs-body-bg: #0f141e;
            --bs-body-color: #e2e8f0;
            --bs-primary: #00d2ff;
            --bs-primary-rgb: 0, 210, 255;
            --bs-border-color: rgba(0, 210, 255, 0.15);
        }
        [data-bs-theme="neon"] .bg-light, [data-bs-theme="neon"] .bg-white {
            background-color: #1b2336 !important;
            color: #e2e8f0 !important;
        }
        [data-bs-theme="neon"] .bg-dark {
            background-color: #0b0f17 !important;
            color: #00d2ff !important;
            border-bottom: 1px solid rgba(0, 210, 255, 0.2);
        }
        [data-bs-theme="neon"] .text-muted {
            color: #94a3b8 !important;
        }
        [data-bs-theme="neon"] .text-dark,
        [data-bs-theme="neon"] .bg-info.text-dark,
        [data-bs-theme="neon"] .btn-info.text-dark,
        [data-bs-theme="neon"] .helpdesk-nav-pill.active {
            color: #021124 !important;
            font-weight: 700;
        }
        [data-bs-theme="neon"] .navbar {
            background: #1b2336 !important;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
            border-bottom: 1px solid rgba(0, 210, 255, 0.2);
        }
        [data-bs-theme="neon"] .card, [data-bs-theme="neon"] .modal-content {
            background-color: #1b2336 !important;
            border-radius: 20px;
            border: 1px solid rgba(0, 210, 255, 0.15);
            box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.6), -8px -8px 16px rgba(255, 255, 255, 0.02), inset 0 0 0 transparent;
            transition: all 0.3s ease-in-out;
            color: #e2e8f0;
        }
        [data-bs-theme="neon"] .card:hover {
            box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.6), -8px -8px 16px rgba(255, 255, 255, 0.02), 0 0 15px rgba(0, 210, 255, 0.3);
            border: 1px solid rgba(0, 210, 255, 0.4);
        }
        [data-bs-theme="neon"] .nav-tabs {
            border-bottom: 1px solid rgba(0, 210, 255, 0.2);
        }
        [data-bs-theme="neon"] .nav-tabs .nav-link {
            color: #a0aec0;
            border: none;
        }
        [data-bs-theme="neon"] .nav-tabs .nav-link:hover {
            color: #00d2ff;
            border: none;
        }
        [data-bs-theme="neon"] .nav-tabs .nav-link.active {
            background-color: #1b2336 !important;
            color: #00d2ff !important;
            border: 1px solid rgba(0, 210, 255, 0.3);
            border-bottom: 1px solid #1b2336;
            box-shadow: 0 -4px 10px rgba(0, 210, 255, 0.1);
        }
        [data-bs-theme="neon"] .form-control, [data-bs-theme="neon"] .form-select {
            background-color: #121826;
            border: 1px solid rgba(255,255,255,0.1);
            color: #e2e8f0;
            border-radius: 10px;
            box-shadow: inset 3px 3px 6px rgba(0,0,0,0.4), inset -3px -3px 6px rgba(255,255,255,0.02);
        }
        [data-bs-theme="neon"] .form-control::placeholder, [data-bs-theme="neon"] .form-select::placeholder {
            color: rgba(255, 255, 255, 0.4);
            opacity: 1;
        }
        [data-bs-theme="neon"] .form-control:focus, [data-bs-theme="neon"] .form-select:focus {
            border-color: #00d2ff;
            box-shadow: 0 0 10px rgba(0, 210, 255, 0.45);
            background-color: #121826;
            color: #fff;
        }

        /* Impeccable Semantic Colors */
        .text-emerald { color: #6ee7b7 !important; }
        .text-cyan { color: #38bdf8 !important; }
        .text-amber { color: #fde047 !important; }
        .text-rose { color: #fca5a5 !important; }
        [data-bs-theme="neon"] .btn-primary, [data-bs-theme="neon"] .btn-info {
            background: linear-gradient(45deg, #0284c7, #00d2ff);
            border: none;
            border-radius: 12px;
            color: #fff;
            box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
        }
        [data-bs-theme="neon"] .btn-primary:hover, [data-bs-theme="neon"] .btn-info:hover {
            background: linear-gradient(45deg, #00d2ff, #0284c7);
            box-shadow: 0 6px 20px rgba(0, 210, 255, 0.6);
            color: #fff;
        }
        [data-bs-theme="neon"] .btn-success {
            background: linear-gradient(45deg, #059669, #10b981);
            border: none;
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
            color: #fff;
        }
        [data-bs-theme="neon"] .btn-success:hover {
            background: linear-gradient(45deg, #10b981, #059669);
            box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
            transform: translateY(-2px);
            color: #fff;
        }
        [data-bs-theme="neon"] .btn-secondary, [data-bs-theme="neon"] .btn-outline-light {
            background-color: #1f2937;
            border: 1px solid rgba(255,255,255,0.1);
            color: #e2e8f0;
        }
        [data-bs-theme="neon"] .btn-secondary:hover, [data-bs-theme="neon"] .btn-outline-light:hover {
            background-color: #374151;
            color: #fff;
        }
        [data-bs-theme="neon"] .badge {
            font-size: 0.85rem;
            padding: 0.5em 0.8em;
            border-radius: 8px;
            font-weight: 600 !important;
            color: #fff !important;
            border: none !important;
        }
        [data-bs-theme="neon"] .badge.bg-primary, [data-bs-theme="neon"] .badge.bg-info {
            background: linear-gradient(45deg, #0284c7, #00d2ff) !important;
            box-shadow: 0 4px 10px rgba(0, 210, 255, 0.4);
        }
        [data-bs-theme="neon"] .badge.bg-success {
            background: linear-gradient(45deg, #059669, #10b981) !important;
            box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
        }
        [data-bs-theme="neon"] .badge.bg-warning, [data-bs-theme="neon"] .badge.text-bg-warning {
            background: linear-gradient(45deg, #d97706, #f59e0b) !important;
            box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
        }
        [data-bs-theme="neon"] .badge.bg-danger {
            background: linear-gradient(45deg, #be123c, #f43f5e) !important;
            box-shadow: 0 4px 10px rgba(244, 63, 94, 0.4);
        }
        [data-bs-theme="neon"] .badge.bg-secondary {
            background: linear-gradient(45deg, #374151, #6b7280) !important;
            box-shadow: 0 4px 10px rgba(107, 114, 128, 0.4);
        }
        
        /* CÔNG TẮC BẬT/TẮT (TOGGLES) TRONG NEON THEME */
        [data-bs-theme="neon"] .form-switch .form-check-input {
            width: 3em;
            height: 1.5em;
            margin-top: 0;
            background-color: #1f2937;
            border: 1px solid rgba(255, 255, 255, 0.2);
            cursor: pointer;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
            transition: all 0.3s ease;
        }
        /* Công tắc khi đang tắt (Off) - Tăng độ sáng để không bị chìm */
        [data-bs-theme="neon"] .form-check-input:not(:checked) {
            background-color: #374151;
            border-color: rgba(255, 255, 255, 0.3);
        }
        /* Công tắc mặc định khi bật (On) - Màu Cyan Neon */
        [data-bs-theme="neon"] .form-switch .form-check-input:checked {
            background-color: #00d2ff;
            border-color: #00d2ff;
            box-shadow: 0 0 12px rgba(0, 210, 255, 0.6);
        }

        [data-bs-theme="neon"] .btn-dark {
            background-color: #0b0f17;
            border: 1px solid rgba(0, 210, 255, 0.3);
            color: #00d2ff;
        }
        [data-bs-theme="neon"] .btn-dark:hover {
            background-color: rgba(0, 210, 255, 0.1);
            color: #fff;
            box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
        }
        [data-bs-theme="neon"] .text-primary, [data-bs-theme="neon"] h1, [data-bs-theme="neon"] h2, [data-bs-theme="neon"] h3, [data-bs-theme="neon"] h4, [data-bs-theme="neon"] h5, [data-bs-theme="neon"] h6, [data-bs-theme="neon"] .navbar-brand {
            color: #00d2ff !important;
            text-shadow: 0 0 8px rgba(0, 210, 255, 0.4);
        }
        [data-bs-theme="neon"] .table, [data-bs-theme="neon"] .table-dark {
            --bs-table-bg: transparent;
            color: #e2e8f0;
            border-color: rgba(0, 210, 255, 0.1);
        }
        [data-bs-theme="neon"] .table th {
            background-color: rgba(0, 210, 255, 0.05) !important;
            color: #00d2ff !important;
            border-bottom: 1px solid rgba(0, 210, 255, 0.3);
        }
        [data-bs-theme="neon"] .table td {
            background-color: transparent !important;
            color: #e2e8f0 !important;
            vertical-align: middle;
        }
        [data-bs-theme="neon"] .table-striped>tbody>tr:nth-of-type(odd)>* {
            background-color: rgba(255, 255, 255, 0.02) !important;
            color: #e2e8f0;
        }
        [data-bs-theme="neon"] .table-hover>tbody>tr:hover>* {
            color: #fff !important;
            background-color: rgba(0, 210, 255, 0.1) !important;
        }
        [data-bs-theme="neon"] .dropdown-menu {
            background-color: #1b2336;
            border: 1px solid rgba(0, 210, 255, 0.2);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
        }
        [data-bs-theme="neon"] .dropdown-item {
            color: #e2e8f0;
        }
        [data-bs-theme="neon"] .dropdown-item:hover {
            background-color: rgba(0, 210, 255, 0.1);
            color: #00d2ff;
        }

        [data-bs-theme="orange"] {
            --bs-primary: #fd7e14;
            --bs-primary-rgb: 253, 126, 20;
            --bs-body-bg: #fffaf0;
            --bs-body-color: #212529;
            --bs-navbar-active-color: #fff;
        }
        [data-bs-theme="orange"] .bg-primary { background-color: #fd7e14 !important; }
        [data-bs-theme="orange"] .text-primary { color: #fd7e14 !important; }
        [data-bs-theme="orange"] .btn-primary { background-color: #fd7e14; border-color: #fd7e14; color: white;}
        [data-bs-theme="orange"] .btn-primary:hover { background-color: #e37112; border-color: #e37112; }
        
        [data-bs-theme="red"] {
            --bs-primary: #dc3545;
            --bs-primary-rgb: 220, 53, 69;
            --bs-body-bg: #fff5f5;
            --bs-body-color: #212529;
            --bs-navbar-active-color: #fff;
        }
        [data-bs-theme="red"] .bg-primary { background-color: #dc3545 !important; }
        [data-bs-theme="red"] .text-primary { color: #dc3545 !important; }
        [data-bs-theme="red"] .btn-primary { background-color: #dc3545; border-color: #dc3545; color: white;}
        [data-bs-theme="red"] .btn-primary:hover { background-color: #c82333; border-color: #bd2130; }


/* NProgress Custom CSS */
#nprogress .bar { background: #0dcaf0 !important; height: 3px !important; }
#nprogress .peg { box-shadow: 0 0 10px #0dcaf0, 0 0 5px #0dcaf0 !important; }
#nprogress .spinner-icon { border-top-color: #0dcaf0 !important; border-left-color: #0dcaf0 !important; }

/* Skeleton Loaders */
.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 6px;
    display: inline-block;
}
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Toast Floating Notifications */
.toast-floating-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast-floating-item {
    pointer-events: auto;
    min-width: 280px;
    max-width: 400px;
    padding: 12px 18px;
    border-radius: 10px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
    font-weight: 500;
}
.toast-floating-item.toast-success {
    background: rgba(16, 185, 129, 0.92);
    color: #ffffff;
    border-color: rgba(52, 211, 153, 0.5);
}
.toast-floating-item.toast-error {
    background: rgba(239, 68, 68, 0.92);
    color: #ffffff;
    border-color: rgba(248, 113, 113, 0.5);
}
.toast-floating-item.toast-info {
    background: rgba(14, 165, 233, 0.92);
    color: #ffffff;
    border-color: rgba(56, 189, 248, 0.5);
}
.toast-floating-item.toast-fadeout {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
}
@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.hover-underline:hover {
    text-decoration: underline !important;
}
.hover-glow-info:hover {
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.5) !important;
    color: #38bdf8 !important;
    border-color: #38bdf8 !important;
}
.transition-all {
    transition: all 0.2s ease-in-out;
}

.swal2-container {
    z-index: 99999 !important;
}

/* Modern Cyberpunk Modal & Control Helpers */
.text-cyan { color: #00e5ff !important; }
.border-cyan { border-color: #00e5ff !important; }
.focus-cyan:focus {
    border-color: #00e5ff !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 229, 255, 0.22) !important;
    background-color: rgba(15, 23, 42, 0.85) !important;
    color: #ffffff !important;
}
.hover-glow-cyan:hover {
    border-color: #00e5ff !important;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.35) !important;
    transition: all 0.2s ease;
}
.hover-scale {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hover-scale:hover {
    transform: scale(1.02);
}
.cursor-pointer {
    cursor: pointer !important;
}
.custom-modal-scroll::-webkit-scrollbar {
    width: 6px;
}
.custom-modal-scroll::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 8px;
}
.custom-modal-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 229, 255, 0.35);
    border-radius: 8px;
}
.custom-modal-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 229, 255, 0.7);
}
.custom-modal-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 229, 255, 0.35) rgba(15, 23, 42, 0.6);
}

/* =========================================================
   DARK SELECT & OPTIONS STYLING (FIX WHITE-ON-WHITE DROPDOWNS)
   ========================================================= */
select,
.form-select,
.form-control select {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

select option,
.form-select option,
.form-control option,
optgroup {
    background-color: #0f172a !important;
    color: #f8fafc !important;
    padding: 10px 14px !important;
}

select option:checked,
.form-select option:checked,
select option:hover,
.form-select option:hover {
    background-color: #0284c7 !important;
    color: #ffffff !important;
}

/* =========================================================
   HELP DESK & MODAL NAVIGATION PILLS (HIGH CONTRAST)
   ========================================================= */
.helpdesk-nav-pill {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    font-size: 0.88rem !important;
    letter-spacing: 0.2px;
}

.helpdesk-nav-pill.active {
    background: linear-gradient(135deg, #38bdf8 0%, #00d2ff 100%) !important;
    color: #031326 !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(0, 210, 255, 0.45) !important;
    border-color: #38bdf8 !important;
}

.helpdesk-nav-pill.active i,
.helpdesk-nav-pill.active span {
    color: #031326 !important;
}

.helpdesk-nav-pill:not(.active) {
    color: #cbd5e1 !important;
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.helpdesk-nav-pill:not(.active):hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* =========================================================
   MOBILE CONTROL CENTER SHEET (NAVBAR UPGRADE)
   ========================================================= */
.mobile-control-sheet {
    background: linear-gradient(180deg, #131b2e 0%, #0b0f19 100%);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
    margin-top: 12px;
}

.user-profile-summary-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 14px;
    transition: all 0.2s ease;
}
.user-profile-summary-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 210, 255, 0.3);
}

.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    min-height: 76px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background-color: transparent;
    text-align: left;
    width: 100%;
}
.quick-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* Card Themes */
.card-theme-upgrade {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.25) 100%);
    border-color: rgba(245, 158, 11, 0.35);
    color: #fcd34d !important;
}
.card-theme-upgrade:hover {
    border-color: #f59e0b;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.card-theme-admin {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(185, 28, 28, 0.25) 100%);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fca5a5 !important;
}
.card-theme-admin:hover {
    border-color: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.card-theme-dashboard {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.25) 100%);
    border-color: rgba(16, 185, 129, 0.35);
    color: #6ee7b7 !important;
}
.card-theme-dashboard:hover {
    border-color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.card-theme-guide {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(2, 132, 199, 0.25) 100%);
    border-color: rgba(14, 165, 233, 0.35);
    color: #7dd3fc !important;
}
.card-theme-guide:hover {
    border-color: #0ea5e9;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
}

.card-theme-support {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(79, 70, 229, 0.25) 100%);
    border-color: rgba(99, 102, 241, 0.35);
    color: #a5b4fc !important;
}
.card-theme-support:hover {
    border-color: #6366f1;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.sys-pref-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 12px 14px;
}

/* =========================================================
   ADMIN CP TABS HORIZONTAL SCROLLBAR & SEAMLESS TABS
   ========================================================= */
#adminTabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 210, 255, 0.3) transparent;
}
#adminTabs::-webkit-scrollbar {
    height: 4px;
}
#adminTabs::-webkit-scrollbar-thumb {
    background: rgba(0, 210, 255, 0.3);
    border-radius: 4px;
}
#adminTabs .nav-item {
    flex-shrink: 0;
}

/* =========================================================
   COMPACT ADMIN DOMAINS TABLE
   ========================================================= */
.domain-row {
    transition: background 0.15s ease-in-out;
}
.domain-row:hover {
    background-color: rgba(0, 210, 255, 0.05) !important;
}
.domain-link {
    transition: color 0.15s ease;
}
.domain-link:hover {
    color: #38bdf8 !important;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
    text-decoration: underline !important;
}

/* Ẩn thanh cuộn nhưng vẫn cho phép scroll mượt */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* =========================================================
   CONTAINER FLUID RESPONSIVE (FULL-WIDTH DASHBOARD & CPANEL)
   Khắc phục triệt để lỗi co cụm 2 bên khi bật "Trang web cho máy tính" trên mobile
   ========================================================= */
.container-dashboard {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: clamp(10px, 1.8vw, 24px) !important;
    padding-right: clamp(10px, 1.8vw, 24px) !important;
}

@media (min-width: 1920px) {
    .container-dashboard {
        max-width: 1720px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* =========================================================
   ADMIN CP SLEEK LEFT SIDEBAR & ZERO VERTICAL WASTE LAYOUT
   ========================================================= */
.admin-app-layout {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    position: relative;
}

.admin-sidebar {
    width: 270px;
    min-width: 270px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 85px;
    max-height: calc(100vh - 105px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1020;
    overflow: hidden;
}

.admin-sidebar.collapsed {
    width: 72px;
    min-width: 72px;
}

.admin-sidebar-header {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
}

.admin-sidebar-logo-icon {
    width: 36px;
    height: 36px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.admin-sidebar-menu {
    overflow-y: auto;
    flex-grow: 1;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.admin-sidebar-menu::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.admin-group-header {
    background: transparent;
    border: none;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    transition: all 0.15s ease;
}

.admin-group-header:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #f8fafc !important;
}

.admin-group-header.active-group {
    color: #38bdf8 !important;
}

.admin-group-header.admin-toplevel-btn {
    border: none;
    cursor: pointer;
}

.admin-group-header.admin-toplevel-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #f8fafc !important;
}

.admin-group-header.admin-toplevel-btn.active-toplevel {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.18), rgba(239, 68, 68, 0.08));
    box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.4), 0 0 15px -3px rgba(239, 68, 68, 0.25);
    color: #fca5a5 !important;
}

.group-chevron {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.rotate-180 {
    transform: rotate(180deg);
}

.rotate-90 {
    transform: rotate(90deg);
}

.admin-nav-item {
    background: transparent;
    border: 1px solid transparent;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.15s ease;
    margin-bottom: 2px;
}

.admin-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #f1f5f9;
}

.admin-nav-item.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(56, 189, 248, 0.1));
    border-color: rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    font-weight: 700;
    box-shadow: 0 0 15px -3px rgba(56, 189, 248, 0.25);
}

.admin-sub-item {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 500;
    transition: all 0.15s ease;
    margin-bottom: 2px;
}

.admin-sub-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
}

.admin-sub-item.active-sub {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    font-weight: 700;
}

.admin-top-toolbar {
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.pulse-dot-sm {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse-green 2s infinite;
}

/* Mobile Offcanvas Drawer */
@media (max-width: 991.98px) {
    .admin-app-layout {
        display: block;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        bottom: 0;
        width: 290px !important;
        min-width: 290px !important;
        max-height: 100vh;
        border-radius: 0;
        z-index: 1060;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: none;
        border-right: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8);
    }

    .admin-sidebar.mobile-open {
        left: 0 !important;
    }

    .admin-sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(4px);
        z-index: 1055;
        animation: fadeIn 0.2s ease-out;
    }
}

/* ========================================================================== */
/* DARK THEME CUSTOM FILE PICKER STYLING                                      */
/* ========================================================================== */
input[type="file"].form-control::file-selector-button,
.form-control[type="file"]::file-selector-button {
    background-color: #1e293b !important;
    color: #38bdf8 !important;
    border: 1px solid #334155 !important;
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    margin-right: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

input[type="file"].form-control:hover::file-selector-button,
.form-control[type="file"]:hover::file-selector-button {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
}

/* Invisible Smooth Scroll for Admin Sidebar Containers */
.admin-sidebar,
.admin-sidebar-menu,
.admin-tier3-items {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    scroll-behavior: smooth !important;
    overscroll-behavior: contain !important;
}

.admin-sidebar::-webkit-scrollbar,
.admin-sidebar-menu::-webkit-scrollbar,
.admin-tier3-items::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* ========================================================================== */
/* DOMAIN DETAIL LEFT SIDEBAR & MOBILE OFFCANVAS DRAWER (STUDIO DESIGN)       */
/* ========================================================================== */
.detail-sidebar {
    background: #080d1a !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), min-width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.detail-sidebar-nav {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    scroll-behavior: smooth !important;
    overscroll-behavior: contain !important;
}

.detail-sidebar::-webkit-scrollbar,
.detail-sidebar-nav::-webkit-scrollbar,
.mobile-sidebar-drawer::-webkit-scrollbar,
.sidebar-sub-items::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.mobile-sidebar-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 1050 !important;
    transition: opacity 0.25s ease-in-out;
}

.mobile-sidebar-drawer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 285px !important;
    max-width: 285px !important;
    height: 100vh !important;
    background: #080d1a !important;
    border-right: 1px solid rgba(56, 189, 248, 0.3) !important;
    box-shadow: 12px 0 35px rgba(0, 0, 0, 0.85) !important;
    z-index: 1060 !important;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.mobile-sidebar-drawer.open {
    transform: translateX(0) !important;
}

.mobile-drawer-header {
    background: #0c1427 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 12px 14px !important;
}

/* Admin CP Styled Group Headers */
.sidebar-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 6px 8px;
    margin-top: 6px;
    margin-bottom: 3px;
    border: none !important;
    background: transparent !important;
    border-radius: 6px;
    user-select: none;
    transition: all 0.15s ease;
}

.sidebar-section-header.clickable:hover {
    background: rgba(255, 255, 255, 0.04) !important;
}

.sidebar-section-title-text {
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: #94a3b8 !important;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-section-title-text.active-sec {
    color: #38bdf8 !important;
}

/* Admin CP Styled Tier 1 Nav Items */
.sidebar-nav-item {
    color: #94a3b8 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    transition: all 0.15s ease;
    font-weight: 500 !important;
    font-size: 0.82rem !important;
    text-decoration: none;
    width: 100%;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    margin-bottom: 2px;
}

.sidebar-nav-item:hover {
    color: #f1f5f9 !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.sidebar-nav-item.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(56, 189, 248, 0.1)) !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    color: #38bdf8 !important;
    font-weight: 700 !important;
    box-shadow: 0 0 15px -3px rgba(56, 189, 248, 0.25) !important;
    transform: none !important;
}

/* Admin CP Styled Tier 2 Accordion Category Header */
.sidebar-cat-header {
    background: transparent !important;
    border: 1px solid transparent !important;
    color: #94a3b8 !important;
    transition: all 0.15s ease;
    font-size: 0.80rem !important;
    font-weight: 600 !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    margin-bottom: 2px;
}

.sidebar-cat-header:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #f1f5f9 !important;
}

/* Tree Indent Lines & Sub-items */
.sidebar-sub-items {
    border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
    margin-left: 14px !important;
    padding-left: 8px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.sidebar-sub-item {
    color: #64748b !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    transition: all 0.15s ease;
    text-decoration: none;
    width: 100%;
    padding: 5px 8px !important;
    border-radius: 6px !important;
    margin-bottom: 2px;
}

.sidebar-sub-item:hover {
    color: #cbd5e1 !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

.sidebar-sub-item.active {
    background: rgba(56, 189, 248, 0.15) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    color: #38bdf8 !important;
    font-weight: 700 !important;
    transform: none !important;
}

.detail-sidebar-rail-item {
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    color: #94a3b8 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    margin: 0 auto 6px auto !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    text-decoration: none !important;
}

.detail-sidebar-rail-item:hover {
    color: #f1f5f9 !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.detail-sidebar-rail-item.active {
    color: #38bdf8 !important;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(56, 189, 248, 0.1)) !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    box-shadow: 0 0 15px -3px rgba(56, 189, 248, 0.25) !important;
}

/* ========================================================================== */
/* RESPONSIVE CONTAINMENT & UTILITIES                                         */
/* ========================================================================== */
.min-w-0 {
    min-width: 0 !important;
}

.detail-content-canvas {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
}

.table-responsive {
    max-width: 100% !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.table-responsive::-webkit-scrollbar {
    height: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.3);
    border-radius: 4px;
}

/* --- Form Gói Cước Mobile & Tactile Switch Cards --- */
.plan-toggle-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
    cursor: pointer;
}
.plan-toggle-card:hover {
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(15, 23, 42, 0.85);
}
.plan-toggle-card:active {
    transform: scale(0.99);
}
.plan-status-card {
    transition: all 0.25s ease;
}

/* --- 🛡️ 🌟 Rock-Solid Sticky Table Header for DNS Cluster Audit Modal --- */
.dns-audit-scroll-container {
    max-height: calc(82vh - 195px);
    min-height: 440px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.4) rgba(15, 23, 42, 0.8);
}
.dns-audit-scroll-container::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.dns-audit-scroll-container::-webkit-scrollbar-track {
    background: #0b1329;
}
.dns-audit-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.4);
    border-radius: 4px;
}
.dns-audit-scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(56, 189, 248, 0.8);
}
@media (max-width: 1200px) {
    .dns-audit-scroll-container {
        overflow-x: auto !important;
    }
}

.dns-audit-sticky-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100%;
}
.dns-audit-sticky-table thead {
    position: sticky;
    top: 0;
    z-index: 30;
}
.dns-audit-sticky-table thead th {
    position: sticky !important;
    top: 0 !important;
    background-color: #0b1329 !important; /* 100% Solid Opaque Dark - Triệt tiêu hoàn toàn hiện tượng xuyên thấu khi cuộn */
    color: #38bdf8 !important;            /* Cyan công nghệ sắc nét */
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.02em;
    padding: 12px 10px !important;
    z-index: 30 !important;
    border-top: none !important;
    border-bottom: 2px solid #0284c7 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.9) !important; /* Đổ bóng tách biệt hoàn toàn giữa header và danh sách đang cuộn */
    white-space: nowrap !important;
    vertical-align: middle !important;
}
.dns-audit-sticky-table thead th:first-child {
    border-left: none !important;
}
.dns-audit-sticky-table thead th:last-child {
    border-right: none !important;
}
.dns-audit-sticky-table tbody td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    background-color: #070b14;
    vertical-align: middle !important;
}
.dns-audit-sticky-table tbody tr:hover td {
    background-color: #111a2e !important;
}
.dns-audit-sticky-table tbody td:first-child {
    border-left: none !important;
}
.dns-audit-sticky-table tbody td:last-child {
    border-right: none !important;
}

/* ==========================================================================
   🚀 ULTRA-WIDE COMMAND CENTER: MULTI-NODE DNS DRIFT AUDIT MODAL
   ========================================================================== */
#clusterDnsAuditModal .modal-dialog.modal-ultra-wide {
    max-width: 1680px !important;
    width: 96vw !important;
    margin: 1.5rem auto !important;
}

#clusterDnsAuditModal .dns-audit-scroll-container {
    max-height: calc(82vh - 195px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: #0284c7 #070b14;
}

@media (max-width: 991.98px) {
    #clusterDnsAuditModal .modal-dialog.modal-ultra-wide {
        max-width: 98vw !important;
        width: 98vw !important;
        margin: 0.5rem auto !important;
    }
    #clusterDnsAuditModal .dns-audit-scroll-container {
        max-height: 55vh !important;
        overflow-x: auto !important;
    }
}

/* 🎯 Sleek High-Density DNS Node Chip */
#clusterDnsAuditModal .dns-drift-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    padding: 2px 7px !important;
    border-radius: 5px !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
    user-select: all !important;
    transition: all 0.15s ease !important;
}
#clusterDnsAuditModal .dns-drift-chip.is-match {
    background: rgba(16, 185, 129, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    color: #34d399 !important;
}
#clusterDnsAuditModal .dns-drift-chip.is-match:hover {
    background: rgba(16, 185, 129, 0.22) !important;
    border-color: #10b981 !important;
}
#clusterDnsAuditModal .dns-drift-chip.is-drift {
    background: rgba(245, 158, 11, 0.14) !important;
    border: 1px solid rgba(245, 158, 11, 0.45) !important;
    color: #fbbf24 !important;
    font-weight: 600 !important;
}
#clusterDnsAuditModal .dns-drift-chip.is-drift:hover {
    background: rgba(245, 158, 11, 0.25) !important;
    border-color: #f59e0b !important;
}
#clusterDnsAuditModal .dns-drift-chip.is-missing {
    background: rgba(239, 68, 68, 0.12) !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    color: #f87171 !important;
    font-weight: 600 !important;
}
#clusterDnsAuditModal .dns-drift-chip.is-missing:hover {
    background: rgba(239, 68, 68, 0.22) !important;
    border-color: #ef4444 !important;
}
#clusterDnsAuditModal .dns-drift-chip .chip-ip {
    display: inline-block !important;
}
#clusterDnsAuditModal .dns-drift-chip .chip-latency {
    font-size: 0.68rem !important;
    opacity: 0.8 !important;
    color: #94a3b8 !important;
    background: rgba(0, 0, 0, 0.45) !important;
    padding: 1px 4px !important;
    border-radius: 3px !important;
    margin-left: 3px !important;
    display: inline-block !important;
}

/* 📊 Compact Telemetry HUD Chips */
#clusterDnsAuditModal .dns-telemetry-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(15, 23, 42, 0.65) !important;
    color: #94a3b8 !important;
    font-size: 0.76rem !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    user-select: none !important;
}
#clusterDnsAuditModal .dns-telemetry-chip:hover {
    border-color: rgba(56, 189, 248, 0.4) !important;
    background: rgba(15, 23, 42, 0.9) !important;
    color: #f1f5f9 !important;
}
#clusterDnsAuditModal .dns-telemetry-chip.is-active {
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.25) !important;
    border-color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.1) !important;
    color: #38bdf8 !important;
}
#clusterDnsAuditModal .dns-telemetry-chip .chip-label {
    display: inline-flex !important;
    align-items: center !important;
    font-weight: 500 !important;
}
#clusterDnsAuditModal .dns-telemetry-chip .badge,
#clusterDnsAuditModal .dns-telemetry-chip .chip-badge {
    font-weight: 700 !important;
    font-size: 0.74rem !important;
    padding: 1px 6px !important;
    border-radius: 10px !important;
    margin-left: 4px !important;
}
#clusterDnsAuditModal .dns-telemetry-chip.chip-success.is-active {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.12) !important;
    color: #34d399 !important;
}
#clusterDnsAuditModal .dns-telemetry-chip.chip-warning.is-active {
    border-color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.12) !important;
    color: #fbbf24 !important;
}
#clusterDnsAuditModal .dns-telemetry-chip.chip-danger.is-active {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.12) !important;
    color: #f87171 !important;
}
#clusterDnsAuditModal .dns-telemetry-chip.chip-actionable {
    border-color: rgba(245, 158, 11, 0.35) !important;
    color: #fbbf24 !important;
}
#clusterDnsAuditModal .dns-telemetry-chip.chip-actionable.is-active {
    border-color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.18) !important;
    color: #fef08a !important;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.3) !important;
}
#clusterDnsAuditModal .dns-audit-sticky-table tbody tr.row-drift td {
    background-color: rgba(245, 158, 11, 0.04) !important;
}
#clusterDnsAuditModal .dns-audit-sticky-table tbody tr.row-drift:hover td {
    background-color: rgba(245, 158, 11, 0.09) !important;
}
#clusterDnsAuditModal .dns-audit-sticky-table tbody tr.row-missing td {
    background-color: rgba(239, 68, 68, 0.04) !important;
}
#clusterDnsAuditModal .dns-audit-sticky-table tbody tr.row-missing:hover td {
    background-color: rgba(239, 68, 68, 0.09) !important;
}

