/* Dark Glassmorphism Demo Theme — loaded ONLY when DEMO_THEME is enabled */
:root {
  --dg-canvas: #060b16;
  --dg-canvas-2: #0c162b;
  --dg-surface: rgba(15, 23, 42, 0.58);
  --dg-surface-strong: rgba(11, 18, 34, 0.84);
  --dg-surface-soft: rgba(30, 41, 59, 0.48);
  --dg-border: rgba(148, 163, 184, 0.20);
  --dg-border-glow: rgba(56, 189, 248, 0.42);
  --dg-text: #e2e8f0;
  --dg-text-bright: #f8fafc;
  --dg-muted: #94a3b8;
  --dg-accent: #38bdf8;
  --dg-accent-2: #818cf8;
  --dg-shadow: 0 12px 34px rgba(2, 6, 23, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

html, body {
  background-color: var(--dg-canvas) !important;
  background-image:
    radial-gradient(circle at 12% 14%, rgba(56, 189, 248, 0.16) 0%, transparent 38%),
    radial-gradient(circle at 86% 18%, rgba(129, 140, 248, 0.16) 0%, transparent 40%),
    radial-gradient(circle at 74% 85%, rgba(16, 185, 129, 0.10) 0%, transparent 36%),
    linear-gradient(145deg, #050914 0%, #0a1326 52%, #0e1933 100%) !important;
  background-attachment: fixed !important;
  color: var(--dg-text) !important;
}

/* ===== Typography & Links ===== */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
.dash-hdr h2, .dash-hdr h2 a, .rdx-h2, .card-title, .modal-title {
  color: var(--dg-text-bright) !important;
}
.text-dark, .text-black { color: var(--dg-text) !important; }
.text-muted, .text-secondary, .dash-hdr h2 small, .rdx-h2 small, .dash-nodata {
  color: var(--dg-muted) !important;
}
a { color: #7dd3fc; }
a:hover { color: #bae6fd; }

/* ===== Topbars (Admin, Reseller, Company Admin, Portal) ===== */
.tv-topbar, .rtop, .ctop, .app-header.bg-isp-navbar {
  background: rgba(8, 15, 31, 0.72) !important;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  border-bottom: 1px solid var(--dg-border) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45) !important;
}
.rhead, .chead, .app-header__logo {
  background: rgba(12, 22, 44, 0.85) !important;
  border-right: 1px solid rgba(148, 163, 184, 0.12) !important;
}
.tv-brand img, .rbrand img {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
}
.tv-menu-toggle i, .rtoggle i, .ctoggle i {
  background: rgba(56, 189, 248, 0.20) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.40);
}
.tv-topbar-search input, .rtop .form-control {
  background: rgba(15, 23, 42, 0.65) !important;
  color: var(--dg-text-bright) !important;
  border: 1px solid var(--dg-border) !important;
}
.tv-topbar-search input::placeholder { color: var(--dg-muted) !important; }
#topSearchResults, .tv-dd-menu, .dropdown-menu {
  background: var(--dg-surface-strong) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--dg-border) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.60) !important;
  color: var(--dg-text) !important;
}
.dropdown-item { color: var(--dg-text) !important; }
.dropdown-item:hover, .dropdown-item:focus, #topSearchResults a:hover {
  background: rgba(56, 189, 248, 0.16) !important;
  color: #fff !important;
}
.dropdown-divider { border-color: var(--dg-border) !important; }

/* ===== Sidebars (Admin, Reseller, Company Admin, Portal) ===== */
.sidebar, #sidebarOffcanvas, .rside, .cside, .app-sidebar {
  background: rgba(9, 16, 33, 0.74) !important;
  backdrop-filter: blur(18px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
  border-right: 1px solid var(--dg-border) !important;
  box-shadow: 8px 0 30px rgba(0, 0, 0, 0.35) !important;
}
#sidebarAccordion, #mainMenu, .scrollbar-sidebar { background: transparent !important; }
.menu-search, .rmenu-search, .cmenu-search, .menu-search-input {
  background: rgba(15, 23, 42, 0.75) !important;
  color: var(--dg-text-bright) !important;
  border: 1px solid rgba(56, 189, 248, 0.32) !important;
}
.menu-search::placeholder, .rmenu-search::placeholder, .cmenu-search::placeholder {
  color: var(--dg-muted) !important;
}
.menu-item, .rbtn, .cbtn, .app-sidebar.sidebar-text-light .vertical-nav-menu li a {
  color: #cbd5e1 !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.07) !important;
}
.menu-item:hover, .rbtn:hover, .cbtn:hover,
.app-sidebar.sidebar-text-light .vertical-nav-menu li a:hover {
  background: rgba(56, 189, 248, 0.12) !important;
  color: #ffffff !important;
}
.menu-item.active, .rsub .rbtn.active, .cbtn.active,
.rsec.rtoggled > .rbtn,
.app-sidebar.sidebar-text-light .vertical-nav-menu li a.mm-active {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.24) 0%, rgba(99, 102, 241, 0.14) 100%) !important;
  color: #ffffff !important;
  border-left: 3px solid var(--dg-accent) !important;
}
.menu-item i, .rbtn i:first-child, .cbtn i:first-child,
.app-sidebar.sidebar-text-light .vertical-nav-menu li a i.metismenu-icon {
  color: #38bdf8 !important;
}
.rsec.open > .rbtn { background: rgba(30, 41, 59, 0.55) !important; }
.rsub, .csub, .submenu { background: rgba(7, 12, 25, 0.58) !important; }
.rsub .rbtn:before, .csub .cbtn:before { border-color: #38bdf8 !important; }
.rsec-t::before, .rsec-t::after { color: #93c5fd !important; }

/* ===== Main Content Wrappers ===== */
.layout, .content, .rwrap, .rmain, .cwrap, .cmain, .app-main, .app-main__inner {
  background: transparent !important;
}

/* ===== Notice Marquee Banner & Support Chat ===== */
.lic-tick {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.90), rgba(30, 58, 138, 0.78)) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #e0f2fe !important;
}
#scTab, .site-support-info-span, .site-support-info-body {
  background: rgba(15, 23, 42, 0.84) !important;
  backdrop-filter: blur(14px) !important;
  border: 1px solid var(--dg-border-glow) !important;
  color: #e2e8f0 !important;
}

