:root {
  --futuristic-bg: #f5f9ff !important;
  --futuristic-sidebar-bg: #ffffff !important;
  --futuristic-header-bg: #ffffff !important;
  --futuristic-text: #172033 !important;
  --futuristic-text-muted: #6b7a90 !important;
  --futuristic-accent: #4da3ff !important;
  --futuristic-accent-hover: #2f8ef5 !important;
  --futuristic-border: #dce9f7 !important;
  --futuristic-active-bg: #eaf4ff !important;
  --bg-primary: #f5f9ff !important;
  --bg-secondary: #ffffff !important;
  --bg-tertiary: #edf6ff !important;
  --bg-card: #ffffff !important;
  --bg-hover: #eaf4ff !important;
  --text-primary: #172033 !important;
  --text-secondary: #5f7088 !important;
  --primary-color: #4da3ff !important;
  --primary-hover: #2f8ef5 !important;
}

html, body {
  background: #f5f9ff !important;
  color: #172033 !important;
  font-family: Inter, Poppins, "Segoe UI", sans-serif !important;
}

body::before, body::after, .background-animation, .particles { display: none !important; }

.main-header, header.navbar, .navigation-sidebar, .sidebar-profile,
.card, .metric-card, .dashboard-card, .content-card, .table-container,
.modal-content, .dropdown-menu, .offcanvas, .login-card, .auth-card {
  background: #ffffff !important;
  color: #172033 !important;
  border-color: #dce9f7 !important;
  box-shadow: 0 8px 28px rgba(65, 117, 170, .09) !important;
}

