/* ====== GEMLOGIN SAAS THEME (LIGHT MODE - CHUẨN GEMLOGIN) ====== */
:root {
    --primary-color:   #2563eb;
    --primary-hover:   #1d4ed8;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --primary-glow:    0 8px 24px rgba(37, 99, 235, 0.22);
    
    --lol-bg-0:        #f8fafc;
    --lol-bg-1:        #ffffff;
    --lol-bg-2:        #ffffff;
    --lol-bg-3:        #f1f5f9;
    --lol-line:        #e2e8f0;
    --lol-line-soft:   #edf2f7;
    --lol-text:        #0f172a;
    --lol-text-soft:   #334155;
    --lol-text-mute:   #64748b;
    --lol-gold:        #f59e0b;
    --lol-gold-bright: #d97706;
    --lol-cyan:        #2563eb;
    --lol-cyan-bright: #1d4ed8;
    --lol-blue:        #2563eb;
    --lol-blue-2:      #1d4ed8;
    --lol-red:         #ef4444;
    --lol-green:       #10b981;
    --lol-purple:      #6366f1;
    --lol-glow-gold:   0 4px 14px rgba(245, 158, 11, .25);
    --lol-glow-cyan:   0 6px 20px rgba(37, 99, 235, .25);
    --lol-shadow:      0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
    --card-shadow:     0 4px 16px rgba(15, 23, 42, 0.05);
    --card-hover-shadow: 0 16px 36px rgba(37, 99, 235, 0.12);

    /* STANDARD COMMONS FOR ALL SERVICE/HẠ TẦNG VIEWS (LIGHT MODE) */
    --bg-card:         #ffffff;
    --bg-card-subtle:  #f8fafc;
    --bg-subtle:       #f1f5f9;
    --bg-input:        #ffffff;
    --border-color:    #e2e8f0;
    --border-hover:    #2563eb;
    --text-main:       #0f172a;
    --text-soft:       #334155;
    --text-muted:      #64748b;
    --text-dim:        #64748b;
    --badge-bg:        #eff6ff;
    --badge-border:    #bfdbfe;
    --badge-color:     #2563eb;
}

* { box-sizing: border-box; margin: 0; padding: 0; }



html, body {

    font-family: 'Be Vietnam Pro', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;

    background: #f8fafc !important;

    background-image:

        radial-gradient(circle at 15% 15%, rgba(24, 119, 242, .08) 0%, transparent 35%),

        radial-gradient(circle at 85% 85%, rgba(0, 102, 255, .06) 0%, transparent 35%),

        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
    /* scroll performance: removed fixed attachment */
    color: var(--lol-text) !important;

    min-height: 100vh;

}



/* ===== HEADER ===== */