/* ===== Glass Cards, Panels, Dashboard Boxes ===== */
.card, .r-card, .rdx-card, .card-real-time, .card-work-list, .card-quick-go,
.main-card, .panel, .box, .well, .bg-white, .bg-light,
.list-group-item, .accordion-item, .accordion-button {
  background: var(--dg-surface) !important;
  backdrop-filter: blur(16px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(145%) !important;
  border: 1px solid var(--dg-border) !important;
  box-shadow: var(--dg-shadow) !important;
  color: var(--dg-text) !important;
}
.card-header, .r-head, .todo-head, .rdx-card-h, .modal-header {
  background: linear-gradient(90deg, rgba(30, 58, 138, 0.65) 0%, rgba(15, 23, 42, 0.85) 100%) !important;
  border-bottom: 1px solid var(--dg-border) !important;
  color: var(--dg-text-bright) !important;
}
.card-footer, .modal-footer {
  background: rgba(9, 15, 30, 0.65) !important;
  border-top: 1px solid var(--dg-border) !important;
}

/* Dashboard KPI Tiles — luminous translucent glass gradients */
.wrapper-dashboard .info-box-2,
.rdx .info-box-2 {
  backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}
.wrapper-dashboard .info-box-2:hover,
.rdx .info-box-2:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.55) !important;
  box-shadow: 0 14px 32px rgba(14, 165, 233, 0.25) !important;
}
.info-box-2.blue-gradiant, .rdx-blue {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.52) 0%, rgba(30, 64, 175, 0.45) 100%) !important;
}
.info-box-2.orange-gradiant, .rdx-teal {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.52) 0%, rgba(6, 182, 212, 0.40) 100%) !important;
}
.info-box-2.green-gradiant, .rdx-purple {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.52) 0%, rgba(79, 70, 229, 0.44) 100%) !important;
}
.info-box-2.red-gradiant, .rdx-slate {
  background: linear-gradient(135deg, rgba(51, 65, 85, 0.65) 0%, rgba(30, 41, 59, 0.72) 100%) !important;
}
.wrapper-dashboard .info-box-footer { background: rgba(2, 6, 23, 0.28) !important; }

/* Google Charts dark mode readability inside cards */
.card-real-time svg > rect:first-child,
.card-work-list svg > rect:first-child,
.card-quick-go svg > rect:first-child,
.rdx-card svg > rect:first-child {
  fill: transparent !important;
}
.card-real-time svg text,
.card-work-list svg text,
.card-quick-go svg text,
.rdx-card svg text {
  fill: #cbd5e1 !important;
}