.main-header, header.navbar { border-bottom: 1px solid #dce9f7 !important; }
.navigation-sidebar { border-right: 1px solid #dce9f7 !important; }

.navigation-sidebar a, .navigation-sidebar span, .main-header a,
.navbar-brand, .dropdown-item, .card, .card-title, .modal-title,
h1, h2, h3, h4, h5, h6, label { color: #172033 !important; }

.navigation-sidebar a:hover, .navigation-sidebar li.active > a,
.navigation-sidebar .active, .dropdown-item:hover {
  color: #1677d2 !important;
  background: #eaf4ff !important;
}

.btn-primary, .btn-success, .page-link.active, .dataTables_wrapper .dt-button,
button[type="submit"] {
  background: #4da3ff !important;
  border-color: #4da3ff !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(77, 163, 255, .22) !important;
}
.btn-primary:hover, .btn-success:hover, button[type="submit"]:hover {
  background: #2f8ef5 !important;
  border-color: #2f8ef5 !important;
}
.btn-outline-primary, .btn-outline-success {
  color: #2f8ef5 !important;
  border-color: #8bc4ff !important;
  background: #f7fbff !important;
}

input, select, textarea, .form-control, .form-select, .dt-input {
  color: #172033 !important;
  background: #ffffff !important;
  border: 1px solid #cfe1f4 !important;
  box-shadow: none !important;
}
input:focus, select:focus, textarea:focus, .form-control:focus, .form-select:focus {
  border-color: #4da3ff !important;
  box-shadow: 0 0 0 .2rem rgba(77, 163, 255, .14) !important;
}

table, .table, table.dataTable { color: #172033 !important; background: #ffffff !important; }
table thead th, .table thead th, table.dataTable thead th {
  color: #38516d !important;
  background: #edf6ff !important;
  border-color: #dce9f7 !important;
}
table tbody td, .table tbody td, table.dataTable tbody td {
  color: #26364b !important;
  background: #ffffff !important;
  border-color: #e7f0f9 !important;
}
table tbody tr:hover td, .table tbody tr:hover td { background: #f3f9ff !important; }

.text-muted, small, .small { color: #6b7a90 !important; }
.border, hr { border-color: #dce9f7 !important; }
.badge.bg-dark, .bg-dark { background: #dceeff !important; color: #24527f !important; }

.modal-backdrop, [style*="rgba(0,0,0"], [style*="rgba(0, 0, 0"] { backdrop-filter: blur(3px); }
.modal-content [style*="background"] { border-color: #dce9f7 !important; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #f1f6fb; }
::-webkit-scrollbar-thumb { background: #b9d9f7; border-radius: 10px; }

/* Login */
body.login-page, .login-page, .login-wrapper, .auth-wrapper {
  background: #f5f9ff !important;
}
.login-container, .login-card, .auth-card, .login-box {
  background: #ffffff !important;
  border: 1px solid #dce9f7 !important;
  box-shadow: 0 20px 60px rgba(47, 111, 173, .13) !important;
}

@media (max-width: 991px) {
  .navigation-sidebar { box-shadow: 12px 0 36px rgba(47, 111, 173, .13) !important; }
}

/* NexPlay brand system */
:root {
  --nex-navy: #07152d;
  --nex-blue: #168cff;
  --nex-cyan: #52d9ff;
  --nex-violet: #8b5cf6;
  --nex-magenta: #c348e8;
  --nex-ice: #f4f9ff;
  --nex-line: #d8e8fa;
  --futuristic-accent: #168cff !important;
  --futuristic-accent-hover: #0878e5 !important;
  --primary-color: #168cff !important;
  --primary-hover: #0878e5 !important;
}

body {
  background: radial-gradient(circle at 92% 2%, rgba(82,217,255,.10), transparent 28%),
              radial-gradient(circle at 72% 100%, rgba(139,92,246,.07), transparent 32%),
              #f6faff !important;
}

.main-header, header.navbar {
  background: rgba(255,255,255,.94) !important;
  border-bottom: 1px solid rgba(22,140,255,.16) !important;
  box-shadow: 0 8px 30px rgba(7,21,45,.06) !important;
  backdrop-filter: blur(14px);
}

.nexplay-wordmark {
  width: 132px !important;
  height: 42px !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: drop-shadow(0 4px 9px rgba(22,140,255,.18));
}

.header-profile-user {
  width: 36px !important;
  height: 36px !important;
  object-fit: cover !important;
  padding: 2px;
  background: linear-gradient(135deg, var(--nex-cyan), var(--nex-violet));
  box-shadow: 0 0 0 2px #fff, 0 4px 12px rgba(22,140,255,.25) !important;
}

.navigation-sidebar {
  background: rgba(255,255,255,.97) !important;
  border-right: 1px solid rgba(22,140,255,.14) !important;
}
.profile-pic-wrapper {
  background: linear-gradient(135deg, var(--nex-cyan), var(--nex-blue), var(--nex-violet)) !important;
  padding: 3px !important;
  box-shadow: 0 8px 24px rgba(22,140,255,.20) !important;
}
.profile-pic-wrapper img { object-fit: cover !important; background: var(--nex-navy) !important; }

.navigation-sidebar .nav-link {
  border-radius: 10px !important;
  margin: 3px 10px !important;
  transition: transform .18s ease, background .18s ease, color .18s ease !important;
}
.navigation-sidebar .nav-link:hover {
  transform: translateX(3px);
  background: linear-gradient(90deg, rgba(82,217,255,.13), rgba(139,92,246,.08)) !important;
}
.navigation-sidebar li.active > .nav-link,
.navigation-sidebar .nav-link.active {
  color: #0878e5 !important;
  background: linear-gradient(90deg, rgba(22,140,255,.15), rgba(139,92,246,.10)) !important;
  box-shadow: inset 3px 0 0 var(--nex-blue) !important;
}

.card, .metric-card, .dashboard-card, .content-card, .table-container {
  border: 1px solid rgba(22,140,255,.13) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 34px rgba(7,21,45,.07) !important;
}
.card::before, .metric-card::before, .dashboard-card::before {
  border-color: transparent !important;
}

.btn-primary, .btn-success, button[type="submit"] {
  background: linear-gradient(135deg, var(--nex-blue), #4678f5 58%, var(--nex-violet)) !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 20px rgba(22,140,255,.25) !important;
}
.btn-primary:hover, .btn-success:hover, button[type="submit"]:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.badge.bg-success {
  background: linear-gradient(135deg, #0abf88, #079669) !important;
  color: #fff !important;
}

table thead th, .table thead th, table.dataTable thead th {
  background: linear-gradient(180deg, #f0f7ff, #e8f3ff) !important;
  color: #16375b !important;
}

/* NexPlay login */
body:has(.auth-container) {
  background-image: linear-gradient(135deg, rgba(247,251,255,.94), rgba(240,246,255,.91)),
                    url('../img/background.png') !important;
  background-size: cover !important;
  background-position: center !important;
}
.auth-container .login-card {
  width: min(460px, calc(100vw - 32px)) !important;
  border: 1px solid rgba(82,217,255,.30) !important;
  border-radius: 24px !important;
  box-shadow: 0 26px 80px rgba(7,21,45,.18), 0 0 0 1px rgba(255,255,255,.9) inset !important;
  overflow: hidden !important;
}
.auth-container .login-card::before {
  background: linear-gradient(90deg, var(--nex-cyan), var(--nex-blue), var(--nex-violet), var(--nex-magenta)) !important;
  height: 4px !important;
}
.nexplay-login-brand { justify-content: center !important; width: 100% !important; }
.nexplay-login-logo {
  display: block;
  width: min(310px, 82%) !important;
  height: 105px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  filter: drop-shadow(0 10px 16px rgba(22,140,255,.20));
}
.logo-subtitle { color: #647b96 !important; letter-spacing: .12em !important; }
.loading-logo, .footer-logo {
  overflow: hidden !important;
  background: var(--nex-navy) !important;
  border: 1px solid rgba(82,217,255,.45) !important;
}
.loading-logo img, .footer-logo img { width: 100%; height: 100%; object-fit: cover; }
.loading-screen { background: var(--nex-navy) !important; }
.loading-spinner { border-top-color: var(--nex-cyan) !important; }

@media (max-width: 575px) {
  .nexplay-wordmark { width: 96px !important; height: 34px !important; }
  .nexplay-login-logo { height: 82px !important; }
  .auth-container .login-card { border-radius: 18px !important; }
}

/* NexPlay UI 2.0 — structural refinement */
:root {
  --sidebar-width-expanded: 272px !important;
  --header-height: 64px !important;
  --nex-shadow-sm: 0 4px 14px rgba(18, 54, 88, .06);
  --nex-shadow-md: 0 16px 45px rgba(18, 54, 88, .09);
}

.header-container { min-height: 64px !important; padding: 0 24px !important; }
.main-header .navbar-brand { min-width: 148px; padding: 0 !important; }
.nexplay-wordmark { width: 148px !important; height: 48px !important; }
.menu-toggle-btn {
  width: 40px !important; height: 40px !important; padding: 0 !important;
  display: grid !important; place-items: center !important;
  color: #0878e5 !important; background: #eef7ff !important;
  border: 1px solid #d8eafe !important; border-radius: 11px !important;
  box-shadow: none !important;
}
.main-header .badge { border-radius: 999px !important; padding: 7px 12px !important; }
.header-item { height: 48px !important; padding: 5px 10px !important; border-radius: 12px !important; box-shadow: none !important; }

.sidebar-profile { padding: 24px 18px 20px !important; background: #fff !important; }
.profile-pic-wrapper {
  width: 86px !important; height: 86px !important; margin: 0 auto !important;
  border-radius: 50% !important; display: grid !important; place-items: center !important;
  padding: 3px !important; background: linear-gradient(135deg, #52d9ff, #168cff 52%, #9b5cf6) !important;
}
.sidebar-profile .profile-pic-wrapper img {
  width: 78px !important; height: 78px !important; border: 3px solid #fff !important;
  border-radius: 50% !important; box-shadow: none !important;
}
.sidebar-profile .profile-name { margin-top: 12px !important; font-size: .95rem !important; letter-spacing: .04em !important; }
.sidebar-profile .profile-role { color: #71839a !important; font-size: .68rem !important; letter-spacing: .12em !important; }
.profile-stats:empty, .profile-stats .stat-item:empty { display: none !important; }

.nav-menu { padding: 14px 10px 28px !important; }
.navigation-sidebar .nav-link {
  min-height: 46px !important; height: auto !important; margin: 3px 0 !important;
  padding: 11px 14px !important; border-radius: 11px !important;
  color: #33465d !important; font-size: .93rem !important; box-shadow: none !important;
}
.navigation-sidebar .nav-link .icon { color: #60758f !important; font-size: 1rem !important; }
.navigation-sidebar .nav-link:hover .icon,
.navigation-sidebar .nav-item.active > .nav-link .icon { color: #168cff !important; }
.navigation-sidebar .nav-item.active > .nav-link {
  background: linear-gradient(90deg, #e8f4ff, #f2edff) !important;
  color: #096fcf !important; box-shadow: inset 3px 0 0 #168cff !important;
}
.navigation-sidebar .nav-link::before { display: none !important; }
.submenu {
  margin: 4px 0 8px !important; padding-left: 10px !important;
  background: transparent !important; border-left: 1px solid #dceafa !important;
}
body.sidebar-expanded .submenu { margin-left: 22px !important; padding-left: 8px !important; }
.nav-item.has-submenu.open > .submenu { padding-top: 3px !important; padding-bottom: 3px !important; }
.submenu .nav-link, body.sidebar-expanded .submenu .nav-link {
  min-height: 38px !important; padding: 8px 12px !important; margin: 2px 0 !important;
  font-size: .84rem !important; border-radius: 9px !important; color: #62758d !important;
}
.submenu .nav-item.active > .nav-link {
  color: #0878e5 !important; background: #edf6ff !important; box-shadow: none !important;
}

main.container-fluid { padding: 0 !important; }
#main-content-wrapper {
  width: calc(100% - 48px) !important; max-width: 1600px !important;
  margin: 28px auto 48px !important; padding: 0 !important;
  background: transparent !important;
}
#main-content-wrapper > h4 {
  min-height: 88px; margin: 0 0 18px !important; padding: 22px 26px !important;
  color: #102a46 !important; background: #fff !important;
  border: 1px solid #dfebf7 !important; border-radius: 16px !important;
  box-shadow: var(--nex-shadow-sm) !important; text-shadow: none !important;
  font-size: 1.45rem !important; letter-spacing: -.02em !important; text-transform: none !important;
}

.nex-page-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-bottom: 18px; padding: 25px 28px; background: #fff;
  border: 1px solid #dfebf7; border-radius: 18px; box-shadow: var(--nex-shadow-sm);
  position: relative; overflow: hidden;
}
.nex-page-heading::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, #52d9ff, #168cff, #8b5cf6);
}
.nex-eyebrow {
  display: block; margin-bottom: 5px; color: #168cff; font-size: .72rem;
  font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.nex-page-heading h1 { margin: 0 !important; color: #0d2743 !important; font-size: 1.72rem !important; font-weight: 750 !important; letter-spacing: -.035em; }
.nex-page-heading p { margin: 6px 0 0; color: #71839a; font-size: .91rem; }
.nex-primary-action {
  display: inline-flex !important; align-items: center; gap: 9px; white-space: nowrap;
  padding: 11px 17px !important; color: #fff !important; border: 0 !important;
  border-radius: 11px !important; background: linear-gradient(135deg, #168cff, #476ff0 62%, #805ee8) !important;
  box-shadow: 0 9px 22px rgba(22,140,255,.23) !important;
}

.nex-data-panel, #main-content-wrapper .dataTables_wrapper, #main-content-wrapper .dt-container {
  background: #fff !important; border: 1px solid #dfebf7 !important;
  border-radius: 18px !important; box-shadow: var(--nex-shadow-md) !important;
}
.nex-data-panel { padding: 0 !important; overflow: hidden !important; }
.nex-data-panel .dataTables_wrapper, .nex-data-panel .dt-container {
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  padding: 20px !important;
}
.dataTables_wrapper .dataTables_filter, .dt-search { margin: 0 0 18px !important; }
.dataTables_wrapper .dataTables_filter label, .dt-search label {
  color: #52667e !important; font-size: .78rem !important; font-weight: 700 !important;
}
.dataTables_wrapper .dataTables_filter input[type="search"], .dt-search input {
  width: 250px !important; min-height: 40px !important; margin-left: 10px !important;
  padding: 8px 12px 8px 38px !important; color: #1e344e !important;
  background-color: #f8fbff !important; border: 1px solid #d4e4f5 !important;
  border-radius: 10px !important; box-shadow: none !important;
}
#data_table { margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
#data_table thead th { height: 54px; padding: 14px 16px !important; font-size: .73rem !important; letter-spacing: .05em; }
#data_table tbody td { height: 58px; padding: 13px 16px !important; vertical-align: middle !important; }
#data_table tbody td.dataTables_empty, #data_table tbody td.dt-empty {
  height: 130px !important; color: #7b8da3 !important; background: #fbfdff !important;
  font-size: .9rem !important;
}
.dataTables_wrapper .dataTables_paginate, .dt-paging { margin-top: 18px !important; text-align: right !important; }
.dataTables_wrapper .paginate_button, .dt-paging .dt-paging-button {
  min-width: auto !important; margin: 0 3px !important; padding: 7px 11px !important;
  color: #52667e !important; background: #f7faff !important;
  border: 1px solid #dce8f5 !important; border-radius: 8px !important; box-shadow: none !important;
}
.dataTables_wrapper .paginate_button:hover, .dt-paging .dt-paging-button:hover {
  color: #0878e5 !important; background: #eaf4ff !important; transform: none !important; box-shadow: none !important;
}
.dataTables_wrapper .dataTables_info, .dt-info {
  margin-top: 22px !important; color: #8494a8 !important; font-size: .78rem !important; text-align: left !important;
}

@media (max-width: 767px) {
  .header-container { padding: 0 12px !important; }
  #main-content-wrapper { width: calc(100% - 24px) !important; margin-top: 16px !important; }
  .nex-page-heading { align-items: flex-start; flex-direction: column; padding: 21px 20px; }
  .nex-primary-action { width: 100%; justify-content: center; }
  .dataTables_wrapper .dataTables_filter input[type="search"], .dt-search input { width: 190px !important; }
}

/* NexPlay UI 2.3 — robust importer counters */
.nex-upload-container {
  width: calc(100% - 48px) !important;
  max-width: 1500px !important;
  margin: 28px auto 48px !important;
  padding: 26px !important;
  color: #243b55 !important;
  background: #ffffff !important;
  border: 1px solid #dce9f6 !important;
  border-radius: 20px !important;
  box-shadow: var(--nex-shadow-md) !important;
}
#tempo_Total_Estimado, #totalRequests, #add_urls, #canais, #filmes,
#series_adicionando, #temporadas_adicionando, #episodios_adicionando,
#exitente, #Erro, #epg_adicionando {
  display: block !important;
  min-height: 32px !important;
  color: #102a46 !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-shadow: none !important;
}
.nex-upload-container .card-footer {
  color: #536a84 !important;
  background: #f8fbff !important;
  border-color: #e3edf7 !important;
}
@media (max-width: 767px) {
  .nex-upload-container { width: calc(100% - 24px) !important; padding: 16px !important; }
}

/* NexPlay UI 2.2 — M3U importer visibility */
body:has(#processFileBtn) {
  display: block !important;
  min-height: 100vh !important;
  color: #243b55 !important;
  background: radial-gradient(circle at 90% 0, rgba(82,217,255,.10), transparent 30%), #f5f9ff !important;
}
body:has(#processFileBtn) > .container {
  width: calc(100% - 48px) !important;
  max-width: 1500px !important;
  margin: 28px auto 48px !important;
  padding: 26px !important;
  background: #ffffff !important;
  border: 1px solid #dce9f6 !important;
  border-radius: 20px !important;
  box-shadow: var(--nex-shadow-md) !important;
  backdrop-filter: none !important;
}
body:has(#processFileBtn) #controles {
  margin-bottom: 22px !important;
  padding: 18px !important;
  background: #f7fbff !important;
  border: 1px solid #dce9f6 !important;
  border-radius: 14px !important;
}
body:has(#processFileBtn) .card {
  background: #fff !important;
  border: 1px solid #dce9f6 !important;
  border-radius: 15px !important;
  box-shadow: var(--nex-shadow-sm) !important;
}
body:has(#processFileBtn) .card:hover { transform: translateY(-2px) !important; box-shadow: var(--nex-shadow-md) !important; }
body:has(#processFileBtn) .card-text {
  color: #102a46 !important;
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-shadow: none !important;
}
body:has(#processFileBtn) .card-label { color: #71839a !important; font-size: .74rem !important; }
body:has(#processFileBtn) .card-innerBody .float-start {
  background: #eaf7ff !important;
  box-shadow: none !important;
}
body:has(#processFileBtn) .card-innerBody .float-start i {
  color: #168cff !important;
  font-size: 1.65rem !important;
  text-shadow: none !important;
}
body:has(#processFileBtn) .card-footer {
  color: #536a84 !important;
  background: #f8fbff !important;
  border-top: 1px solid #e3edf7 !important;
}
body:has(#processFileBtn) .card-footer small { color: #657b94 !important; }
body:has(#processFileBtn) .progress {
  height: 12px !important;
  background: #e6eff8 !important;
  border-radius: 999px !important;
  overflow: hidden !important;
}
body:has(#processFileBtn) .progress-bar {
  color: #fff !important;
  background: linear-gradient(90deg, #168cff, #52d9ff, #8b5cf6) !important;
  border-radius: 999px !important;
  font-size: .65rem !important;
}
body:has(#processFileBtn) .modal-content,
body:has(#processFileBtn) #dropArea,
body:has(#processFileBtn) #dropArea2,
body:has(#processFileBtn) #dropArea2_url {
  color: #243b55 !important;
  background: #ffffff !important;
  border-color: #cfe2f5 !important;
}

@media (max-width: 767px) {
  body:has(#processFileBtn) > .container { width: calc(100% - 24px) !important; padding: 16px !important; margin-top: 16px !important; }
}

/* NexPlay UI 2.1 — fixed header offset and light dashboard */
body:has(.navigation-sidebar) {
  padding-top: var(--header-height) !important;
}

.dashboard-container {
  width: calc(100% - 48px) !important;
  max-width: 1600px !important;
  min-height: calc(100vh - var(--header-height) - 48px) !important;
  margin: 28px auto 48px !important;
  padding: 0 !important;
  background: transparent !important;
}
.dashboard-container > .row { margin-left: -9px !important; margin-right: -9px !important; }
.dashboard-container > .row > [class*="col-"] { padding-left: 9px !important; padding-right: 9px !important; }
.dashboard-container .section-header {
  margin: 0 0 4px !important;
  padding: 17px 20px !important;
  color: #16324f !important;
  background: #ffffff !important;
  border: 1px solid #dfebf7 !important;
  border-radius: 14px !important;
  box-shadow: var(--nex-shadow-sm) !important;
  font-size: 1rem !important;
  letter-spacing: -.01em !important;
  text-shadow: none !important;
}
.dashboard-container .section-header::before {
  left: 0 !important; top: 0 !important; bottom: 0 !important;
  width: 4px !important; height: 100% !important;
  background: linear-gradient(180deg, #52d9ff, #168cff, #8b5cf6) !important;
  animation: none !important;
}
.dashboard-container .section-header i { color: #168cff !important; margin-right: 9px !important; }

.dashboard-container .futuristic-card {
  color: #1d354f !important;
  background: #ffffff !important;
  border: 1px solid #dce9f6 !important;
  border-radius: 15px !important;
  box-shadow: var(--nex-shadow-sm) !important;
  backdrop-filter: none !important;
}
.dashboard-container .futuristic-card:hover {
  transform: translateY(-2px) !important;
  border-color: #b9d9f8 !important;
  box-shadow: 0 16px 36px rgba(18,54,88,.10) !important;
}
.dashboard-container .futuristic-card::before {
  height: 3px !important;
  opacity: 1 !important;
  background: linear-gradient(90deg, #52d9ff, #168cff, #8b5cf6) !important;
}
.dashboard-container .card-content { padding: 18px 17px !important; color: #1d354f !important; }
.dashboard-container .metric-icon {
  width: 42px !important; height: 42px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  margin-bottom: 13px !important; border-radius: 12px !important; font-size: 1rem !important;
}
.dashboard-container .metric-primary { background: #eaf5ff !important; }
.dashboard-container .metric-success { background: #e9f9f1 !important; }
.dashboard-container .metric-warning { background: #fff7df !important; }
.dashboard-container .metric-info { background: #e7f9fc !important; }
.dashboard-container .metric-danger { background: #fff0f2 !important; }
.dashboard-container .metric-value {
  margin: 5px 0 !important; color: #102a46 !important;
  font-size: 1.55rem !important; line-height: 1.2 !important;
  text-shadow: none !important;
}
.dashboard-container .metric-label {
  color: #71839a !important; font-size: .69rem !important;
  font-weight: 700 !important; letter-spacing: .09em !important;
}
.dashboard-container .metric-footer {
  padding: 10px 16px !important; color: #536a84 !important;
  background: #f8fbff !important; border-top: 1px solid #e3edf7 !important;
}
.dashboard-container .metric-total { color: #71839a !important; }

.dashboard-container .data-table-container {
  background: #fff !important; border: 1px solid #dce9f6 !important;
  border-radius: 15px !important; box-shadow: var(--nex-shadow-sm) !important;
}
.dashboard-container .table-header {
  padding: 15px 17px !important; background: #f5f9ff !important;
  border-bottom: 1px solid #e1ecf7 !important;
}
.dashboard-container .table-title { color: #16324f !important; font-size: .95rem !important; }
.dashboard-container .futuristic-table { color: #253c55 !important; background: #fff !important; }
.dashboard-container .futuristic-table th {
  color: #4c6682 !important; background: #edf6ff !important;
  border-bottom: 1px solid #dce9f6 !important;
}
.dashboard-container .futuristic-table td {
  color: #334b65 !important; background: #fff !important;
  border-bottom: 1px solid #edf2f7 !important;
}
.dashboard-container .table-summary {
  color: #334b65 !important; background: #f8fbff !important;
  border-top: 1px solid #e1ecf7 !important;
}
.dashboard-container .summary-row { color: #334b65 !important; }
.dashboard-container .summary-label { color: #71839a !important; }
.dashboard-container .online-status { background: #fff8e6 !important; }

@media (max-width: 767px) {
  body:has(.navigation-sidebar) { padding-top: var(--header-height) !important; }
  .dashboard-container { width: calc(100% - 24px) !important; margin-top: 16px !important; }
}