.lol-topbar {

    background: linear-gradient(135deg, #2563eb 0%, #0056D2 100%) !important;

    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;

    color: #ffffff !important;

    padding: 8px 0;

    font-size: 13px;

}

@media (max-width: 768px) {
    .lol-topbar {
        display: none !important;
    }
}

.lol-topbar a { color: #ffffff !important; text-decoration: none; opacity: 0.95; transition: opacity 0.2s; }

.lol-topbar a:hover { opacity: 1; text-decoration: underline; }

.lol-topbar .hot { background: #ef4444 !important; color: #ffffff; padding: 2px 8px; border-radius: 20px; font-weight: 700; font-size: 11px; }



.lol-navbar {

    background: rgba(255, 255, 255, 0.95) !important;

    backdrop-filter: blur(12px) !important;

    -webkit-backdrop-filter: blur(12px) !important;

    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;

    padding: 8px 0 !important;

    position: sticky;

    top: 0;

    z-index: 999;

    border-bottom: 1px solid #e2e8f0 !important;

}

.lol-nav-container { max-width: 1880px; width: 98%; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: nowrap; }



.lol-logo { display: inline-flex; align-items: center; text-decoration: none; gap: 0; flex-shrink: 0; }

.lol-logo img { height: 42px; max-height: 42px; max-width: 210px; width: auto; object-fit: contain; border: none !important; border-radius: 0 !important; filter: drop-shadow(0 2px 8px rgba(24, 119, 242, 0.12)); }

.lol-logo-title { display: none !important; }



.lol-nav-links { display: flex; align-items: center; gap: 2px; flex: 1; margin-left: 12px; flex-wrap: nowrap; }

.lol-nav-link {

    display: flex; align-items: center; gap: 5px;

    padding: 7px 12px; border-radius: 999px;

    color: #475569 !important; font-weight: 600; font-size: 13.5px;

    text-decoration: none; transition: all 0.2s; white-space: nowrap;

}

.lol-nav-link:hover, .lol-nav-link.active {

    background: #e7f0fd !important;

    color: #2563eb !important;

    box-shadow: none !important;

}

.lol-nav-link iconify-icon { font-size: 18px; }



.lol-dropdown { position: relative; }

.lol-dropdown-menu {

    position: absolute; top: 100%; left: 0;

    background: #ffffff !important; border-radius: 14px;

    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12) !important;

    border: 1px solid #e2e8f0 !important;

    min-width: 280px; padding: 8px;

    opacity: 0; visibility: hidden;

    transform: translateY(10px);

    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); z-index: 1000;

}

.lol-dropdown:hover .lol-dropdown-menu {

    opacity: 1; visibility: visible;

    transform: translateY(0);

}

.lol-dropdown-menu a {

    display: flex; align-items: center; gap: 10px;

    padding: 10px 14px; border-radius: 10px;

    color: #334155 !important; text-decoration: none;

    font-weight: 600; font-size: 14px;
    white-space: nowrap;

    transition: all 0.2s;

}

.lol-dropdown-menu a:hover {

    background: #f1f5f9 !important;

    color: #2563eb !important;

}



.lol-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.lol-balance {

    background: #eff6ff !important;

    border: 1px solid #bfdbfe !important;

    border-radius: 999px; padding: 8px 16px;

    font-weight: 700; color: #2563eb !important;

    font-size: 14px;

    box-shadow: none !important;

}

.lol-balance iconify-icon { margin-right: 6px; color: #2563eb !important; }



.lol-btn-login {

    background: linear-gradient(135deg, #2563eb 0%, #0066FF 100%) !important;

    color: #fff !important; border: none !important;

    padding: 9px 20px; border-radius: 999px;

    font-weight: 700; text-decoration: none;

    display: flex; align-items: center; gap: 8px;

    transition: all 0.25s;

    box-shadow: 0 6px 18px rgba(24, 119, 242, .25);

}

.lol-btn-login:hover {

    background: linear-gradient(135deg, #0d65d9 0%, #0052cc 100%) !important;

    box-shadow: 0 8px 24px rgba(24, 119, 242, .38) !important;

    transform: translateY(-2px);

    color: #ffffff !important;

}



/* ===== CATEGORY BAR ===== */

.lol-category-bar {

    background: #ffffff !important;

    border-bottom: 1px solid #e2e8f0 !important;

    padding: 10px 0;

    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02) !important;

}

.lol-category-bar-inner {

    max-width: 1880px; width: 98%; margin: 0 auto; padding: 0 16px;

    display: flex; gap: 10px; overflow-x: auto; align-items: center;

}

.lol-cat-chip {

    display: inline-flex; align-items: center; gap: 6px;

    background: #f8fafc !important; border: 1px solid #e2e8f0 !important;

    border-radius: 999px; padding: 8px 16px;

    white-space: nowrap; text-decoration: none;

    color: #475569 !important; font-weight: 600; font-size: 13px;

    transition: all 0.2s;

}

.lol-cat-chip:hover, .lol-cat-chip.active {

    background: #2563eb !important;

    color: #ffffff !important; border-color: #2563eb !important;

    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.3) !important;

}

.lol-cat-chip .count {

    background: rgba(24, 119, 242, 0.1); color: #2563eb; padding: 2px 8px;

    border-radius: 999px; font-size: 11px; font-weight: 700;

}

.lol-cat-chip:hover .count, .lol-cat-chip.active .count {

    background: rgba(255, 255, 255, 0.25); color: #ffffff;

}



/* ===== MAIN CONTENT ===== */

.lol-main { max-width: 1880px; width: 98%; margin: 24px auto; padding: 0 16px; }

.lol-content {

    background: #ffffff !important;

    border-radius: 16px; padding: 24px;

    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;

    border: 1px solid #e2e8f0 !important;

}



/* ===== CARD PRODUCT ===== */

.lol-product-card {

    background: #ffffff !important; border-radius: 14px;

    border: 1px solid #e2e8f0 !important; overflow: hidden;

    text-decoration: none; color: inherit;

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;

    display: block;

}

.lol-product-card:hover {

    transform: translateY(-4px);

    box-shadow: 0 14px 28px rgba(24, 119, 242, 0.12) !important;

    border-color: #93c5fd !important;

}

.lol-product-img {

    position: relative; aspect-ratio: 1;

    background: #f1f5f9 !important;

    display: flex; align-items: center; justify-content: center;

    overflow: hidden;

}

.lol-product-img img { width: 100%; height: 100%; object-fit: cover; }

.lol-product-img iconify-icon { font-size: 48px; color: #94a3b8 !important; opacity: 0.6; }

.lol-product-badge {

    position: absolute; top: 10px; left: 10px;

    background: #ef4444 !important; color: #fff;

    padding: 4px 10px; border-radius: 20px;

    font-size: 11px; font-weight: 700;

}

.lol-product-price {

    position: absolute; bottom: 10px; right: 10px;

    background: linear-gradient(135deg, #ef4444, #dc2626) !important;

    color: #ffffff !important; padding: 5px 12px;

    border-radius: 20px; font-weight: 800; font-size: 13px;

    box-shadow: 0 4px 10px rgba(239, 68, 68, .3) !important;

}

.lol-product-body { padding: 14px; }

.lol-product-title {

    font-weight: 700; color: #0f172a !important;

    font-size: 14px; margin-bottom: 8px;

    overflow: hidden; display: -webkit-box;

    -webkit-line-clamp: 2; -webkit-box-orient: vertical;

    min-height: 40px;

}

.lol-product-meta { display: flex; justify-content: space-between; align-items: center; }

.lol-product-rating { color: #f59e0b !important; font-size: 12px; }

.lol-product-sold { color: #64748b !important; font-size: 12px; }



/* ===== GRID ===== */

.lol-grid { display: grid; gap: 16px; }

.lol-grid-2 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.lol-grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.lol-grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }



/* ===== BUTTON ===== */

/* ===== BUTTON ===== */

.lol-btn {

    display: inline-flex; align-items: center; justify-content: center; gap: 8px;

    padding: 12px 24px; border-radius: 12px;

    font-weight: 700; font-size: 14px;

    text-decoration: none; border: none; cursor: pointer;

    transition: all 0.25s;

}

.lol-btn-primary {

    background: linear-gradient(135deg, #2563eb 0%, #0066FF 100%) !important;

    color: #fff !important;

    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.25);

}

.lol-btn-primary:hover {

    background: linear-gradient(135deg, #0d65d9 0%, #0052cc 100%) !important;

    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.35) !important;

    transform: translateY(-2px);

    color: #ffffff !important;

}

.lol-btn-secondary {

    background: #f1f5f9 !important; color: #334155 !important;

    border: 1px solid #cbd5e1 !important;

}

.lol-btn-secondary:hover {

    background: #e2e8f0 !important;

    color: #0f172a !important;

    box-shadow: none !important;

}

.lol-btn-danger { background: linear-gradient(135deg, #ef4444, #dc2626) !important; color: #fff !important; }

.lol-btn-warning { background: linear-gradient(135deg, #f59e0b, #d97706) !important; color: #fff !important; }



/* ===== FORM ===== */

.lol-form-group { margin-bottom: 16px; }

.lol-form-label {

    display: block; font-weight: 700; color: #1e293b !important;

    margin-bottom: 6px; font-size: 14px;

}

.lol-form-control {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid #cbd5e1 !important; border-radius: 12px;
    font-size: 14px; font-weight: 500;
    background: #ffffff !important; color: #0f172a !important;
    transition: all 0.2s;
    font-family: 'Be Vietnam Pro', 'Inter', system-ui, sans-serif;
}
input, select, textarea, button {
    font-family: 'Be Vietnam Pro', 'Inter', system-ui, sans-serif;
}

.lol-form-control:focus {

    outline: none;

    border-color: #2563eb !important;

    box-shadow: 0 0 0 4px rgba(24, 119, 242, 0.12) !important;

}

.lol-form-control::placeholder { color: #94a3b8 !important; }



/* ===== ALERT ===== */

.lol-alert {

    padding: 14px 18px; border-radius: 12px;

    margin-bottom: 16px; font-weight: 600; font-size: 14px;

}

.lol-alert-success {

    background: #ecfdf5 !important;

    border: 1px solid #a7f3d0 !important;

    color: #065f46 !important;

}

.lol-alert-error {

    background: #fef2f2 !important;

    border: 1px solid #fecaca !important;

    color: #991b1b !important;

}

.lol-alert-warning {

    background: #fffbeb !important;

    border: 1px solid #fde68a !important;

    color: #92400e !important;

}

.lol-alert-info {

    background: #eff6ff !important;

    border: 1px solid #bfdbfe !important;

    color: #1e40af !important;

}



/* ===== TABLE ===== */

.lol-table { width: 100%; border-collapse: collapse; }

.lol-table th, .lol-table td {

    padding: 12px 16px; text-align: left;

    border-bottom: 1px solid #e2e8f0 !important;

}

.lol-table th {

    background: #f8fafc !important;

    color: #334155 !important;

    font-weight: 700; font-size: 13px;

    text-transform: uppercase; letter-spacing: 0.5px;

    border-bottom: 2px solid #cbd5e1 !important;

}

.lol-table tr:hover td { background: #f8fafc !important; }



/* ===== PAGINATION ===== */

.lol-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 24px; }

.lol-pagination a, .lol-pagination span {

    display: flex; align-items: center; justify-content: center;

    min-width: 40px; height: 40px; padding: 0 12px;

    border-radius: 10px; text-decoration: none;

    font-weight: 700; font-size: 14px;

    transition: all 0.2s;

}

.lol-pagination a { background: #ffffff !important; border: 1px solid #e2e8f0 !important; color: #475569 !important; }

.lol-pagination a:hover { background: #f1f5f9 !important; border-color: #93c5fd !important; color: #2563eb !important; }

.lol-pagination .active { background: #2563eb !important; color: #ffffff !important; border: 1px solid #2563eb !important; box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3) !important; }



/* ===== FOOTER ===== */

.lol-footer {

    background: #ffffff !important; color: #64748b !important;

    padding: 44px 0 24px; margin-top: 60px;

    border-top: 1px solid #e2e8f0 !important;

}

.lol-footer-inner { max-width: 1880px; width: 98%; margin: 0 auto; padding: 0 16px; }

.lol-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }

.lol-footer-title { color: #0f172a !important; font-weight: 800; font-size: 16px; margin-bottom: 16px; }

.lol-footer-links { list-style: none; padding: 0; }

.lol-footer-links li { margin-bottom: 10px; }

.lol-footer-links a { color: #64748b !important; text-decoration: none; font-weight: 500; transition: color 0.2s; }

.lol-footer-links a:hover { color: #2563eb !important; }

.lol-footer-bottom {

    border-top: 1px solid #f1f5f9 !important; padding-top: 20px;

    text-align: center; font-size: 13px; color: #94a3b8 !important;

}

.lol-footer-bottom a { color: #2563eb !important; }



/* ===== HERO BANNER ===== */

.lol-hero {

    background: linear-gradient(135deg, #2563eb 0%, #0056D2 50%, #0284c7 100%) !important;

    border: none !important;

    border-radius: 20px; padding: 40px;

    color: #ffffff !important; margin-bottom: 24px;

    position: relative; overflow: hidden;

    box-shadow: 0 12px 36px rgba(24, 119, 242, 0.25) !important;

}

.lol-hero h1 { font-size: 2.2rem; font-weight: 800; color: #ffffff !important; text-shadow: 0 2px 10px rgba(0,0,0,0.15); margin-bottom: 12px; }

.lol-hero p { font-size: 1.05rem; color: #eff6ff !important; margin-bottom: 20px; }

.lol-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.lol-hero-btn {

    display: inline-flex; align-items: center; gap: 10px;

    padding: 13px 26px; border-radius: 12px;

    font-weight: 700; text-decoration: none; font-size: 14px;

    transition: all 0.25s;

}

.lol-hero-btn.primary {

    background: #ffffff !important;

    color: #2563eb !important;

    font-weight: 800;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);

}

.lol-hero-btn.primary:hover {

    background: #f8fafc !important;

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2) !important;

    transform: translateY(-2px);

    color: #0d65d9 !important;

}

.lol-hero-btn.ghost {

    background: rgba(255, 255, 255, 0.18) !important;

    color: #ffffff !important; border: 1.5px solid rgba(255, 255, 255, 0.4) !important;

    backdrop-filter: blur(8px);

}

.lol-hero-btn.ghost:hover {

    background: rgba(255, 255, 255, 0.28) !important;

    border-color: #ffffff !important;

}



/* ===== QUICK STAT ===== */

.lol-quick-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 24px; }

.lol-quick-stat {

    background: #ffffff !important; border-radius: 14px; padding: 18px 16px;

    text-align: center; border: 1px solid #e2e8f0 !important;

    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);

    transition: all 0.25s;

}

.lol-quick-stat:hover { border-color: #93c5fd !important; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(24, 119, 242, 0.1) !important; }

.lol-quick-stat-icon { font-size: 26px; color: #2563eb !important; margin-bottom: 8px; }

.lol-quick-stat-value { font-size: 1.6rem; font-weight: 800; color: #0f172a !important; text-shadow: none; }

.lol-quick-stat-label { font-size: 12px; color: #64748b !important; font-weight: 600; }



/* ===== SECTION ===== */

.lol-section { margin-bottom: 32px; }

.lol-section-header {

    display: flex; justify-content: space-between; align-items: center;

    margin-bottom: 16px;

}

.lol-section-title {

    display: flex; align-items: center; gap: 10px;

    font-size: 1.25rem; font-weight: 800; color: #0f172a !important;

}

.lol-section-title iconify-icon { color: #2563eb !important; font-size: 28px; }

.lol-section-link { color: #2563eb !important; font-weight: 700; text-decoration: none; }

.lol-section-link:hover { color: #0d65d9 !important; text-decoration: underline; }



/* ===== MARQUEE ===== */

.lol-marquee-wrap {

    background: #ffffff !important;

    border: 1px solid #e2e8f0 !important; border-radius: 16px;

    padding: 12px 0; margin: 16px 0;

    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);

    overflow: hidden;

}

.lol-marquee { overflow: hidden; white-space: nowrap; }

.lol-marquee-track {

    display: inline-flex; gap: 14px; padding: 0 18px;

    animation: lolScroll 60s linear infinite;

}

.lol-marquee-item {

    display: inline-flex; align-items: center; gap: 10px;

    background: #f8fafc !important; border: 1px solid #e2e8f0 !important;

    border-radius: 999px; padding: 8px 16px;

    font-size: 13px; white-space: nowrap;

    color: #334155 !important;

}

@keyframes lolScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }



/* ===== SPINNER ===== */

.lol-spinner {

    display: inline-block; width: 20px; height: 20px;

    border: 3px solid rgba(255,255,255,0.3);

    border-radius: 50%; border-top-color: #fff;

    animation: lolspin 0.8s linear infinite;

}

@keyframes lolspin { to { transform: rotate(360deg); } }



/* ===== MODAL ===== */

.lol-modal-overlay {

    position: fixed; inset: 0; background: rgba(15, 23, 42, 0.6) !important;

    display: flex; align-items: center; justify-content: center;

    z-index: 9999; opacity: 0; visibility: hidden;

    transition: all 0.3s;

    backdrop-filter: blur(4px);

    -webkit-backdrop-filter: blur(4px);

}

.lol-modal-overlay.active { opacity: 1; visibility: visible; }

.lol-modal {

    background: #ffffff !important; border-radius: 20px; max-width: 500px;

    width: 95%; max-height: 90vh; overflow: auto;

    transform: scale(0.95); transition: transform 0.3s;

    border: 1px solid #e2e8f0 !important;

    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25) !important;

}

.lol-modal-overlay.active .lol-modal { transform: scale(1); }

.lol-modal-header {

    padding: 20px 24px; border-bottom: 1px solid #e2e8f0 !important;

    display: flex; justify-content: space-between; align-items: center;

    background: #f8fafc !important;

}

.lol-modal-title { font-weight: 800; font-size: 18px; color: #0f172a !important; }

.lol-modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: #64748b !important; }

.lol-modal-body { padding: 24px; color: #334155 !important; }

.lol-modal-footer { padding: 16px 24px; border-top: 1px solid #e2e8f0 !important; display: flex; gap: 12px; justify-content: flex-end; background: #f8fafc !important; }



/* ===== SEARCH ===== */

.lol-search {

    display: flex; align-items: center; gap: 10px;

    background: #f8fafc !important; border: 1.5px solid #cbd5e1 !important;

    border-radius: 999px; padding: 6px 6px 6px 18px;

    max-width: 420px; flex: 1;

}

.lol-search input {

    flex: 1; border: none; outline: none;

    font-size: 14px; font-weight: 500;

    background: transparent !important; color: #0f172a !important;

}

.lol-search-btn {

    background: linear-gradient(135deg, #2563eb, #0066FF) !important;

    color: #fff !important; border: none; padding: 9px 20px;

    border-radius: 999px; font-weight: 700; cursor: pointer; transition: all 0.2s;

}

.lol-search-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3) !important; }



/* ===== BADGE ===== */

.lol-badge {

    display: inline-flex; align-items: center; gap: 4px;

    padding: 4px 10px; border-radius: 20px;

    font-size: 12px; font-weight: 700;

}

.lol-badge-success { background: #10b981 !important; color: #fff !important; }

.lol-badge-danger { background: #ef4444 !important; color: #fff !important; }

.lol-badge-warning { background: #f59e0b !important; color: #fff !important; }

.lol-badge-info { background: #2563eb !important; color: #fff !important; }



/* ===== USER PROFILE MENU & LANGUAGE DROPDOWN ===== */

.rs-lang-dropdown { position: relative; }

.rs-lang-btn {

    width: 38px; height: 38px; border-radius: 50%;

    background: #f1f5f9; border: 1.5px solid #e2e8f0;

    color: #475569; display: flex; align-items: center; justify-content: center;

    font-size: 18px; cursor: pointer; transition: all 0.2s;

}

.rs-lang-btn:hover { background: #e0f2fe; color: #2563eb; border-color: #bfdbfe; }

.rs-lang-menu {

    position: absolute; top: calc(100% + 8px); right: 0;

    background: #ffffff; border-radius: 14px;

    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);

    border: 1px solid #e2e8f0; min-width: 150px; padding: 6px;

    opacity: 0; visibility: hidden; transform: translateY(8px);

    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); z-index: 1000;

}

.rs-lang-dropdown:hover .rs-lang-menu {

    opacity: 1; visibility: visible; transform: translateY(0);

}

.rs-lang-item {

    display: flex; align-items: center; gap: 8px;

    padding: 8px 12px; border-radius: 8px; font-size: 13px; font-weight: 700;

    color: #334155 !important; text-decoration: none !important; transition: all 0.15s;

}

.rs-lang-item:hover { background: #eff6ff; color: #2563eb !important; }



.rs-user-menu-wrap { position: relative; }

.rs-user-pill-btn {

    display: inline-flex; align-items: center; gap: 8px;

    padding: 4px 12px 4px 6px; border-radius: 999px;

    background: #ffffff; border: 1.5px solid #bfdbfe;

    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.08);

    text-decoration: none !important; cursor: pointer;

    transition: all 0.2s ease;

}

.rs-user-pill-btn:hover {

    border-color: #2563eb; background: #f8fafc;

    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.16);

}

.rs-user-avatar-mini {

    width: 32px; height: 32px; border-radius: 50%;

    object-fit: cover; border: 2px solid #2563eb;

}

.rs-user-dropdown-panel {

    position: absolute; top: calc(100% + 10px); right: 0;

    width: 300px; max-height: calc(100vh - 120px); overflow-y: auto;

    background: #ffffff; border-radius: 20px;

    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);

    border: 1px solid #e2e8f0; padding: 10px;

    opacity: 0; visibility: hidden; transform: translateY(10px);

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    z-index: 1050; scrollbar-width: thin;

}

.rs-user-dropdown-panel.show {

    opacity: 1 !important; visibility: visible !important; transform: translateY(0) !important;

}

.rs-user-panel-head {

    display: flex; align-items: center; gap: 12px;

    padding: 12px 14px; background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);

    border-radius: 14px; border: 1px solid #dbeafe; margin-bottom: 8px;

}

.rs-user-panel-head b { display: block; font-size: 14px; font-weight: 800; color: #0f172a; line-height: 1.2; }

.rs-user-panel-head span { display: block; font-size: 13px; font-weight: 900; color: #16a34a; margin-top: 2px; }

.rs-user-panel-link {

    display: flex; align-items: center; gap: 10px;

    padding: 9px 12px; border-radius: 10px;

    color: #334155 !important; font-size: 13.5px; font-weight: 700;

    text-decoration: none !important; transition: all 0.15s ease;

}

.rs-user-panel-link:hover {

    background: #eff6ff !important; color: #2563eb !important;

    transform: translateX(3px);

}

.rs-user-panel-link.danger { color: #ef4444 !important; }

.rs-user-panel-link.danger:hover { background: #fef2f2 !important; color: #dc2626 !important; }

.rs-user-panel-link iconify-icon, .rs-user-panel-link i { font-size: 18px; width: 20px; text-align: center; }



/* ===== AUTH PAGE ===== */

.lol-auth-page {

    min-height: 100vh; display: flex; align-items: center; justify-content: center;

    background: #f8fafc !important;

    padding: 20px;

}

.lol-auth-card {

    background: #ffffff !important; border-radius: 24px;

    width: 100%; max-width: 440px;

    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08) !important;

    border: 1px solid #e2e8f0 !important;

    overflow: hidden;

}

.lol-auth-header {

    background: linear-gradient(135deg, #2563eb 0%, #0066FF 100%) !important;

    padding: 30px; text-align: center; color: #fff !important;

    border-bottom: none !important;

}

.lol-auth-header h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; color: #fff !important; }

.lol-auth-header p { opacity: 0.9; font-size: 14px; color: #eff6ff !important; }

.lol-auth-body { padding: 30px; }



/* ===== SPIN BUTTON FLOAT ===== */

.lol-spin-float {

    position: fixed; bottom: 30px; right: 30px;

    z-index: 999;

}

.lol-spin-float a {

    display: flex; align-items: center; justify-content: center;

    width: 58px; height: 58px;

    background: linear-gradient(135deg, #2563eb 0%, #0066FF 100%) !important;

    border-radius: 50%; color: #fff !important;

    font-size: 24px; text-decoration: none;

    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.35) !important;

    border: 3px solid #ffffff !important;

    animation: lolPulse 2s infinite;

}

@keyframes lolPulse {

    0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(24, 119, 242, 0.35); }

    50% { transform: scale(1.06); box-shadow: 0 12px 30px rgba(24, 119, 242, 0.5); }

}



/* ===== MOBILE DRAWER & BOTTOM NAV ===== */

.lol-mobile-menu-btn {

    display: none;

    background: transparent;

    border: none;

    color: #2563eb;

    font-size: 20px;

    cursor: pointer;

    padding: 6px 10px;

    border-radius: 8px;

    align-items: center;

    justify-content: center;

}

.lol-mobile-menu-btn:hover { background: #f1f5f9; }

/* ====== MODERN LUXURY NAVIGATION DRAWER (SMARTMMO BLUE OCEAN) ====== */

.muop-drawer-backdrop {

    position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55);

    z-index: 99998; opacity: 0; visibility: hidden;

    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

}

.muop-drawer-backdrop.active { opacity: 1; visibility: visible; }

.muop-drawer {

    position: fixed; top: 0; left: 0; bottom: 0;

    width: 330px; max-width: 88vw;

    background: #ffffff; z-index: 99999;

    box-shadow: 16px 0 50px rgba(15, 23, 42, 0.18);

    transform: translateX(-100%);

    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);

    display: flex; flex-direction: column; overflow: hidden;

    border-top-right-radius: 24px;

    border-bottom-right-radius: 24px;

}

.muop-drawer-backdrop.active .muop-drawer { transform: translateX(0); }

.muop-drawer-header {

    padding: 16px 20px;

    border-bottom: 1px solid #f1f5f9;

    display: flex; align-items: center; justify-content: space-between;

    background: #ffffff;

    flex-shrink: 0;

}

.muop-drawer-brand {

    display: inline-flex; align-items: center; text-decoration: none;

}

.muop-drawer-brand img {

    height: 38px; max-width: 200px; width: auto; object-fit: contain;

    filter: drop-shadow(0 2px 6px rgba(24, 119, 242, 0.15));

}

.muop-drawer-close {

    width: 36px; height: 36px; border-radius: 12px;

    background: #f8fafc; border: 1px solid #e2e8f0; color: #64748b;

    font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center;

    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);

}

.muop-drawer-close:hover {

    background: #fee2e2; color: #ef4444; border-color: #fca5a5;

    transform: rotate(90deg);

}

.muop-drawer-body {

    padding: 16px 14px 28px;

    flex: 1;

    overflow-y: auto;

    overflow-x: hidden;

}

.muop-drawer-body::-webkit-scrollbar {

    width: 5px;

}

.muop-drawer-body::-webkit-scrollbar-track {

    background: transparent;

}

.muop-drawer-body::-webkit-scrollbar-thumb {

    background: #e2e8f0;

    border-radius: 999px;

}

.muop-drawer-body::-webkit-scrollbar-thumb:hover {

    background: #cbd5e1;

}



/* User Card in Drawer */

.muop-user-card {

    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);

    border: 1px solid #dbeafe;

    border-radius: 18px;

    padding: 14px 16px;

    margin-bottom: 16px;

    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.06);

}

.muop-user-card-head {

    display: flex;

    align-items: center;

    gap: 12px;

}

.muop-user-avatar-wrap {

    position: relative;

    flex-shrink: 0;

}

.muop-user-avatar {

    width: 44px;

    height: 44px;

    border-radius: 50%;

    object-fit: cover;

    border: 2.5px solid #ffffff;

    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);

}

.muop-user-online-dot {

    position: absolute;

    bottom: 0;

    right: 0;

    width: 11px;

    height: 11px;

    background: #22c55e;

    border: 2px solid #ffffff;

    border-radius: 50%;

}

.muop-user-name {

    font-size: 15px;

    font-weight: 800;

    color: #0f172a;

    line-height: 1.25;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    max-width: 170px;

}

.muop-user-badge {

    display: inline-flex;

    align-items: center;

    gap: 4px;

    background: #eff6ff;

    color: #2563eb;

    font-size: 10.5px;

    font-weight: 800;

    padding: 2px 8px;

    border-radius: 999px;

    margin-top: 4px;

    border: 1px solid #bfdbfe;

}

.muop-user-balance-row {

    margin-top: 12px;

    padding-top: 10px;

    border-top: 1px dashed #bfdbfe;

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.muop-user-balance-val {

    font-size: 16px;

    font-weight: 900;

    color: #16a34a;

    line-height: 1.2;

}

.muop-user-nap-btn {

    background: linear-gradient(135deg, #2563eb 0%, #0056D2 100%);

    color: #ffffff !important;

    font-size: 12px;

    font-weight: 800;

    padding: 6px 14px;

    border-radius: 999px;

    text-decoration: none !important;

    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);

    transition: all 0.2s;

    display: inline-flex;

    align-items: center;

}

.muop-user-nap-btn:hover {

    transform: translateY(-1px);

    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.45);

}



/* Guest Card in Drawer */

.muop-guest-card {

    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);

    border: 1px solid #dbeafe;

    border-radius: 18px;

    padding: 14px 16px;

    margin-bottom: 16px;

    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.05);

}

.muop-guest-card-content {

    margin-bottom: 12px;

}

.muop-guest-badge {

    display: inline-flex;

    align-items: center;

    gap: 4px;

    background: #fffbeb;

    color: #b45309;

    font-size: 10.5px;

    font-weight: 800;

    padding: 2px 8px;

    border-radius: 999px;

    border: 1px solid #fde68a;

    margin-bottom: 6px;

}

.muop-guest-title {

    font-size: 14.5px;

    font-weight: 800;

    color: #0f172a;

    line-height: 1.2;

}

.muop-guest-sub {

    margin: 3px 0 0;

    font-size: 11.5px;

    color: #64748b;

    font-weight: 500;

}

.muop-guest-actions {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 8px;

}

.muop-guest-btn-login {

    background: linear-gradient(135deg, #2563eb, #0056D2);

    color: #fff !important;

    font-size: 13px;

    font-weight: 800;

    padding: 9px 12px;

    border-radius: 12px;

    text-align: center;

    text-decoration: none !important;

    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    transition: all 0.15s;

}

.muop-guest-btn-login:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(24, 119, 242, 0.35); }

.muop-guest-btn-reg {

    background: #ffffff;

    color: #334155 !important;

    border: 1.5px solid #cbd5e1;

    font-size: 13px;

    font-weight: 800;

    padding: 9px 12px;

    border-radius: 12px;

    text-align: center;

    text-decoration: none !important;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    transition: all 0.15s;

}

.muop-guest-btn-reg:hover { background: #f8fafc; border-color: #94a3b8; }



/* Nav Groups & Items */

.muop-drawer-section {

    background: #ffffff;

    border: 1px solid #f1f5f9;

    border-radius: 18px;

    padding: 6px;

    margin-bottom: 12px;

    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);

}

.muop-drawer-group-title {

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    color: #94a3b8;

    letter-spacing: 0.06em;

    padding: 6px 10px 4px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.muop-drawer-item {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 9px 10px;

    border-radius: 12px;

    text-decoration: none !important;

    color: #334155 !important;

    font-size: 13.5px;

    font-weight: 700;

    transition: all 0.18s ease;

    position: relative;

}

.muop-drawer-item:hover {

    background: #f8fafc;

    color: #2563eb !important;

    transform: translateX(3px);

}

.muop-drawer-item.active {

    background: #eff6ff;

    color: #2563eb !important;

    font-weight: 800;

    border: 1px solid #dbeafe;

}

.muop-drawer-icon {

    width: 28px;

    height: 28px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;

    color: #64748b;

    flex-shrink: 0;

    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);

    background: transparent !important;

}

.muop-drawer-item:hover .muop-drawer-icon,

.muop-drawer-item.active .muop-drawer-icon {

    color: #2563eb !important;

    transform: scale(1.15);

}

.muop-drawer-badge {

    font-size: 9.5px;

    font-weight: 800;

    padding: 2px 7px;

    border-radius: 999px;

    margin-left: auto;

    letter-spacing: 0.02em;

    text-transform: uppercase;

}

.muop-drawer-arrow {

    margin-left: auto;

    font-size: 11px;

    color: #cbd5e1;

    transition: transform 0.18s, color 0.18s;

}

.muop-drawer-item:hover .muop-drawer-arrow {

    transform: translateX(3px);

    color: #2563eb;

}



/* Drawer Footer */

.muop-drawer-footer {

    padding: 16px 10px 4px;

    border-top: 1px solid #f1f5f9;

    margin-top: 8px;

}

.muop-drawer-contact-chips {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 8px;

    margin-bottom: 12px;

}

.muop-drawer-chip {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    padding: 8px;

    border-radius: 10px;

    font-size: 11.5px;

    font-weight: 800;

    text-decoration: none !important;

    transition: all 0.15s;

}

.muop-drawer-chip.zalo {

    background: #e0f2fe;

    color: #0284c7 !important;

    border: 1px solid #bae6fd;

}

.muop-drawer-chip.zalo:hover { background: #bae6fd; }

.muop-drawer-chip.telegram {

    background: #eff6ff;

    color: #2563eb !important;

    border: 1px solid #dbeafe;

}

.muop-drawer-chip.telegram:hover { background: #dbeafe; }

.muop-drawer-copyright {

    text-align: center;

    font-size: 11px;

    color: #94a3b8;

    line-height: 1.5;

}



/* ====== FLOATING ACTION STACK ====== */

.lol-float-actions {

    position: fixed;

    bottom: 25px;

    right: 25px;

    z-index: 9980;

    display: flex;

    flex-direction: column;

    gap: 10px;

    align-items: flex-end;

}

@media (max-width: 768px) {

    .lol-float-actions {

        bottom: 74px; /* Above the 62px bottom-nav */

        right: 14px;

        gap: 8px;

    }

    .lol-float-btn {

        padding: 8px 13px;

        font-size: 12px;

    }

}

.lol-float-btn {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 18px;

    border-radius: 999px;

    font-size: 13.5px;

    font-weight: 800;

    text-decoration: none !important;

    border: 2px solid #ffffff;

    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);

    cursor: pointer;

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    user-select: none;

}

.lol-float-btn:hover {

    transform: translateY(-3px) scale(1.02);

}

.lol-float-forum {

    background: #ffffff;

    color: #0f172a !important;

    border: 2px solid #e2e8f0;

}

.lol-float-forum:hover {

    border-color: #2563eb;

    box-shadow: 0 10px 28px rgba(24, 119, 242, 0.25);

}

.lol-float-spin {

    background: linear-gradient(135deg, #2563eb 0%, #0056D2 100%);

    color: #ffffff !important;

    border-color: #ffffff;

    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.35);

    animation: lolPulse 2.5s infinite;

}

.live-pulse-dot {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);

    animation: livePulseAnim 1.8s infinite;

    display: inline-block;

}

@keyframes livePulseAnim {

    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }

    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }

    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }

}



/* ====== FORUM LIVE CHAT SIDEBAR ====== */

.forum-backdrop {

    position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55);

    z-index: 99998; opacity: 0; visibility: hidden;

    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    backdrop-filter: blur(5px);

    -webkit-backdrop-filter: blur(5px);

}

.forum-backdrop.active { opacity: 1; visibility: visible; }

.forum-sidebar {

    position: fixed; top: 0; right: 0; bottom: 0;

    width: 380px; max-width: 92vw;

    background: #ffffff; z-index: 99999;

    box-shadow: -10px 0 35px rgba(15, 23, 42, 0.18);

    transform: translateX(100%);

    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);

    display: flex; flex-direction: column; overflow: hidden;

    border-top-left-radius: 20px;

    border-bottom-left-radius: 20px;

}

.forum-sidebar.active { transform: translateX(0); }

.forum-header {

    padding: 14px 16px;

    background: linear-gradient(135deg, #2563eb 0%, #0056D2 100%);

    color: #ffffff;

    display: flex; align-items: center; justify-content: space-between;

    flex-shrink: 0;

    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.25);

}

.forum-header-info {

    display: flex;

    align-items: center;

    gap: 10px;

}

.forum-header-icon {

    width: 38px;

    height: 38px;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.18);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 18px;

    position: relative;

    flex-shrink: 0;

}

.forum-header-title {

    font-size: 15px;

    font-weight: 900;

    letter-spacing: -0.01em;

    margin: 0;

    line-height: 1.2;

}

.forum-header-status {

    font-size: 11px;

    opacity: 0.9;

    display: flex;

    align-items: center;

    gap: 5px;

    margin-top: 2px;

}

.forum-btn-icon {

    background: rgba(255, 255, 255, 0.15);

    border: none;

    color: #ffffff;

    width: 32px;

    height: 32px;

    border-radius: 10px;

    font-size: 14px;

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    transition: all 0.2s;

}

.forum-btn-icon:hover {

    background: rgba(255, 255, 255, 0.3);

    transform: scale(1.08);

}

.forum-pinned-bar {

    background: #fffbeb;

    border-bottom: 1px solid #fef3c7;

    padding: 9px 14px;

    display: flex;

    align-items: flex-start;

    gap: 8px;

    flex-shrink: 0;

    font-size: 12px;

}

.forum-pinned-icon {

    color: #d97706;

    margin-top: 2px;

}

.forum-pinned-text {

    color: #78350f;

    line-height: 1.35;

    flex: 1;

}

.forum-body {

    flex: 1;

    overflow-y: auto;

    padding: 14px 12px;

    display: flex;

    flex-direction: column;

    gap: 12px;

    background: #f8fafc;

}

.forum-msg {

    display: flex;

    gap: 8px;

    max-width: 90%;

    animation: fadeInMsg 0.25s ease-out;

}

@keyframes fadeInMsg {

    from { opacity: 0; transform: translateY(6px); }

    to { opacity: 1; transform: translateY(0); }

}

.forum-msg-other { align-self: flex-start; }

.forum-msg-me {

    align-self: flex-end;

    flex-direction: row-reverse;

}

.forum-msg-avatar {

    width: 34px;

    height: 34px;

    border-radius: 50%;

    object-fit: cover;

    border: 1.5px solid #e2e8f0;

    flex-shrink: 0;

}

.forum-msg-content-wrap {

    display: flex;

    flex-direction: column;

}

.forum-msg-me .forum-msg-content-wrap {

    align-items: flex-end;

}

.forum-msg-author {

    font-size: 11px;

    font-weight: 800;

    color: #2563eb;

    margin-bottom: 3px;

    display: flex;

    align-items: center;

    gap: 5px;

}

.forum-msg-admin-badge {

    background: #2563eb;

    color: #ffffff;

    font-size: 9px;

    padding: 1px 5px;

    border-radius: 4px;

    font-weight: 800;

}

.forum-msg-time {

    font-size: 10px;

    color: #94a3b8;

    font-weight: 500;

}

.forum-bubble-other {

    background: #ffffff;

    color: #1e293b;

    border: 1px solid #e2e8f0;

    border-radius: 4px 16px 16px 16px;

    padding: 8px 12px;

    font-size: 13.5px;

    line-height: 1.45;

    word-break: break-word;

    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);

}

.forum-bubble-me {

    background: linear-gradient(135deg, #2563eb, #0056D2);

    color: #ffffff !important;

    border-radius: 16px 4px 16px 16px;

    padding: 8px 12px;

    font-size: 13.5px;

    line-height: 1.45;

    word-break: break-word;

    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);

}

.forum-sticker-img {

    max-width: 120px;

    max-height: 120px;

    object-fit: contain;

    border-radius: 10px;

    display: block;

}

.forum-gift-box {

    background: #fffbeb;

    border: 1px dashed #fcd34d;

    border-radius: 12px;

    padding: 8px 12px;

    text-align: center;

    color: #92400e;

    font-size: 12px;

    font-weight: 800;

}

.forum-gift-img {

    width: 60px;

    height: 60px;

    object-fit: contain;

    display: block;

    margin: 0 auto 4px;

}

.forum-quick-emojis {

    display: flex;

    gap: 6px;

    padding: 7px 12px;

    background: #ffffff;

    border-top: 1px solid #f1f5f9;

    overflow-x: auto;

    flex-shrink: 0;

}

.forum-emoji-btn {

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 8px;

    width: 32px;

    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 16px;

    cursor: pointer;

    flex-shrink: 0;

    transition: transform 0.15s, background 0.15s;

}

.forum-emoji-btn:hover {

    transform: scale(1.2);

    background: #eff6ff;

    border-color: #bfdbfe;

}

.forum-footer {

    padding: 10px 12px;

    background: #ffffff;

    border-top: 1px solid #e2e8f0;

    flex-shrink: 0;

}

.forum-input-form {

    display: flex;

    gap: 8px;

    align-items: center;

}

.forum-input-text {

    flex: 1;

    border: 1.5px solid #cbd5e1;

    border-radius: 20px;

    padding: 8px 14px;

    font-size: 13.5px;

    font-family: inherit;

    resize: none;

    outline: none;

    height: 40px;

    line-height: 22px;

    box-sizing: border-box;

    transition: border-color 0.2s, box-shadow 0.2s;

}

.forum-input-text:focus {

    border-color: #2563eb;

    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.15);

}

.forum-send-btn {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    background: linear-gradient(135deg, #2563eb, #0056D2);

    border: none;

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: transform 0.15s, box-shadow 0.15s;

    flex-shrink: 0;

    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);

}

.forum-send-btn:hover {

    transform: scale(1.06);

}

.forum-send-btn:disabled {

    opacity: 0.6;

    cursor: not-allowed;

    transform: none;

}

.forum-guest-alert {

    text-align: center;

    padding: 8px;

    font-size: 13px;

    color: #64748b;

}

.forum-guest-alert a {

    color: #2563eb;

    font-weight: 800;

    text-decoration: underline;

}



.muop-bottom-nav {

    display: none;

    position: fixed; bottom: 0; left: 0; right: 0; height: 62px;

    background: #ffffff; border-top: 1px solid #e2e8f0;

    z-index: 9990;

    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.06);

}

.muop-bnav-item {

    display: flex; flex-direction: column; align-items: center; justify-content: center;

    gap: 3px; flex: 1; height: 100%; text-decoration: none;

    color: #64748b !important; font-size: 11px; font-weight: 700;

    transition: color 0.15s; position: relative;

}

.muop-bnav-item i, .muop-bnav-item iconify-icon { font-size: 20px; }

.muop-bnav-item.active, .muop-bnav-item:hover { color: #2563eb !important; }

.muop-bnav-spin { position: relative; top: -14px; }

.muop-bnav-spin-inner {

    width: 48px; height: 48px; border-radius: 50%;

    background: linear-gradient(135deg, #2563eb, #0056D2);

    display: flex; align-items: center; justify-content: center;

    color: #fff !important; font-size: 20px;

    box-shadow: 0 6px 18px rgba(24, 119, 242, 0.4);

    border: 3px solid #ffffff;

}



/* ===== RESPONSIVE ===== */

@media (max-width: 1199px) {

    .lol-nav-links { display: none !important; }

    .lol-mobile-menu-btn { display: inline-flex !important; }

}

@media (max-width: 768px) {

    .muop-bottom-nav { display: flex; align-items: center; justify-content: space-around; }

    body { padding-bottom: 70px !important; }

    .lol-spin-float { display: none !important; }

    .lol-logo-title { font-size: 1rem; }

    .lol-hero { padding: 24px; }

    .lol-hero h1 { font-size: 1.5rem; }

    .lol-grid-2, .lol-grid-4 { grid-template-columns: repeat(2, 1fr); }

    .lol-grid-3 { grid-template-columns: 1fr; }

    .lol-content { padding: 16px; }

}



@media (max-width: 480px) {

    .lol-grid-2, .lol-grid-4 { grid-template-columns: 1fr; }

    .lol-hero { padding: 18px 12px; }

    .lol-hero h1 { font-size: 1.25rem; }

    .muop-bnav-item span { font-size: 10px; }

    .muop-bnav-item iconify-icon { font-size: 20px; }

    .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

}

html, body {

    overflow-x: hidden;

    max-width: 100vw;

}



/* ===== SCROLLBAR ===== */

::-webkit-scrollbar { width: 8px; height: 8px; }

::-webkit-scrollbar-track { background: #f1f5f9; }

::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

::-webkit-scrollbar-thumb:hover { background: #94a3b8; }



/* ===== SELECT ===== */

select.lol-form-control {

    appearance: none;

    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;

    background-position: right 12px center;

    background-repeat: no-repeat;

    background-size: 20px;

    padding-right: 40px;

}



/* ===== LINKS ===== */

a { color: #2563eb !important; transition: color 0.2s; }

a:hover { color: #0d65d9 !important; text-shadow: none !important; }

h1, h2, h3, h4, h5, h6 { color: #0f172a; }

[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6,

body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode h5, body.dark-mode h6,

.theme-dark h1, .theme-dark h2, .theme-dark h3, .theme-dark h4, .theme-dark h5, .theme-dark h6 {

    color: #f8fafc !important;

}



/* ===== SMARTMMO MODERN UI SYSTEM PRIMITIVES ===== */

.d-flex { display: flex !important; }

.d-inline-flex { display: inline-flex !important; }

.d-none { display: none !important; }

.d-block { display: block !important; }

.flex-column { flex-direction: column !important; }

.flex-wrap { flex-wrap: wrap !important; }

.justify-content-between { justify-content: space-between !important; }

.justify-content-center { justify-content: center !important; }

.justify-content-end { justify-content: flex-end !important; }

.align-items-center { align-items: center !important; }

.align-items-start { align-items: flex-start !important; }

.gap-1 { gap: 4px !important; }

.gap-2 { gap: 8px !important; }

.gap-3 { gap: 16px !important; }

.gap-4 { gap: 24px !important; }

.w-100 { width: 100% !important; }

.h-100 { height: 100% !important; }

.m-0 { margin: 0 !important; }

.mb-1 { margin-bottom: 4px !important; }

.mb-2 { margin-bottom: 8px !important; }

.mb-3 { margin-bottom: 16px !important; }

.mb-4 { margin-bottom: 24px !important; }

.mt-1 { margin-top: 4px !important; }

.mt-2 { margin-top: 8px !important; }

.mt-3 { margin-top: 16px !important; }

.mt-4 { margin-top: 24px !important; }

.me-1 { margin-right: 4px !important; }

.me-2 { margin-right: 8px !important; }

.px-3 { padding-left: 16px !important; padding-right: 16px !important; }

.px-4 { padding-left: 24px !important; padding-right: 24px !important; }

.text-center { text-align: center !important; }

.text-end { text-align: right !important; }

.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.font-monospace { font-family: 'JetBrains Mono', 'Fira Code', monospace !important; }



/* Grid System */

.row { display: flex; flex-wrap: wrap; margin-left: -12px; margin-right: -12px; }

.row > * { box-sizing: border-box; flex-shrink: 0; width: 100%; max-width: 100%; padding-left: 12px; padding-right: 12px; }

.g-2 { margin-left: -4px; margin-right: -4px; }

.g-2 > * { padding-left: 4px; padding-right: 4px; }

.g-3 { margin-left: -8px; margin-right: -8px; }

.g-3 > * { padding-left: 8px; padding-right: 8px; }

.g-4 { margin-left: -12px; margin-right: -12px; }

.g-4 > * { padding-left: 12px; padding-right: 12px; }

@media (min-width: 768px) {

    .col-md-6 { width: 50% !important; flex: 0 0 50% !important; }

    .col-md-4 { width: 33.333% !important; flex: 0 0 33.333% !important; }

}

@media (min-width: 992px) {

    .col-lg-6 { width: 50% !important; flex: 0 0 50% !important; }

    .col-lg-4 { width: 33.333% !important; flex: 0 0 33.333% !important; }

    .col-lg-3 { width: 25% !important; flex: 0 0 25% !important; }

}



/* Modern Form Controls */

.form-control {

    display: block;

    width: 100%;

    box-sizing: border-box;

    padding: 12px 16px;

    font-size: 14px;

    font-weight: 500;

    line-height: 1.5;

    color: #0f172a;

    background-color: #f8fafc;

    background-clip: padding-box;

    border: 1.5px solid #cbd5e1;

    border-radius: 12px;

    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, background-color .15s;

    outline: none;

    font-family: inherit;

}

.form-control:focus {

    color: #0f172a;

    background-color: #ffffff;

    border-color: #2563eb;

    box-shadow: 0 0 0 4px rgba(24, 119, 242, 0.15);

}

.form-control-sm {

    padding: 8px 12px;

    font-size: 12.5px;

    border-radius: 8px;

}

.form-label {

    display: inline-block;

    margin-bottom: 6px;

    font-size: 13.5px;

    font-weight: 700;

    color: #1e293b;

}

.form-check-input {

    width: 18px;

    height: 18px;

    margin: 0;

    vertical-align: middle;

    background-color: #fff;

    border: 1.5px solid #cbd5e1;

    border-radius: 5px;

    appearance: none;

    -webkit-appearance: none;

    cursor: pointer;

    position: relative;

    transition: all 0.2s;

    outline: none;

    display: inline-block;

}

.form-check-input:checked {

    background-color: #2563eb;

    border-color: #2563eb;

    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");

    background-repeat: no-repeat;

    background-position: center;

    background-size: 12px;

}



/* Modern Buttons */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    font-weight: 700;

    line-height: 1.4;

    text-align: center;

    text-decoration: none !important;

    vertical-align: middle;

    cursor: pointer;

    user-select: none;

    border: 1.5px solid transparent;

    padding: 10px 20px;

    font-size: 14px;

    border-radius: 12px;

    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);

    box-sizing: border-box;

    font-family: inherit;

}

.btn:hover {

    transform: translateY(-1px);

}

.btn:active {

    transform: translateY(0);

}

.btn:disabled {

    opacity: 0.6;

    pointer-events: none;

    cursor: not-allowed;

    transform: none !important;

}

.btn-sm {

    padding: 6px 14px;

    font-size: 12.5px;

    border-radius: 8px;

}

.btn-lg {

    padding: 14px 28px;

    font-size: 16px;

    border-radius: 14px;

}

.btn-primary {

    background: linear-gradient(135deg, #2563eb 0%, #0056D2 100%);

    color: #ffffff !important;

    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.25);

    border: none;

}

.btn-primary:hover {

    box-shadow: 0 8px 22px rgba(24, 119, 242, 0.38);

    filter: brightness(1.05);

}

.btn-outline-primary {

    background: #ffffff;

    color: #2563eb !important;

    border-color: #bfdbfe;

}

.btn-outline-primary:hover {

    background: #eff6ff;

    border-color: #2563eb;

    color: #0056D2 !important;

}

.btn-outline-secondary {

    background: #f8fafc;

    color: #475569 !important;

    border-color: #e2e8f0;

}

.btn-outline-secondary:hover {

    background: #e2e8f0;

    color: #0f172a !important;

}

.btn-outline-danger {

    background: #ffffff;

    color: #dc2626 !important;

    border-color: #fecaca;

}

.btn-outline-danger:hover {

    background: #fef2f2;

    border-color: #dc2626;

}

.btn-outline-success {

    background: #ffffff;

    color: #059669 !important;

    border-color: #a7f3d0;

}

.btn-outline-success:hover {

    background: #ecfdf5;

    border-color: #059669;

}

.btn-info {

    background: #0284c7;

    color: #ffffff !important;

}

.btn-success {

    background: #10b981;

    color: #ffffff !important;

}

.btn-danger {

    background: #ef4444;

    color: #ffffff !important;

}



/* Modern Tables */

.table-responsive {

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

    border-radius: 14px;

    border: 1px solid #e2e8f0;

}

.table {

    width: 100%;

    margin-bottom: 0;

    vertical-align: top;

    border-collapse: collapse;

    font-size: 13.5px;

}

.table th, .table td {

    padding: 12px 14px;

    border-bottom: 1px solid #f1f5f9;

}

.table-bordered th, .table-bordered td {

    border: 1px solid #e2e8f0;

}

.table-hover tbody tr:hover {

    background-color: #f8fafc;

}



/* Text Colors */

.text-dark { color: #0f172a !important; }

.text-secondary { color: #64748b !important; }

.text-muted { color: #94a3b8 !important; }

.text-primary { color: #2563eb !important; }

.text-success { color: #10b981 !important; }

.text-danger { color: #ef4444 !important; }

.text-warning { color: #f59e0b !important; }

.fw-bold { font-weight: 700 !important; }

.fw-bolder { font-weight: 800 !important; }





/* ==========================================================================

/* ==========================================================================
   GEMLOGIN SIGNATURE DARK THEME (DARK MODE - CHUẨN GEMLOGIN VIVID ROYAL BLUE)
   ========================================================================== */
[data-theme="dark"], body.dark-mode, .theme-dark {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --primary-glow: 0 8px 24px rgba(37, 99, 235, 0.35);
    
    --lol-bg-0: #0b0f19;
    --lol-bg-1: #0f1422;
    --lol-bg-2: #111827;
    --lol-bg-3: #162034;
    --lol-line: #1e2638;
    --lol-line-soft: #172030;
    --lol-text: #f8fafc;
    --lol-text-soft: #cbd5e1;
    --lol-text-mute: #94a3b8;
    --lol-gold: #fbbf24;
    --lol-cyan: #3b82f6;
    --lol-glow-cyan: 0 6px 20px rgba(37, 99, 235, .35);
    --lol-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --card-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    --card-hover-shadow: 0 16px 36px rgba(37, 99, 235, 0.25);

    /* STANDARD COMMONS FOR ALL SERVICE/HẠ TẦNG VIEWS (DARK MODE) */
    --bg-card:         #111827;
    --bg-card-subtle:  #0f1422;
    --bg-subtle:       #162034;
    --bg-input:        #0b0f19;
    --border-color:    #1e2638;
    --border-hover:    #2563eb;
    --text-main:       #f8fafc;
    --text-soft:       #cbd5e1;
    --text-muted:      #94a3b8;
    --text-dim:        #94a3b8;
    --badge-bg:        rgba(37, 99, 235, 0.16);
    --badge-border:    rgba(37, 99, 235, 0.35);
    --badge-color:     #60a5fa;
}

[data-theme="dark"] body, body.dark-mode {
    background: #0b0f19 !important;
    background-image:
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 90% 90%, rgba(29, 78, 216, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #0b0f19 0%, #0d121e 100%) !important;
    /* scroll performance: removed fixed attachment */
    color: #f8fafc !important;
}

[data-theme="dark"] .lol-topbar, body.dark-mode .lol-topbar {
    background: #0d121e !important;
    border-bottom: 1px solid #1e2638 !important;
}

[data-theme="dark"] .lol-navbar, body.dark-mode .lol-navbar {
    background: rgba(15, 20, 34, 0.94) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid #1e2638 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .lol-nav-link, body.dark-mode .lol-nav-link {
    color: #94a3b8 !important;
}

[data-theme="dark"] .lol-nav-link:hover, body.dark-mode .lol-nav-link:hover,
[data-theme="dark"] .lol-nav-link.active, body.dark-mode .lol-nav-link.active {
    background: rgba(37, 99, 235, 0.16) !important;
    color: #60a5fa !important;
}

[data-theme="dark"] .lol-dropdown-menu, body.dark-mode .lol-dropdown-menu {
    background: #0f1422 !important;
    border: 1px solid #1e2638 !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .lol-dropdown-menu a, body.dark-mode .lol-dropdown-menu a {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .lol-dropdown-menu a:hover, body.dark-mode .lol-dropdown-menu a:hover {
    background: rgba(37, 99, 235, 0.14) !important;
    color: #60a5fa !important;
}

[data-theme="dark"] .lol-content,
[data-theme="dark"] .lol-product-card,
[data-theme="dark"] .lol-auth-card,
[data-theme="dark"] .lol-modal,
[data-theme="dark"] .lol-category-bar,
[data-theme="dark"] .lol-quick-stat,
[data-theme="dark"] .lol-marquee-wrap,
[data-theme="dark"] .muop-drawer-section,
[data-theme="dark"] .rs-lang-menu,
[data-theme="dark"] .forum-quick-emojis,
[data-theme="dark"] .adm-card,
[data-theme="dark"] .card,
body.dark-mode .lol-content,
body.dark-mode .lol-product-card,
body.dark-mode .lol-auth-card,
body.dark-mode .lol-modal,
body.dark-mode .lol-category-bar,
body.dark-mode .lol-quick-stat,
body.dark-mode .lol-marquee-wrap,
body.dark-mode .muop-drawer-section,
body.dark-mode .rs-lang-menu,
body.dark-mode .forum-quick-emojis,
body.dark-mode .adm-card,
body.dark-mode .card {
    background: #111827 !important;
    color: #f8fafc !important;
    border-color: #1e2638 !important;
}

[data-theme="dark"] .lol-form-control,
[data-theme="dark"] .form-control,
[data-theme="dark"] .adm-form-control,
body.dark-mode .lol-form-control,
body.dark-mode .form-control,
body.dark-mode .adm-form-control {
    background: #0b0f19 !important;
    color: #f8fafc !important;
    border-color: #1e2638 !important;
}

[data-theme="dark"] .lol-form-control:focus,
[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .adm-form-control:focus,
body.dark-mode .lol-form-control:focus,
body.dark-mode .form-control:focus,
body.dark-mode .adm-form-control:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25) !important;
}

[data-theme="dark"] .lol-modal-title,
[data-theme="dark"] .lol-modal-body,
[data-theme="dark"] .lol-quick-stat-value,
body.dark-mode .lol-modal-title,
body.dark-mode .lol-modal-body,
body.dark-mode .lol-quick-stat-value {
    color: #f8fafc !important;
}

[data-theme="dark"] .lol-modal-footer,
body.dark-mode .lol-modal-footer {
    background: #0c101a !important;
    border-top-color: #1e2638 !important;
}

[data-theme="dark"] .rs-user-pill-btn, body.dark-mode .rs-user-pill-btn {
    background: #0f1422 !important;
    border: 1px solid #1e2638 !important;
}

[data-theme="dark"] .rs-user-pill-btn span, body.dark-mode .rs-user-pill-btn span {
    color: #f8fafc !important;
}

[data-theme="dark"] .rs-user-dropdown-panel, body.dark-mode .rs-user-dropdown-panel {
    background: #0f1422 !important;
    border: 1px solid #1e2638 !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .rs-user-panel-head, body.dark-mode .rs-user-panel-head {
    background: #0b0f19 !important;
    border-bottom: 1px solid #1e2638 !important;
}

[data-theme="dark"] .rs-user-panel-link, body.dark-mode .rs-user-panel-link {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .rs-user-panel-link:hover, body.dark-mode .rs-user-panel-link:hover {
    background: rgba(37, 99, 235, 0.14) !important;
    color: #60a5fa !important;
}

[data-theme="dark"] .lol-footer, body.dark-mode .lol-footer {
    background: #0d121e !important;
    border-top: 1px solid #1e2638 !important;
}

[data-theme="dark"] .lol-footer-title, body.dark-mode .lol-footer-title {
    color: #f8fafc !important;
}

[data-theme="dark"] .lol-footer, body.dark-mode .lol-footer,
[data-theme="dark"] .lol-footer p, body.dark-mode .lol-footer p {
    color: #94a3b8 !important;
}

/* GEMLOGIN TABLES (DARK MODE) */
[data-theme="dark"] table th, body.dark-mode table th,
[data-theme="dark"] .table th, body.dark-mode .table th,
[data-theme="dark"] .adm-table th, body.dark-mode .adm-table th {
    background: #161f32 !important;
    color: #94a3b8 !important;
    border-color: #1e2638 !important;
    font-weight: 700 !important;
}

[data-theme="dark"] table td, body.dark-mode table td,
[data-theme="dark"] .table td, body.dark-mode .table td,
[data-theme="dark"] .adm-table td, body.dark-mode .adm-table td {
    background: transparent !important;
    border-color: #1e2638 !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] table tbody tr:hover, body.dark-mode table tbody tr:hover,
[data-theme="dark"] .table tbody tr:hover, body.dark-mode .table tbody tr:hover,
[data-theme="dark"] .adm-table tbody tr:hover, body.dark-mode .adm-table tbody tr:hover {
    background: #162238 !important;
}

/* DRAWER & MOBILE NAV DARK THEME */
[data-theme="dark"] .muop-drawer, body.dark-mode .muop-drawer {
    background: #0f1422 !important;
    border-right: 1px solid #1e2638 !important;
    box-shadow: 16px 0 50px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .muop-drawer-header, body.dark-mode .muop-drawer-header {
    background: #0b0f19 !important;
    border-bottom: 1px solid #1e2638 !important;
}

[data-theme="dark"] .muop-drawer-close, body.dark-mode .muop-drawer-close {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid #1e2638 !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .muop-user-card, body.dark-mode .muop-user-card {
    background: linear-gradient(135deg, #111827, #0f1422) !important;
    border: 1px solid rgba(37, 99, 235, 0.35) !important;
}

[data-theme="dark"] .muop-user-name, body.dark-mode .muop-user-name {
    color: #f8fafc !important;
}

[data-theme="dark"] .muop-drawer-item, body.dark-mode .muop-drawer-item {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .muop-drawer-item:hover, body.dark-mode .muop-drawer-item:hover,
[data-theme="dark"] .muop-drawer-item.active, body.dark-mode .muop-drawer-item.active {
    background: rgba(37, 99, 235, 0.16) !important;
    color: #60a5fa !important;
}

[data-theme="dark"] .muop-drawer-group-title, body.dark-mode .muop-drawer-group-title {
    color: #94a3b8 !important;
    border-top: 1px solid #1e2638 !important;
}

[data-theme="dark"] .muop-drawer-footer, body.dark-mode .muop-drawer-footer {
    background: #0b0f19 !important;
    border-top: 1px solid #1e2638 !important;
}

[data-theme="dark"] .muop-drawer-chip, body.dark-mode .muop-drawer-chip {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid #1e2638 !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .muop-bottom-nav, body.dark-mode .muop-bottom-nav {
    background: rgba(13, 18, 30, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-top: 1px solid #1e2638 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .muop-bnav-item, body.dark-mode .muop-bnav-item {
    color: #94a3b8 !important;
}

[data-theme="dark"] .muop-bnav-item.active, body.dark-mode .muop-bnav-item.active {
    color: #60a5fa !important;
}

/* FORUM / LIVECHAT DARK THEME */
[data-theme="dark"] .forum-sidebar, body.dark-mode .forum-sidebar {
    background: #0f1422 !important;
    border-left: 1px solid #1e2638 !important;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .forum-body, body.dark-mode .forum-body {
    background: #0b0f19 !important;
}

[data-theme="dark"] .forum-footer, body.dark-mode .forum-footer {
    background: #0f1422 !important;
    border-top: 1px solid #1e2638 !important;
}

[data-theme="dark"] .forum-input-text, body.dark-mode .forum-input-text {
    background: #0b0f19 !important;
    border: 1px solid #1e2638 !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .forum-bubble-other, body.dark-mode .forum-bubble-other {
    background: #162034 !important;
    color: #f8fafc !important;
    border: 1px solid #1e2638 !important;
}

[data-theme="dark"] .forum-bubble-me, body.dark-mode .forum-bubble-me {
    background: #2563eb !important;
    color: #ffffff !important;
}

/* ==========================================================================
   GEMLOGIN LIGHT SAAS THEME (LIGHT MODE ELEVATION - IMAGE 1)
   ========================================================================== */
html[data-theme="light"] body, body:not(.dark-mode) {
    background: #f8fafc !important;
    background-image:
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 90% 90%, rgba(29, 78, 216, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
    /* scroll performance: removed fixed attachment */
    color: #0f172a !important;
}

html[data-theme="light"] .lol-navbar, body:not(.dark-mode) .lol-navbar {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .lol-nav-link, body:not(.dark-mode) .lol-nav-link {
    color: #334155 !important;
}

html[data-theme="light"] .lol-nav-link:hover, body:not(.dark-mode) .lol-nav-link:hover,
html[data-theme="light"] .lol-nav-link.active, body:not(.dark-mode) .lol-nav-link.active {
    background: #eff6ff !important;
    color: #2563eb !important;
}

html[data-theme="light"] .rs-user-pill-btn, body:not(.dark-mode) .rs-user-pill-btn {
    background: #f1f5f9 !important;
    border: 1.5px solid #cbd5e1 !important;
}

html[data-theme="light"] .rs-user-pill-btn span, body:not(.dark-mode) .rs-user-pill-btn span {
    color: #0f172a !important;
}

html[data-theme="light"] .rs-user-dropdown-panel, body:not(.dark-mode) .rs-user-dropdown-panel {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .rs-user-panel-head, body:not(.dark-mode) .rs-user-panel-head {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

html[data-theme="light"] .rs-user-panel-link, body:not(.dark-mode) .rs-user-panel-link {
    color: #334155 !important;
}

html[data-theme="light"] .rs-user-panel-link:hover, body:not(.dark-mode) .rs-user-panel-link:hover {
    background: #eff6ff !important;
    color: #2563eb !important;
}

.theme-toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(15, 23, 42, 0.65);
    color: #f8fafc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
    transform: scale(1.06);
    border-color: #2563eb;
}

html[data-theme="light"] .theme-toggle-btn, body:not(.dark-mode) .theme-toggle-btn {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #f59e0b !important;
}

html[data-theme="light"] .muop-drawer, body:not(.dark-mode) .muop-drawer {
    background: #ffffff !important;
    border-right: 1px solid #e2e8f0 !important;
    box-shadow: 16px 0 50px rgba(15, 23, 42, 0.15) !important;
}

html[data-theme="light"] .muop-drawer-header, body:not(.dark-mode) .muop-drawer-header {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

html[data-theme="light"] .muop-drawer-item, body:not(.dark-mode) .muop-drawer-item {
    color: #334155 !important;
}

html[data-theme="light"] .muop-drawer-item:hover, body:not(.dark-mode) .muop-drawer-item:hover,
html[data-theme="light"] .muop-drawer-item.active, body:not(.dark-mode) .muop-drawer-item.active {
    background: #eff6ff !important;
    color: #2563eb !important;
}


html[data-theme="light"] .muop-drawer-header, body:not(.dark-mode) .muop-drawer-header {

    background: #f8fafc !important;

    border-bottom: 1px solid #e2e8f0 !important;

}

html[data-theme="light"] .muop-drawer-item, body:not(.dark-mode) .muop-drawer-item {

    color: #334155 !important;

}

html[data-theme="light"] .muop-drawer-item:hover, body:not(.dark-mode) .muop-drawer-item:hover {

    background: #f1f5f9 !important;

    color: #2563eb !important;

}

html[data-theme="light"] .muop-drawer-group-title, body:not(.dark-mode) .muop-drawer-group-title {

    color: #94a3b8 !important;

}

html[data-theme="light"] .muop-bottom-nav, body:not(.dark-mode) .muop-bottom-nav {

    background: #ffffff !important;

    border-top: 1px solid #e2e8f0 !important;

}

html[data-theme="light"] .muop-bnav-item, body:not(.dark-mode) .muop-bnav-item {

    color: #64748b !important;

}

html[data-theme="light"] .muop-bnav-item.active, body:not(.dark-mode) .muop-bnav-item.active {

    color: #2563eb !important;

}

html[data-theme="light"] .lol-footer, body:not(.dark-mode) .lol-footer {

    background: #ffffff !important;

    border-top: 1px solid #e2e8f0 !important;

    color: #64748b !important;

}

html[data-theme="light"] .lol-footer-col h4, body:not(.dark-mode) .lol-footer-col h4 {

    color: #0f172a !important;

}

html[data-theme="light"] .lol-footer-col a, body:not(.dark-mode) .lol-footer-col a {

    color: #475569 !important;

}

html[data-theme="light"] .lol-footer-col a:hover, body:not(.dark-mode) .lol-footer-col a:hover {

    color: #2563eb !important;

}



/* ==========================================================================

   GLOBAL DARK LUXURY AUTOMATIC SURFACE THEME (ALL 246 MODULES & PAGES)

   ========================================================================== */

[data-theme="dark"] .card, body.dark-mode .card,

[data-theme="dark"] .nck-card, body.dark-mode .nck-card,

[data-theme="dark"] .panel, body.dark-mode .panel,

[data-theme="dark"] .box, body.dark-mode .box,

[data-theme="dark"] .cs-card, body.dark-mode .cs-card,

[data-theme="dark"] .dt-card, body.dark-mode .dt-card,

[data-theme="dark"] .tg-card, body.dark-mode .tg-card,

[data-theme="dark"] .order-card, body.dark-mode .order-card,

[data-theme="dark"] .modal-content, body.dark-mode .modal-content,

[data-theme="dark"] .sweet-alert, body.dark-mode .sweet-alert,

[data-theme="dark"] .swal2-popup, body.dark-mode .swal2-popup,

[data-theme="dark"] .alert:not(.alert-danger):not(.alert-success):not(.alert-warning),

body.dark-mode .alert:not(.alert-danger):not(.alert-success):not(.alert-warning) {

    background: #111827 !important;

    border: 1px solid rgba(255, 255, 255, 0.08) !important;

    color: #f8fafc !important;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;

}



[data-theme="dark"] .card-header, body.dark-mode .card-header,

[data-theme="dark"] .card-footer, body.dark-mode .card-footer {

    background: #090e1b !important;

    border-color: rgba(255, 255, 255, 0.08) !important;

    color: #f8fafc !important;

}



[data-theme="dark"] .nck-qr-wrapper, body.dark-mode .nck-qr-wrapper {

    background: #090e1b !important;

    border: 2px dashed rgba(56, 189, 248, 0.35) !important;

}



[data-theme="dark"] table, body.dark-mode table,

[data-theme="dark"] .table, body.dark-mode .table,

[data-theme="dark"] .dh-table, body.dark-mode .dh-table,

[data-theme="dark"] .dt-table, body.dark-mode .dt-table {

    color: #cbd5e1 !important;

    border-color: rgba(255, 255, 255, 0.08) !important;

}



[data-theme="dark"] table th, body.dark-mode table th,

[data-theme="dark"] table thead th, body.dark-mode table thead th,

[data-theme="dark"] .table th, body.dark-mode .table th,

[data-theme="dark"] .table thead th, body.dark-mode .table thead th,

[data-theme="dark"] .dh-table th, body.dark-mode .dh-table th,

[data-theme="dark"] .dt-table th, body.dark-mode .dt-table th {

    background: #090e1b !important;

    color: #f8fafc !important;

    border-color: rgba(255, 255, 255, 0.08) !important;

}



[data-theme="dark"] table td, body.dark-mode table td,

[data-theme="dark"] .table td, body.dark-mode .table td,

[data-theme="dark"] .dh-table td, body.dark-mode .dh-table td,

[data-theme="dark"] .dt-table td, body.dark-mode .dt-table td {

    color: #cbd5e1 !important;

    border-color: rgba(255, 255, 255, 0.06) !important;

}



[data-theme="dark"] .table-striped tbody tr:nth-of-type(odd),

body.dark-mode .table-striped tbody tr:nth-of-type(odd) {

    background-color: rgba(255, 255, 255, 0.02) !important;

}



[data-theme="dark"] table tr:hover td, body.dark-mode table tr:hover td,

[data-theme="dark"] .table-hover tbody tr:hover, body.dark-mode .table-hover tbody tr:hover,

[data-theme="dark"] .dh-table tr:hover td, body.dark-mode .dh-table tr:hover td,

[data-theme="dark"] .dt-table tr:hover td, body.dark-mode .dt-table tr:hover td {

    background-color: #111b33 !important;

}



[data-theme="dark"] .dt-search-card, body.dark-mode .dt-search-card,

[data-theme="dark"] .dt-table-card, body.dark-mode .dt-table-card,

[data-theme="dark"] .dh-card, body.dark-mode .dh-card,

[data-theme="dark"] .dhd-card, body.dark-mode .dhd-card,

[data-theme="dark"] .dhd-acc-box, body.dark-mode .dhd-acc-box,

[data-theme="dark"] .dhd-acc-item, body.dark-mode .dhd-acc-item {

    background: #111827 !important;

    border-color: rgba(255, 255, 255, 0.08) !important;

    color: #cbd5e1 !important;

}



[data-theme="dark"] .dt-search-inp, body.dark-mode .dt-search-inp {

    background: #111b33 !important;

    border-color: rgba(255, 255, 255, 0.12) !important;

    color: #f8fafc !important;

}



[data-theme="dark"] .dhd-info-val, body.dark-mode .dhd-info-val {

    color: #f8fafc !important;

}



[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),

body.dark-mode input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),

[data-theme="dark"] select, body.dark-mode select,

[data-theme="dark"] textarea, body.dark-mode textarea {

    background-color: #0b1120 !important;

    border: 1px solid rgba(255, 255, 255, 0.12) !important;

    color: #f8fafc !important;

}



[data-theme="dark"] input:focus, body.dark-mode input:focus,

[data-theme="dark"] select:focus, body.dark-mode select:focus,

[data-theme="dark"] textarea:focus, body.dark-mode textarea:focus {

    border-color: #60a5fa !important;

    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2) !important;

    background-color: #090e1b !important;

}



[data-theme="dark"] .text-dark, body.dark-mode .text-dark {

    color: #f8fafc !important;

}

[data-theme="dark"] .text-secondary, body.dark-mode .text-secondary {

    color: #cbd5e1 !important;

}

[data-theme="dark"] .text-muted, body.dark-mode .text-muted {

    color: #94a3b8 !important;

}

[data-theme="dark"] .bg-white, body.dark-mode .bg-white,

[data-theme="dark"] .bg-light, body.dark-mode .bg-light {

    background-color: #111827 !important;

}



[data-theme="dark"] .card-ex-card, [data-theme="dark"] .card-buy-card,

[data-theme="dark"] .aff-card, [data-theme="dark"] .tg-card,

[data-theme="dark"] .cs-card, [data-theme="dark"] .dt-card,

[data-theme="dark"] .nck-card, [data-theme="dark"] .otp-card,

[data-theme="dark"] .card, [data-theme="dark"] .panel, [data-theme="dark"] .box,

body.dark-mode .card-ex-card, body.dark-mode .card-buy-card,

body.dark-mode .aff-card, body.dark-mode .tg-card,

body.dark-mode .cs-card, body.dark-mode .dt-card,

body.dark-mode .nck-card, body.dark-mode .otp-card,

body.dark-mode .card, body.dark-mode .panel, body.dark-mode .box {

    background-color: #111827 !important;

    border-color: #1e293b !important;

    color: #f8fafc !important;

}



/* ==========================================================================

   GLOBAL LIGHT OCEAN BLUE POLISH (ALL 246 MODULES & PAGES)

   ========================================================================== */

html[data-theme="light"] .card, body:not(.dark-mode) .card,

html[data-theme="light"] .nck-card, body:not(.dark-mode) .nck-card,

html[data-theme="light"] .panel, body:not(.dark-mode) .panel,

html[data-theme="light"] .box, body:not(.dark-mode) .box,

html[data-theme="light"] .cs-card, body:not(.dark-mode) .cs-card,

html[data-theme="light"] .dt-card, body:not(.dark-mode) .dt-card,

html[data-theme="light"] .tg-card, body:not(.dark-mode) .tg-card {

    background: #ffffff !important;

    border: 1px solid #e2e8f0 !important;

    color: #0f172a !important;

    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05) !important;

}



html[data-theme="light"] .card-header, body:not(.dark-mode) .card-header {

    background: #f8fafc !important;

    border-color: #e2e8f0 !important;

    color: #0f172a !important;

}



html[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),

body:not(.dark-mode) input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),

html[data-theme="light"] select, body:not(.dark-mode) select,

html[data-theme="light"] textarea, body:not(.dark-mode) textarea {

    background-color: #ffffff !important;

    border: 1.5px solid #cbd5e1 !important;

    color: #0f172a !important;

}



html[data-theme="light"] input:focus, body:not(.dark-mode) input:focus,

html[data-theme="light"] select:focus, body:not(.dark-mode) select:focus,

html[data-theme="light"] textarea:focus, body:not(.dark-mode) textarea:focus {

    border-color: #2563eb !important;

    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.15) !important;

    background-color: #ffffff !important;

}



html[data-theme="light"] .table, body:not(.dark-mode) .table {

    color: #334155 !important;

    border-color: #e2e8f0 !important;

}

html[data-theme="light"] .table thead th, body:not(.dark-mode) .table thead th {

    background: #f8fafc !important;

    color: #0f172a !important;

    border-color: #e2e8f0 !important;

}



/* Dark mode adjustments */

.theme-dark .form-control, [data-theme="dark"] .form-control, body.dark-mode .form-control {

    background-color: #1e293b;

    border-color: #334155;

    color: #f8fafc;

}

.theme-dark .form-control:focus, [data-theme="dark"] .form-control:focus, body.dark-mode .form-control:focus {

    background-color: #0f172a;

    border-color: #60a5fa;

    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);

}

.theme-dark .btn-outline-secondary, [data-theme="dark"] .btn-outline-secondary, body.dark-mode .btn-outline-secondary {

    background-color: #1e293b;

    border-color: #334155;

    color: #cbd5e1 !important;

}

.theme-dark .table-responsive, [data-theme="dark"] .table-responsive, body.dark-mode .table-responsive {

    border-color: #334155;

}

.theme-dark .table-bordered th, .theme-dark .table-bordered td,

[data-theme="dark"] .table-bordered th, [data-theme="dark"] .table-bordered td,

body.dark-mode .table-bordered th, body.dark-mode .table-bordered td {

    border-color: #334155;

}

.theme-dark .table-hover tbody tr:hover, [data-theme="dark"] .table-hover tbody tr:hover, body.dark-mode .table-hover tbody tr:hover {

    background-color: #1e293b;

}



/* Dark mode bootstrap components & dropdowns */

[data-theme="dark"] .dropdown-menu, body.dark-mode .dropdown-menu {

    background-color: #111827 !important;

    border-color: #1e293b !important;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;

}

[data-theme="dark"] .dropdown-item, body.dark-mode .dropdown-item {

    color: #cbd5e1 !important;

}

[data-theme="dark"] .dropdown-item:hover, [data-theme="dark"] .dropdown-item:focus,

body.dark-mode .dropdown-item:hover, body.dark-mode .dropdown-item:focus {

    background-color: #1e293b !important;

    color: #60a5fa !important;

}

[data-theme="dark"] .dropdown-divider, body.dark-mode .dropdown-divider {

    border-color: #1e293b !important;

}

[data-theme="dark"] .pagination .page-link, body.dark-mode .pagination .page-link {

    background-color: #111827 !important;

    border-color: #1e293b !important;

    color: #cbd5e1 !important;

}

[data-theme="dark"] .pagination .page-item.active .page-link, body.dark-mode .pagination .page-item.active .page-link {

    background: #2563eb !important;

    border-color: #2563eb !important;

    color: #ffffff !important;

}

[data-theme="dark"] .pagination .page-link:hover, body.dark-mode .pagination .page-link:hover {

    background-color: #1e293b !important;

    color: #60a5fa !important;

}

[data-theme="dark"] .nav-tabs, body.dark-mode .nav-tabs {

    border-color: #1e293b !important;

}

[data-theme="dark"] .nav-tabs .nav-link, body.dark-mode .nav-tabs .nav-link {

    color: #94a3b8 !important;

}

[data-theme="dark"] .nav-tabs .nav-link.active, body.dark-mode .nav-tabs .nav-link.active {

    background-color: #111827 !important;

    border-color: #1e293b #1e293b transparent !important;

    color: #60a5fa !important;

}

[data-theme="dark"] .list-group-item, body.dark-mode .list-group-item {

    background-color: #111827 !important;

    border-color: #1e293b !important;

    color: #e2e8f0 !important;

}

[data-theme="dark"] .modal-header, [data-theme="dark"] .modal-footer,

body.dark-mode .modal-header, body.dark-mode .modal-footer {

    border-color: #1e293b !important;

}

[data-theme="dark"] .close, [data-theme="dark"] .btn-close,

body.dark-mode .close, body.dark-mode .btn-close {

    filter: invert(1) grayscale(100%) brightness(200%);

}