/* ===== Tables & DataTables ===== */
.table {
  --bs-table-bg: transparent !important;
  --bs-table-color: var(--dg-text) !important;
  --bs-table-striped-bg: rgba(255, 255, 255, 0.03) !important;
  --bs-table-striped-color: var(--dg-text) !important;
  --bs-table-hover-bg: rgba(56, 189, 248, 0.10) !important;
  --bs-table-hover-color: #ffffff !important;
  --bs-table-border-color: rgba(148, 163, 184, 0.16) !important;
  color: var(--dg-text) !important;
  background-color: transparent !important;
}
.table > :not(caption) > * > * {
  background-color: transparent !important;
  color: var(--dg-text) !important;
  border-bottom-color: rgba(148, 163, 184, 0.15) !important;
}
.table thead tr th, .table > thead th, .table-light th {
  background: rgba(15, 31, 61, 0.88) !important;
  color: #93c5fd !important;
  border-color: rgba(148, 163, 184, 0.20) !important;
}
.table tbody tr:hover > td {
  background: rgba(56, 189, 248, 0.09) !important;
  color: #ffffff !important;
}
tr.fc-disabled-row > td {
  background: rgba(220, 38, 38, 0.22) !important;
  color: #fecaca !important;
}
#tblTop20UnpaidClients table, #tblTop20UnpaidClients th, #tblTop20UnpaidClients td {
  color: var(--dg-text) !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  color: var(--dg-muted) !important;
}
.page-link {
  background: rgba(15, 23, 42, 0.72) !important;
  border-color: var(--dg-border) !important;
  color: var(--dg-text) !important;
}
.page-item.active .page-link {
  background: linear-gradient(135deg, #0284c7, #6366f1) !important;
  border-color: #38bdf8 !important;
  color: #fff !important;
}

/* ===== Forms, Inputs, Select2, Modals ===== */
.form-control, .form-select, input[type="text"], input[type="password"], input[type="email"],
input[type="number"], input[type="date"], input[type="search"], textarea, select,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple,
.select2-dropdown {
  background: rgba(11, 18, 34, 0.78) !important;
  color: var(--dg-text-bright) !important;
  border: 1px solid rgba(148, 163, 184, 0.26) !important;
}
.form-control:focus, .form-select:focus, select:focus, textarea:focus {
  background: rgba(15, 23, 42, 0.92) !important;
  border-color: var(--dg-accent) !important;
  box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.22) !important;
  color: #fff !important;
}
.form-control::placeholder { color: #64748b !important; }
.input-group-text {
  background: rgba(30, 41, 59, 0.85) !important;
  color: #93c5fd !important;
  border-color: rgba(148, 163, 184, 0.26) !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--dg-text-bright) !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: rgba(56, 189, 248, 0.28) !important;
  color: #fff !important;
}
.modal-content {
  background: rgba(11, 18, 36, 0.88) !important;
  backdrop-filter: blur(22px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(160%) !important;
  border: 1px solid var(--dg-border-glow) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75) !important;
  color: var(--dg-text) !important;
}
.modal-header .btn-close { filter: invert(1) grayscale(100%) brightness(200%); }

/* ===== Buttons & Tabs ===== */
.btn-primary, .btn-cl, .btn-acc-dash {
  background: linear-gradient(135deg, #0284c7 0%, #4f46e5 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
  color: #fff !important;
}
.btn-primary:hover, .btn-cl:hover, .btn-acc-dash:hover {
  filter: brightness(1.12);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.35) !important;
}
.btn-outline-secondary, .btn-light, .btn-white {
  background: rgba(30, 41, 59, 0.65) !important;
  border-color: var(--dg-border) !important;
  color: var(--dg-text) !important;
}
.nav-tabs { border-bottom-color: var(--dg-border) !important; }
.nav-tabs .nav-link { color: var(--dg-muted) !important; }
.nav-tabs .nav-link.active {
  background: rgba(56, 189, 248, 0.16) !important;
  border-color: var(--dg-border) var(--dg-border) transparent !important;
  color: #fff !important;
}

/* ===== SweetAlert2 Dark Glass ===== */
.swal2-popup {
  background: rgba(13, 21, 40, 0.92) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid var(--dg-border-glow) !important;
  color: var(--dg-text) !important;
}
.swal2-title, .swal2-html-container { color: var(--dg-text) !important; }

/* ===== Login Page Dark Glassmorphism Showcase ===== */
.login-desktop .login-left, .login-mobile {
  background:
    radial-gradient(circle at 25% 25%, rgba(56, 189, 248, 0.25), transparent 45%),
    radial-gradient(circle at 80% 75%, rgba(99, 102, 241, 0.24), transparent 45%),
    rgba(9, 16, 33, 0.78) !important;
  backdrop-filter: blur(20px) !important;
  border-right: 1px solid var(--dg-border) !important;
}
.login-desktop .login-right {
  background: transparent !important;
}
.login-desktop .login-right .inner {
  background: rgba(15, 23, 42, 0.56) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
  border-radius: 18px !important;
  padding: 36px 34px !important;
  max-width: 440px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
}
.logo-badge {
  background: rgba(15, 23, 42, 0.65) !important;
  border: 2px solid rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 0 36px rgba(56, 189, 248, 0.22) !important;
}
.logo-badge i { color: #38bdf8 !important; }
.login-title { color: #f8fafc !important; }
.remember-row, .helper-links a { color: #cbd5e1 !important; }
.login_btn {
  background: linear-gradient(135deg, #0284c7 0%, #6366f1 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
}
.upper-btn {
  background: rgba(15, 23, 42, 0.65) !important;
  color: #7dd3fc !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
}
.upper-btn:hover {
  background: rgba(56, 189, 248, 0.22) !important;
  color: #fff !important;
}


/* ===== 2026-11-13 ULTIMATE HIGH-CONTRAST & 3D GLASS FIX ===== */

/* 1. Sidebar Buttons High-Contrast Text & Icons */
.sidebar .btn-menu,
#sidebarOffcanvas .btn-menu,
#mainMenu .btn-menu,
.btn-menu {
  color: #f1f5f9 !important;
  background: transparent !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5) !important;
}

.sidebar .btn-menu i:first-child,
#mainMenu .btn-menu i:first-child,
.btn-menu > i:first-child {
  color: #38bdf8 !important;
  filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.4)) !important;
}

.sidebar .btn-menu .menu-label,
#mainMenu .btn-menu .menu-label,
.btn-menu .menu-label {
  color: #f8fafc !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
}

.sidebar .btn-menu .menu-caret,
.btn-menu .menu-caret {
  color: #94a3b8 !important;
}

.sidebar .btn-menu:hover,
#mainMenu .btn-menu:hover,
.btn-menu:hover {
  background: rgba(56, 189, 248, 0.16) !important;
  color: #ffffff !important;
  box-shadow: inset 3px 0 0 #38bdf8 !important;
}

.sidebar .btn-menu:hover .menu-label,
.btn-menu:hover .menu-label {
  color: #ffffff !important;
}

.sidebar .btn-menu.active,
#mainMenu .btn-menu.active,
.btn-menu.active,
.btn-menu[aria-expanded="true"] {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.28) 0%, rgba(99, 102, 241, 0.16) 100%) !important;
  color: #ffffff !important;
  border-left: 3px solid #38bdf8 !important;
  box-shadow: 0 4px 14px rgba(2, 6, 23, 0.4) !important;
}

/* Submenu items */
.sidebar .submenu,
#mainMenu .submenu,
.submenu {
  background: rgba(6, 11, 24, 0.88) !important;
  border-left: 1px solid rgba(56, 189, 248, 0.2) !important;
}

.sidebar .submenu .btn-menu,
#mainMenu .submenu .btn-menu {
  color: #cbd5e1 !important;
  font-weight: 500 !important;
  padding-left: 20px !important;
}

.sidebar .submenu .btn-menu:hover,
#mainMenu .submenu .btn-menu:hover {
  background: rgba(56, 189, 248, 0.12) !important;
  color: #38bdf8 !important;
}

/* 2. Menu Search Input Fix */
.tv-menusearch input,
#tvMenuSearch,
.menu-search,
.cmenu-search,
.rmenu-search {
  background: rgba(15, 23, 42, 0.85) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 6px !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5) !important;
}
.tv-menusearch input::placeholder {
  color: #94a3b8 !important;
}

/* 3. Topbar Brand Pill & Logo */
.tv-brand, .tv-brand span, .rbrand, .chead .company-name {
  color: #f8fafc !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5) !important;
}

/* 4. 3D Glassmorphism Cards & Tiles */
.wrapper-dashboard .info-box-2,
.rdx .info-box-2,
.card-real-time,
.card-work-list,
.card-quick-go {
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.3), inset 0 -1px 2px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.wrapper-dashboard .info-box-2:hover,
.rdx .info-box-2:hover {
  transform: translateY(-3px) scale(1.01) !important;
  border-color: rgba(56, 189, 248, 0.7) !important;
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.4) !important;
}

.info-box-2.blue-gradiant {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.45) 0%, rgba(30, 64, 175, 0.35) 100%), rgba(10, 18, 38, 0.75) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
}

.info-box-2.orange-gradiant {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.45) 0%, rgba(6, 182, 212, 0.35) 100%), rgba(10, 18, 38, 0.75) !important;
  border-color: rgba(45, 212, 191, 0.35) !important;
}

.info-box-2.green-gradiant {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.45) 0%, rgba(79, 70, 229, 0.35) 100%), rgba(10, 18, 38, 0.75) !important;
  border-color: rgba(168, 85, 247, 0.35) !important;
}

.info-box-2.red-gradiant {
  background: linear-gradient(135deg, rgba(51, 65, 85, 0.55) 0%, rgba(30, 41, 59, 0.50) 100%), rgba(10, 18, 38, 0.8) !important;
  border-color: rgba(148, 163, 184, 0.3) !important;
}

/* 5. Breathing / Pulsing Glow Animation */
@keyframes statusGlowPulse {
  0%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.85));
  }
  50% {
    opacity: 0.65;
    filter: drop-shadow(0 0 2px rgba(56, 189, 248, 0.3));
  }
}

.badge-online, .badge-success, .tv-badge-status, .text-success, i.fa-circle.text-success {
  animation: statusGlowPulse 2s infinite ease-in-out !important;
}


/* ==============================================================================
 * 2026-11-13 COMPLETE DARK GLASSMORPHISM ENHANCEMENT SUITE
 * ============================================================================== */

/* 1. Floating Signboard & Sidebar Footer Branding */
.app-adfloat {
  background: rgba(11, 20, 38, 0.88) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.22) !important;
  color: #f8fafc !important;
  border-radius: 12px !important;
}

.app-adfloat .af-title,
.app-adfloat .af-title a {
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.6) !important;
}

.app-adfloat .af-ver {
  color: #38bdf8 !important;
  font-weight: 700 !important;
}

.app-adfloat .af-dev {
  color: #cbd5e1 !important;
}

.app-adfloat .af-dev a {
  color: #38bdf8 !important;
  text-shadow: 0 0 6px rgba(56, 189, 248, 0.4) !important;
}

.app-adfloat .af-copy {
  color: #94a3b8 !important;
  border-top: 1px solid rgba(148, 163, 184, 0.2) !important;
}

.app-adfloat .af-x {
  background: rgba(30, 41, 59, 0.95) !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
}

.sb-brand-card {
  color: #f8fafc !important;
  border-top: 1px solid rgba(56, 189, 248, 0.25) !important;
}

.sb-bc-title,
.sb-bc-title a {
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.45) !important;
}

.sb-bc-ver {
  color: #38bdf8 !important;
}

.sb-bc-dev {
  color: #cbd5e1 !important;
}

.sb-bc-dev a {
  color: #38bdf8 !important;
}

.sb-bc-copy {
  color: #94a3b8 !important;
}

/* 2. Dashboard KPI 3D Glass Cards (Fix Text Overflow & Cramping) */
.wrapper-dashboard .info-box-2 {
  min-height: 84px !important;
  height: auto !important;
  border-radius: 12px !important;
  backdrop-filter: blur(18px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3), inset 0 -1px 2px rgba(0, 0, 0, 0.3) !important;
  padding-bottom: 22px !important;
  position: relative !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.wrapper-dashboard .info-box-2:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 36px rgba(14, 165, 233, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.4) !important;
}

.wrapper-dashboard .info-box-2 .icon {
  height: 84px !important;
  width: 75px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: left !important;
}

.wrapper-dashboard .info-box-2 .icon i {
  font-size: 42px !important;
  line-height: 1 !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3)) !important;
}

.wrapper-dashboard .info-box-2 .content {
  display: block !important;
  padding: 8px 12px 6px 85px !important;
}

.wrapper-dashboard .info-box-2 .content .text {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  margin-top: 0 !important;
  color: #e2e8f0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.wrapper-dashboard .info-box-2 .content .number {
  font-size: 24px !important;
  font-weight: 800 !important;
  margin-top: 0 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
}

.wrapper-dashboard .info-box-footer {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  height: 20px !important;
  line-height: 20px !important;
  background: rgba(2, 6, 23, 0.45) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 0 6px !important;
}

.wrapper-dashboard .info-box-footer small {
  font-size: 11px !important;
  color: #94a3b8 !important;
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* 3. New Client Form (client_add.php) Modern Dark Glass */
.cadd .sec-head {
  background: linear-gradient(90deg, rgba(30, 58, 138, 0.75) 0%, rgba(15, 23, 42, 0.85) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  border-bottom: 0 !important;
  border-radius: 10px 10px 0 0 !important;
  color: #ffffff !important;
}

.cadd .sec-head .t {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.cadd .sec-head .s {
  color: #94a3b8 !important;
}

.cadd .sec-body {
  background: rgba(15, 23, 42, 0.7) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
  border-radius: 0 0 10px 10px !important;
  color: #f1f5f9 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

.cadd .form-label {
  color: #94a3b8 !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
}

.cadd .form-control,
.cadd .form-select {
  background: rgba(11, 18, 34, 0.85) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(56, 189, 248, 0.32) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.cadd .form-control:focus,
.cadd .form-select:focus {
  background: rgba(15, 23, 42, 0.95) !important;
  color: #ffffff !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 0.25rem rgba(56, 189, 248, 0.25) !important;
}

.cadd .cl-sameaddr,
.cadd .cl-chktext {
  color: #e2e8f0 !important;
}

.cadd .pic-wrap .pic {
  background: rgba(30, 41, 59, 0.7) !important;
  border: 2px dashed rgba(56, 189, 248, 0.4) !important;
}

.cadd .pic-wrap .pic i {
  color: #64748b !important;
}

.qadd {
  background: rgba(56, 189, 248, 0.25) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
}

/* 4. Client List Table (clients.php) Modern Dark Glass */
.cl-tablewrap {
  background: rgba(15, 23, 42, 0.72) !important;
  backdrop-filter: blur(18px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
}

.content-area table.table.cl-table > thead > tr > th,
table.table.cl-table > thead > tr > th {
  background: rgba(11, 20, 38, 0.96) !important;
  color: #38bdf8 !important;
  border: 0 !important;
  border-right: 1px solid rgba(148, 163, 184, 0.15) !important;
  border-bottom: 2px solid rgba(56, 189, 248, 0.35) !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.content-area table.table.cl-table > tbody > tr > td,
table.table.cl-table > tbody > tr > td {
  color: #f1f5f9 !important;
  background: transparent !important;
  border: 0 !important;
  border-right: 1px solid rgba(148, 163, 184, 0.12) !important;
  border-top: 1px solid rgba(148, 163, 184, 0.12) !important;
}

.content-area table.table.cl-table > tbody > tr:hover > td,
table.table.cl-table > tbody > tr:hover > td {
  background: rgba(56, 189, 248, 0.08) !important;
}

.cl-actbtn {
  color: #38bdf8 !important;
}

.cl-actpop {
  background: rgba(11, 20, 38, 0.96) !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
}

/* 5. Print Support: Preserve Crisp White for PDF/Excel */
@media print {
  html, body, .cl-tablewrap, table.table.cl-table {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .content-area table.table.cl-table > thead > tr > th,
  table.table.cl-table > thead > tr > th {
    background: #f1f5f9 !important;
    color: #0f172a !important;
  }
  .content-area table.table.cl-table > tbody > tr > td,
  table.table.cl-table > tbody > tr > td {
    color: #0f172a !important;
  }
}


/* ==============================================================================
 * 2026-11-13 PRECISION FIX FOR USER'S RED-MARKED ISSUES
 * ============================================================================== */

/* 1. Brand Logo (Circle at top-left) */
body .tv-brand img,
body .rbrand img {
  background: #ffffff !important;
  border: 2px solid #38bdf8 !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6) !important;
  padding: 2px !important;
  border-radius: 50% !important;
}

/* 2. Submenu Text & Bullet Overlap Fix (Client -> New Request, Add New, etc.) */
body .sidebar .submenu .btn-menu,
body #mainMenu .submenu .btn-menu,
body .submenu .btn-menu {
  padding: 9px 15px 9px 54px !important;
  font-size: 13px !important;
  color: #cbd5e1 !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

body .sidebar .submenu .btn-menu::before,
body #mainMenu .submenu .btn-menu::before,
body .submenu .btn-menu::before {
  content: "\2609" !important;
  position: absolute !important;
  left: 24px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #38bdf8 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  margin: 0 !important;
}

body .sidebar .submenu .btn-menu .menu-label,
body #mainMenu .submenu .btn-menu .menu-label,
body .submenu .btn-menu .menu-label {
  display: inline-block !important;
  color: #f1f5f9 !important;
  font-weight: 600 !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

body .sidebar .submenu .btn-menu:hover,
body #mainMenu .submenu .btn-menu:hover,
body .submenu .btn-menu:hover {
  background: rgba(56, 189, 248, 0.18) !important;
}

body .sidebar .submenu .btn-menu:hover .menu-label,
body .submenu .btn-menu:hover .menu-label {
  color: #ffffff !important;
}

body .sidebar .submenu .btn-menu:hover::before,
body .submenu .btn-menu:hover::before {
  color: #ffffff !important;
}

/* 3. Client List & User List Table Row Text (High-Contrast Bright Text) */
body .content-area table.table.cl-table > tbody > tr > td,
body table.table.cl-table > tbody > tr > td,
body .content-area table > tbody > tr > td,
body table > tbody > tr > td,
body .cl-cname,
body .cl-ident,
body .cl-mac,
body .cl-pass,
body .cl-table td,
body .cl-table td span,
body .cl-table td a,
body .cl-table td div {
  color: #f8fafc !important;
}

body .cl-cname {
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
}

body .cl-ident {
  color: #38bdf8 !important;
  font-weight: 700 !important;
  font-family: monospace !important;
}

body .cl-info {
  color: #38bdf8 !important;
  font-size: 15px !important;
  margin-top: 3px !important;
  filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.5)) !important;
}

body .sync-btn i {
  color: #38bdf8 !important;
}

body .cl-eye {
  color: #38bdf8 !important;
}

body .cl-macre {
  color: #38bdf8 !important;
}

body .content-area table.table.cl-table > tbody > tr:hover > td,
body table.table.cl-table > tbody > tr:hover > td {
  background: rgba(56, 189, 248, 0.14) !important;
}

body .content-area table.table.cl-table > thead > tr > th,
body table.table.cl-table > thead > tr > th {
  background: rgba(11, 20, 38, 0.98) !important;
  color: #38bdf8 !important;
  border-bottom: 2px solid #38bdf8 !important;
  font-weight: 800 !important;
  font-size: 13.5px !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6) !important;
}

/* 4. Stat Tiles (Running, New, Renewed, Waiver Clients) 3D Glass Depth */
body .cl-tile {
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

body .cl-tile:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 36px rgba(14, 165, 233, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.4) !important;
}

body .cl-tile.tl-blue {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.45) 0%, rgba(30, 64, 175, 0.35) 100%), rgba(10, 18, 38, 0.75) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
}

body .cl-tile.tl-teal {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.45) 0%, rgba(6, 182, 212, 0.35) 100%), rgba(10, 18, 38, 0.75) !important;
  border-color: rgba(45, 212, 191, 0.4) !important;
}

body .cl-tile.tl-purple {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.45) 0%, rgba(79, 70, 229, 0.35) 100%), rgba(10, 18, 38, 0.75) !important;
  border-color: rgba(168, 85, 247, 0.4) !important;
}

body .cl-tile.tl-dark {
  background: linear-gradient(135deg, rgba(51, 65, 85, 0.55) 0%, rgba(30, 41, 59, 0.50) 100%), rgba(10, 18, 38, 0.8) !important;
  border-color: rgba(148, 163, 184, 0.3) !important;
}

body .cl-tile-label {
  color: #e2e8f0 !important;
  font-weight: 700 !important;
}

body .cl-tile-num {
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4) !important;
}

body .cl-tile-foot {
  color: #94a3b8 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* 5. Online/Offline Pulsing Glow Status */
.status-dot.on i {
  color: #10b981 !important;
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.9)) !important;
  animation: statusGlowPulse 2s infinite ease-in-out !important;
}

.status-dot.off i {
  color: #ef4444 !important;
  filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.7)) !important;
}


/* ==========================================================================
   6. Universal Dark Glass Tables & Online Client Monitoring (client_monitoring.php)
   ========================================================================== */
body .cm-tablewrap,
body .table-responsive.cm-tablewrap {
  background: rgba(15, 23, 42, 0.72) !important;
  backdrop-filter: blur(18px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
  overflow: auto !important;
}

body table#cmTable.cl-table.cm-dt,
body table.table.cm-dt {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}

body table#cmTable.cl-table.cm-dt > thead > tr > th,
body table.table.cm-dt > thead > tr > th {
  background: rgba(11, 20, 38, 0.98) !important;
  color: #38bdf8 !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  padding: 10px 4px !important;
  border: 0 !important;
  border-right: 1px solid rgba(148, 163, 184, 0.15) !important;
  border-bottom: 2px solid rgba(56, 189, 248, 0.45) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
  vertical-align: middle !important;
}

body table#cmTable.cl-table.cm-dt > tbody > tr > td,
body table.table.cm-dt > tbody > tr > td {
  color: #f8fafc !important;
  background: transparent !important;
  padding: 7px 7px !important;
  font-size: 13.5px !important;
  border: 0 !important;
  border-right: 1px solid rgba(148, 163, 184, 0.12) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12) !important;
  vertical-align: middle !important;
}

body table#cmTable.cl-table.cm-dt > tbody > tr:hover > td,
body table.table.cm-dt > tbody > tr:hover > td {
  background: rgba(56, 189, 248, 0.12) !important;
}

/* Card & Wrapper Elements across all pages */
body .content-area .card,
body .container-fluid .card,
body .card {
  background: rgba(15, 23, 42, 0.68) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45) !important;
}

body .card-body {
  color: #f8fafc !important;
}

/* Monitoring Form Controls */
body .cm-ctl,
body select.cm-ctl,
body input.cm-ctl {
  height: 35px !important;
  font-size: 13.5px !important;
  color: #f8fafc !important;
  background-color: rgba(11, 20, 38, 0.85) !important;
  border: 1px solid rgba(148, 163, 184, 0.25) !important;
  border-radius: 6px !important;
  padding: 6px 12px !important;
}

body .cm-ctl:focus {
  background-color: rgba(15, 23, 42, 0.95) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.35) !important;
  color: #ffffff !important;
}

body .cm-ctl option {
  background-color: #0b1426 !important;
  color: #f8fafc !important;
}

body .cm-pill {
  background: rgba(15, 23, 42, 0.85) !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  border-radius: 25px !important;
  transition: all 0.25s ease !important;
  backdrop-filter: blur(10px) !important;
}

body .cm-pill:hover,
body .cm-pill.active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(2, 132, 199, 0.45)) !important;
  color: #ffffff !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35) !important;
}

/* ==========================================================================
   7. Modern Neon Glowing Indicator Lamps (Connected / Disconnected)
   ========================================================================== */
/* ==========================================================================
   7. Modern Neon Tube Light Badges (Connected / Disconnected)
   ========================================================================== */
body .badge-conn,
body span.badge-conn {
  background: linear-gradient(180deg, rgba(0, 255, 136, 0.28) 0%, rgba(16, 185, 129, 0.14) 50%, rgba(5, 150, 105, 0.28) 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #00ff88 !important;
  border-radius: 6px !important;
  padding: 6px 14px !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  line-height: 12px !important;
  display: inline-block !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  box-shadow: 0 0 14px rgba(0, 255, 136, 0.55), inset 0 0 10px rgba(0, 255, 136, 0.4), 0 0 24px rgba(0, 255, 136, 0.3) !important;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.95), 0 0 16px rgba(0, 255, 136, 0.7), 0 1px 2px rgba(0,0,0,0.8) !important;
  animation: tubelight-breathe-green 2.2s infinite ease-in-out !important;
}

body .badge-conn::before {
  display: none !important;
}

body .badge-disc,
body span.badge-disc {
  background: linear-gradient(180deg, rgba(255, 42, 75, 0.28) 0%, rgba(239, 68, 68, 0.14) 50%, rgba(185, 28, 28, 0.28) 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #ff2a4b !important;
  border-radius: 6px !important;
  padding: 6px 14px !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  line-height: 12px !important;
  display: inline-block !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  box-shadow: 0 0 14px rgba(255, 42, 75, 0.55), inset 0 0 10px rgba(255, 42, 75, 0.4), 0 0 24px rgba(255, 42, 75, 0.3) !important;
  text-shadow: 0 0 8px rgba(255, 42, 75, 0.95), 0 0 16px rgba(255, 42, 75, 0.7), 0 1px 2px rgba(0,0,0,0.8) !important;
  animation: tubelight-breathe-red 2.2s infinite ease-in-out !important;
}

body .badge-disc::before {
  display: none !important;
}

@keyframes tubelight-breathe-green {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 16px rgba(0, 255, 136, 0.65), inset 0 0 12px rgba(0, 255, 136, 0.5), 0 0 30px rgba(0, 255, 136, 0.4) !important;
    filter: brightness(1.2);
  }
  50% {
    opacity: 0.75;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.35), inset 0 0 5px rgba(0, 255, 136, 0.25) !important;
    filter: brightness(0.9);
  }
}

@keyframes tubelight-breathe-red {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 16px rgba(255, 42, 75, 0.65), inset 0 0 12px rgba(255, 42, 75, 0.5), 0 0 30px rgba(255, 42, 75, 0.4) !important;
    filter: brightness(1.2);
  }
  50% {
    opacity: 0.75;
    box-shadow: 0 0 8px rgba(255, 42, 75, 0.35), inset 0 0 5px rgba(255, 42, 75, 0.25) !important;
    filter: brightness(0.9);
  }
}

/* ==========================================================================
   7.1 Ultra-Vivid Hardware Blinking LED Status Lamp in Client List (clients.php)
   ========================================================================== */
body .status-dot,
.status-dot {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  margin-left: 5px !important;
  width: 12px !important;
  height: 12px !important;
  position: relative !important;
  cursor: pointer !important;
}

body .status-dot i,
.status-dot i {
  display: none !important;
}

body .status-dot::before,
.status-dot::before {
  content: '' !important;
  display: block !important;
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
}

body .status-dot.on::before,
.status-dot.on::before {
  background: radial-gradient(circle, #ffffff 0%, #ffffff 40%, #00ff88 75%, #059669 100%) !important;
  box-shadow: 0 0 6px #ffffff, 0 0 14px #00ff88, 0 0 25px #00ff88, 0 0 38px rgba(0, 255, 136, 1) !important;
  animation: neon-blink-green 1.3s infinite ease-in-out !important;
}

body .status-dot.off::before,
.status-dot.off::before {
  background: radial-gradient(circle, #ffffff 0%, #ffffff 40%, #ff2a4b 75%, #dc2626 100%) !important;
  box-shadow: 0 0 6px #ffffff, 0 0 14px #ff2a4b, 0 0 25px #ff2a4b, 0 0 38px rgba(255, 42, 75, 1) !important;
  animation: neon-blink-red 1.3s infinite ease-in-out !important;
}

@keyframes neon-blink-green {
  0%, 100% {
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 0 6px #ffffff, 0 0 16px #00ff88, 0 0 28px #00ff88, 0 0 42px rgba(0, 255, 136, 1);
    filter: drop-shadow(0 0 8px #00ff88) brightness(1.35);
  }
  45% {
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 0 6px #ffffff, 0 0 16px #00ff88, 0 0 28px #00ff88, 0 0 42px rgba(0, 255, 136, 1);
    filter: drop-shadow(0 0 8px #00ff88) brightness(1.35);
  }
  55%, 85% {
    opacity: 0.28;
    transform: scale(0.8);
    box-shadow: 0 0 3px #00ff88;
    filter: drop-shadow(0 0 2px #00ff88) brightness(0.75);
  }
}

@keyframes neon-blink-red {
  0%, 100% {
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 0 6px #ffffff, 0 0 16px #ff2a4b, 0 0 28px #ff2a4b, 0 0 42px rgba(255, 42, 75, 1);
    filter: drop-shadow(0 0 8px #ff2a4b) brightness(1.35);
  }
  45% {
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 0 6px #ffffff, 0 0 16px #ff2a4b, 0 0 28px #ff2a4b, 0 0 42px rgba(255, 42, 75, 1);
    filter: drop-shadow(0 0 8px #ff2a4b) brightness(1.35);
  }
  55%, 85% {
    opacity: 0.28;
    transform: scale(0.8);
    box-shadow: 0 0 3px #ff2a4b;
    filter: drop-shadow(0 0 2px #ff2a4b) brightness(0.75);
  }
}

/* ==========================================================================
   7.2 POP List (pop_list.php) 3D Glass Tiles & Tables
   ========================================================================== */
body .pl-tile {
  display: flex !important;
  height: 108px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  color: #fff !important;
  position: relative !important;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.45) !important;
  transition: all .3s cubic-bezier(0.175,0.885,0.32,1.275) !important;
}
body .pl-tile:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 18px 36px rgba(0,0,0,0.55), 0 0 20px rgba(56,189,248,0.35) !important;
}
body .pl-tile-num {
  font-size: 30px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.1 !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6), 0 0 12px rgba(255,255,255,0.35) !important;
}
body .pl-table tbody tr:hover td {
  background: rgba(56, 189, 248, 0.18) !important;
  color: #ffffff !important;
}
/* ==========================================================================
   8. Navigation Bar & Notice Hover Animations (Lightweight GPU-accelerated)
   ========================================================================== */
#mainMenu .btn-menu,
.sidebar .btn-menu {
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.26s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#mainMenu .btn-menu::after,
.sidebar .btn-menu::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent) !important;
  transform: scaleX(0) !important;
  transition: transform 0.28s ease !important;
}

#mainMenu .btn-menu:hover::after,
.sidebar .btn-menu:hover::after {
  transform: scaleX(1) !important;
}

#mainMenu .btn-menu:hover,
.sidebar .btn-menu:hover {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.14) 0%, rgba(14, 165, 233, 0.04) 100%) !important;
  box-shadow: inset 0 0 12px rgba(56, 189, 248, 0.12) !important;
}

/* Notice Ticker & Announcement Bar */
.notice-marquee,
.notice-bar,
.announcement-bar {
  transition: all 0.3s ease !important;
  border-radius: 8px !important;
}

.notice-marquee:hover,
.notice-bar:hover,
.announcement-bar:hover {
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3), inset 0 0 10px rgba(56, 189, 248, 0.12) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
}

/* Modals Dark Glass */
body .modal-content {
  background: rgba(11, 20, 38, 0.95) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7) !important;
  color: #f8fafc !important;
}

body .modal-header.dbc-mhead {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(20, 54, 82, 0.95)) !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.25) !important;
  color: #ffffff !important;
}

body .modal-body table td,
body .modal-body table th {
  color: #f8fafc !important;
  border-color: rgba(148, 163, 184, 0.15) !important;
  background: transparent !important;
}
