/*
 * BB9 Panel Theme Presets
 * Phase 10.3 panel-wide version.
 * Login screen untouched.
 */

/* Widget list */
.nxt-theme-list{display:grid;gap:10px}
.nxt-theme-row{margin:0}
.nxt-theme-row-btn{width:100%;border:1px solid rgba(120,180,255,.18);background:rgba(7,17,31,.72);color:#eaf4ff;border-radius:16px;padding:12px 14px;display:flex;align-items:center;gap:12px;text-align:left;transition:border-color .18s ease,transform .18s ease,background .18s ease}
.nxt-theme-row-btn:hover{border-color:rgba(54,163,255,.55);background:rgba(11,31,54,.86);transform:translateY(-1px)}
.nxt-theme-row.is-active .nxt-theme-row-btn{border-color:rgba(54,163,255,.8);box-shadow:0 0 0 1px rgba(54,163,255,.22),0 16px 35px rgba(0,0,0,.22)}
.nxt-theme-dot{width:16px;height:16px;border-radius:999px;background:var(--theme-dot,#36a3ff);box-shadow:0 0 18px var(--theme-dot,#36a3ff);flex:0 0 auto}
.nxt-theme-copy{display:grid;flex:1;min-width:0}
.nxt-theme-copy strong{font-size:14px;letter-spacing:.02em}
.nxt-theme-copy small{color:#91a7c0;font-size:12px}
.nxt-theme-status{font-size:12px;border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:4px 9px;color:#b9d7ff}

/* Theme variables */
body.nxt-theme-default{--nxt-panel-accent:#36a3ff;--nxt-panel-bg:#07111f;--nxt-panel-card:rgba(12,28,48,.92);--nxt-panel-side:#07111f;--nxt-panel-text:#eaf4ff}
body.nxt-theme-hud_blue{--nxt-panel-accent:#22b8ff;--nxt-panel-bg:#07111f;--nxt-panel-card:rgba(9,29,52,.94);--nxt-panel-side:#06172a;--nxt-panel-text:#eaf4ff}
body.nxt-theme-neon_green{--nxt-panel-accent:#37ffb1;--nxt-panel-bg:#04110d;--nxt-panel-card:rgba(6,34,25,.94);--nxt-panel-side:#03100b;--nxt-panel-text:#eafff8}
body.nxt-theme-stealth_ops{--nxt-panel-accent:#8ea7ff;--nxt-panel-bg:#05070d;--nxt-panel-card:rgba(12,15,25,.95);--nxt-panel-side:#05070d;--nxt-panel-text:#eef2ff}
body.nxt-theme-midnight_purple{--nxt-panel-accent:#a78bfa;--nxt-panel-bg:#09071a;--nxt-panel-card:rgba(24,17,48,.94);--nxt-panel-side:#0b0820;--nxt-panel-text:#f5f0ff}
body.nxt-theme-dev_silver{--nxt-panel-accent:#d7dde8;--nxt-panel-bg:#10141b;--nxt-panel-card:rgba(34,39,48,.94);--nxt-panel-side:#0b0f15;--nxt-panel-text:#f6f8fb}

/* Main shell */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled),
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .page,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .page-wrapper,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .main-content,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .page-content{
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--nxt-panel-accent,#36a3ff) 18%, transparent), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--nxt-panel-bg,#07111f) 92%, #000 8%), #050913) !important;
  color:var(--nxt-panel-text,#eaf4ff);
}

/* Sidebar + navigation */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-vertical,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) aside.navbar,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) #sidebar-menu-wrap{
  background:
    radial-gradient(circle at top left, color-mix(in srgb,var(--nxt-panel-accent,#36a3ff) 18%, transparent), transparent 45%),
    linear-gradient(180deg, color-mix(in srgb,var(--nxt-panel-side,#07111f) 94%, #000 6%), #030712) !important;
  border-color:color-mix(in srgb,var(--nxt-panel-accent,#36a3ff) 34%, rgba(255,255,255,.08)) !important;
}

body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar .nav-link,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-vertical .nav-link,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) aside.navbar .nav-link,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-brand{
  color:color-mix(in srgb,var(--nxt-panel-text,#eaf4ff) 88%, var(--nxt-panel-accent,#36a3ff) 12%) !important;
}

body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar .nav-link:hover,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-vertical .nav-link:hover,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar .nav-link.active,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-vertical .nav-link.active{
  color:var(--nxt-panel-accent,#36a3ff) !important;
  background:color-mix(in srgb,var(--nxt-panel-accent,#36a3ff) 14%, transparent) !important;
  box-shadow:inset 3px 0 0 var(--nxt-panel-accent,#36a3ff);
}

/* Topbar/header */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .topbar,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) header{
  border-color:color-mix(in srgb,var(--nxt-panel-accent,#36a3ff) 25%, rgba(255,255,255,.08)) !important;
}

/* Cards/modules/dropdowns/tables */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .card,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .dashboard-ref-panel,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .dropdown-menu,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .modal-content,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .table,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .form-control,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .form-select{
  border-color:color-mix(in srgb,var(--nxt-panel-accent,#36a3ff) 28%, rgba(255,255,255,.12)) !important;
}

body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .card,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .dashboard-ref-panel,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .dropdown-menu,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .modal-content{
  background:
    linear-gradient(180deg, color-mix(in srgb,var(--nxt-panel-card,rgba(12,28,48,.92)) 94%, transparent), rgba(5,9,19,.90)) !important;
  box-shadow:0 18px 45px rgba(0,0,0,.28),0 0 28px color-mix(in srgb,var(--nxt-panel-accent,#36a3ff) 12%,transparent) !important;
}

body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .btn-primary,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .api-copy-btn,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .badge.bg-blue-lt{
  box-shadow:0 0 22px color-mix(in srgb,var(--nxt-panel-accent,#36a3ff) 32%,transparent) !important;
  border-color:color-mix(in srgb,var(--nxt-panel-accent,#36a3ff) 58%,#ffffff 0%) !important;
}

body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .dashboard-card-eyebrow,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .card-title,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) a{
  color:var(--nxt-panel-accent,#36a3ff) !important;
}

/* Theme-specific accent tuning */
body.nxt-theme-neon_green .text-secondary{color:#9cf7d8!important}
body.nxt-theme-hud_blue .text-secondary{color:#9ddcff!important}
body.nxt-theme-stealth_ops .text-secondary{color:#aebaf5!important}
body.nxt-theme-midnight_purple .text-secondary{color:#c4b5fd!important}

/* BB9 Phase 10.5 API Helper standalone theme bridge */
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled){
  --nxt-panel-accent: var(--nxt-panel-accent, #36a3ff);
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--nxt-panel-accent,#36a3ff) 18%, transparent), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--nxt-panel-bg,#07111f) 94%, #000 6%), #050913) !important;
  color: var(--nxt-panel-text,#eaf4ff) !important;
}

.nxt-api-theme-bridge.nxt-theme-default{--nxt-panel-accent:#36a3ff;--nxt-panel-bg:#07111f;--nxt-panel-card:rgba(12,28,48,.92);--nxt-panel-text:#eaf4ff}
.nxt-api-theme-bridge.nxt-theme-hud_blue{--nxt-panel-accent:#22b8ff;--nxt-panel-bg:#07111f;--nxt-panel-card:rgba(9,29,52,.94);--nxt-panel-text:#eaf4ff}
.nxt-api-theme-bridge.nxt-theme-neon_green{--nxt-panel-accent:#37ffb1;--nxt-panel-bg:#04110d;--nxt-panel-card:rgba(6,34,25,.94);--nxt-panel-text:#eafff8}
.nxt-api-theme-bridge.nxt-theme-stealth_ops{--nxt-panel-accent:#8ea7ff;--nxt-panel-bg:#05070d;--nxt-panel-card:rgba(12,15,25,.95);--nxt-panel-text:#eef2ff}
.nxt-api-theme-bridge.nxt-theme-midnight_purple{--nxt-panel-accent:#a78bfa;--nxt-panel-bg:#09071a;--nxt-panel-card:rgba(24,17,48,.94);--nxt-panel-text:#f5f0ff}

.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-helper-shell,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-hero,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-cats,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-list,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-row,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-endpoint-drawer,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-endpoint-item{
  border-color: color-mix(in srgb,var(--nxt-panel-accent,#36a3ff) 34%,rgba(255,255,255,.10)) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.28), 0 0 26px color-mix(in srgb,var(--nxt-panel-accent,#36a3ff) 12%,transparent) !important;
}

.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-row,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-cats,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-list,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-endpoint-item{
  background:
    linear-gradient(180deg, color-mix(in srgb,var(--nxt-panel-card,rgba(12,28,48,.92)) 94%,transparent), rgba(5,9,19,.88)) !important;
}

.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-cat.active,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-pill.active,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-open,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-copy-mini{
  border-color: color-mix(in srgb,var(--nxt-panel-accent,#36a3ff) 58%,rgba(255,255,255,.12)) !important;
  box-shadow: 0 0 18px color-mix(in srgb,var(--nxt-panel-accent,#36a3ff) 28%,transparent) !important;
}

.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-small-title,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-cats-title,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-mod-name,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-visible-badge,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) a{
  color: var(--nxt-panel-accent,#36a3ff) !important;
}

.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) input,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-search input{
  border-color: color-mix(in srgb,var(--nxt-panel-accent,#36a3ff) 30%,rgba(255,255,255,.12)) !important;
  background: rgba(3,7,18,.72) !important;
  color: var(--nxt-panel-text,#eaf4ff) !important;
}


/* BB9 Phase 10.6 API Helper header/hero theme bridge */
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-hero,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-toolbar,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-countbox,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-list-head {
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--nxt-panel-accent,#36a3ff) 22%, transparent), transparent 40%),
    linear-gradient(180deg, color-mix(in srgb, var(--nxt-panel-card,rgba(12,28,48,.92)) 96%, transparent), rgba(5,9,19,.92)) !important;
  border-color: color-mix(in srgb, var(--nxt-panel-accent,#36a3ff) 38%, rgba(255,255,255,.10)) !important;
  box-shadow:
    0 18px 45px rgba(0,0,0,.32),
    0 0 34px color-mix(in srgb, var(--nxt-panel-accent,#36a3ff) 16%, transparent) !important;
}

.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-hero h1,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-hero h2,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-title,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-small-title,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-countbox strong,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-list-head h2,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-list-head h3 {
  color: var(--nxt-panel-accent,#36a3ff) !important;
  text-shadow: 0 0 18px color-mix(in srgb, var(--nxt-panel-accent,#36a3ff) 38%, transparent) !important;
}

.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-hero p,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-hero small,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-countbox span,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-mod-desc,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-footer {
  color: color-mix(in srgb, var(--nxt-panel-text,#eaf4ff) 78%, var(--nxt-panel-accent,#36a3ff) 22%) !important;
}

.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-search,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-search input,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) #nxtApiSearch {
  background: rgba(3,7,18,.74) !important;
  color: var(--nxt-panel-text,#eaf4ff) !important;
  border-color: color-mix(in srgb, var(--nxt-panel-accent,#36a3ff) 34%, rgba(255,255,255,.12)) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--nxt-panel-accent,#36a3ff) 12%,transparent) !important;
}

.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-pill,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-cat {
  background: color-mix(in srgb, var(--nxt-panel-card,rgba(12,28,48,.92)) 86%, transparent) !important;
  color: var(--nxt-panel-text,#eaf4ff) !important;
  border-color: color-mix(in srgb, var(--nxt-panel-accent,#36a3ff) 22%, rgba(255,255,255,.10)) !important;
}

.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-pill:hover,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-cat:hover,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-pill.active,
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-cat.active {
  color: var(--nxt-panel-accent,#36a3ff) !important;
  background: color-mix(in srgb, var(--nxt-panel-accent,#36a3ff) 16%, rgba(3,7,18,.80)) !important;
  border-color: color-mix(in srgb, var(--nxt-panel-accent,#36a3ff) 58%, rgba(255,255,255,.10)) !important;
  box-shadow: 0 0 20px color-mix(in srgb, var(--nxt-panel-accent,#36a3ff) 22%, transparent) !important;
}

.nxt-api-theme-bridge.nxt-theme-neon_green .nxt-api-hero,
.nxt-api-theme-bridge.nxt-theme-neon_green .nxt-api-toolbar,
.nxt-api-theme-bridge.nxt-theme-neon_green .nxt-api-countbox {
  background:
    radial-gradient(circle at top left, rgba(55,255,177,.20), transparent 42%),
    linear-gradient(180deg, rgba(4,28,20,.96), rgba(2,8,7,.94)) !important;
}

.nxt-api-theme-bridge.nxt-theme-stealth_ops .nxt-api-hero,
.nxt-api-theme-bridge.nxt-theme-stealth_ops .nxt-api-toolbar,
.nxt-api-theme-bridge.nxt-theme-stealth_ops .nxt-api-countbox {
  background:
    radial-gradient(circle at top left, rgba(142,167,255,.16), transparent 42%),
    linear-gradient(180deg, rgba(12,15,25,.97), rgba(2,3,8,.96)) !important;
}

.nxt-api-theme-bridge.nxt-theme_midnight_purple .nxt-api-hero,
.nxt-api-theme-bridge.nxt-theme-midnight_purple .nxt-api-toolbar,
.nxt-api-theme-bridge.nxt-theme-midnight_purple .nxt-api-countbox {
  background:
    radial-gradient(circle at top left, rgba(167,139,250,.20), transparent 42%),
    linear-gradient(180deg, rgba(24,17,48,.96), rgba(8,5,20,.94)) !important;
}


/* BB9 Phase 10.7 Panel-wide accent normalization */

/* Extended theme variables */
body.nxt-theme-default,
.nxt-api-theme-bridge.nxt-theme-default {
  --nxt-panel-accent:#36a3ff;
  --nxt-panel-accent-2:#19d3ff;
  --nxt-panel-glow:rgba(54,163,255,.34);
  --nxt-panel-progress:#36a3ff;
}

body.nxt-theme-hud_blue,
.nxt-api-theme-bridge.nxt-theme-hud_blue {
  --nxt-panel-accent:#22b8ff;
  --nxt-panel-accent-2:#38e8ff;
  --nxt-panel-glow:rgba(34,184,255,.38);
  --nxt-panel-progress:#4aa8ff;
}

body.nxt-theme-neon_green,
.nxt-api-theme-bridge.nxt-theme-neon_green {
  --nxt-panel-accent:#37ffb1;
  --nxt-panel-accent-2:#17d86b;
  --nxt-panel-glow:rgba(55,255,177,.34);
  --nxt-panel-progress:#37ffb1;
}

body.nxt-theme-stealth_ops,
.nxt-api-theme-bridge.nxt-theme-stealth_ops {
  --nxt-panel-accent:#8ea7ff;
  --nxt-panel-accent-2:#93a4b8;
  --nxt-panel-glow:rgba(142,167,255,.28);
  --nxt-panel-progress:#8ea7ff;
}

body.nxt-theme-midnight_purple,
.nxt-api-theme-bridge.nxt-theme-midnight_purple {
  --nxt-panel-accent:#a78bfa;
  --nxt-panel-accent-2:#7c3aed;
  --nxt-panel-glow:rgba(167,139,250,.34);
  --nxt-panel-progress:#a78bfa;
}

/* Sidebar icon bubbles / app icons */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar .nav-link-icon,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar .menu-icon,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar i[class*="ti"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar i[class*="ri"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-vertical .nav-link-icon,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-vertical .menu-icon,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) aside.navbar .nav-link-icon {
  color: var(--nxt-panel-accent) !important;
  border-color: color-mix(in srgb, var(--nxt-panel-accent) 55%, rgba(255,255,255,.10)) !important;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--nxt-panel-accent) 28%, transparent),
    0 0 18px var(--nxt-panel-glow) !important;
}

/* Circular icon wrappers, including generated module icon pills */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar .nav-link [class*="icon"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar .nav-link .avatar,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar .nxt-sidebar-icon,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar .module-icon,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar .app-icon {
  border-color: color-mix(in srgb, var(--nxt-panel-accent) 45%, rgba(255,255,255,.12)) !important;
  background:
    radial-gradient(circle at 35% 25%, color-mix(in srgb, var(--nxt-panel-accent) 34%, transparent), transparent 48%),
    rgba(4,14,24,.88) !important;
  box-shadow: 0 0 18px var(--nxt-panel-glow) !important;
}

/* Sidebar/category text accents */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar .nxt-sidebar-category-title,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar .menu-title,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar .nav-title,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar h6,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-vertical .nav-title {
  color: color-mix(in srgb, var(--nxt-panel-accent) 82%, #ffffff 18%) !important;
}

/* Scrollbars panel-wide */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) ::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

body[class*="nxt-theme-"]:not(.nxt-theme-disabled) ::-webkit-scrollbar-track {
  background: rgba(3,7,18,.72) !important;
  border-left: 1px solid color-mix(in srgb, var(--nxt-panel-accent) 12%, transparent);
}

body[class*="nxt-theme-"]:not(.nxt-theme-disabled) ::-webkit-scrollbar-thumb {
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--nxt-panel-accent) 88%, #ffffff 0%),
      color-mix(in srgb, var(--nxt-panel-accent-2) 78%, #000 14%)
    ) !important;
  border-radius: 999px;
  box-shadow: 0 0 16px var(--nxt-panel-glow) !important;
}

/* Firefox scrollbar support */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) {
  scrollbar-color: var(--nxt-panel-accent) rgba(3,7,18,.72);
}

/* Buttons that were hard-coded blue */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .btn-primary,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .api-copy-btn,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-open,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-api-copy-mini,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) button[type="submit"].btn-primary,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .dashboard-ref-panel .btn:not(.btn-outline-secondary):not(.btn-outline-danger),
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-theme-row-btn .nxt-theme-status {
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--nxt-panel-accent) 92%, #ffffff 0%),
      color-mix(in srgb, var(--nxt-panel-accent-2) 86%, #000 8%)
    ) !important;
  border-color: color-mix(in srgb, var(--nxt-panel-accent) 65%, rgba(255,255,255,.12)) !important;
  color: #ffffff !important;
  box-shadow:
    0 12px 30px rgba(0,0,0,.24),
    0 0 24px var(--nxt-panel-glow) !important;
}

/* Add Shortcut / dashboard action buttons */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .dashboard-ref-panel button,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .dashboard-ref-panel .btn,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .quick-action-card .btn,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .shortcut-card .btn,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .dashboard-shortcut .btn {
  border-color: color-mix(in srgb, var(--nxt-panel-accent) 45%, rgba(255,255,255,.12));
}

/* Progress bars */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .progress,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .progress-sm,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .progress-stacked {
  background: rgba(3,7,18,.72) !important;
  border: 1px solid color-mix(in srgb, var(--nxt-panel-accent) 20%, rgba(255,255,255,.08)) !important;
  box-shadow: inset 0 0 18px rgba(0,0,0,.28);
}

body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .progress-bar,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .progress-bar-striped,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [role="progressbar"] {
  background:
    linear-gradient(90deg,
      var(--nxt-panel-progress),
      color-mix(in srgb, var(--nxt-panel-accent-2) 88%, #ffffff 0%)
    ) !important;
  box-shadow: 0 0 20px var(--nxt-panel-glow) !important;
}

/* Form focus / selected pills */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .form-control:focus,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .form-select:focus,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) textarea:focus,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) input:focus {
  border-color: var(--nxt-panel-accent) !important;
  box-shadow: 0 0 0 .22rem color-mix(in srgb, var(--nxt-panel-accent) 20%, transparent) !important;
}

/* Badges and active states */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .badge.bg-blue-lt,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .badge.text-blue,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .active,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nav-link.active {
  border-color: color-mix(in srgb, var(--nxt-panel-accent) 45%, rgba(255,255,255,.12)) !important;
}

/* API helper standalone bridge duplicate support */
.nxt-api-theme-bridge[class*="nxt-theme-"]:not(.nxt-theme-disabled) ::-webkit-scrollbar-thumb {
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--nxt-panel-accent) 88%, #ffffff 0%),
      color-mix(in srgb, var(--nxt-panel-accent-2) 78%, #000 14%)
    ) !important;
  border-radius: 999px;
  box-shadow: 0 0 16px var(--nxt-panel-glow) !important;
}

/* Theme-specific button readability */
body.nxt-theme-neon_green .btn-primary,
body.nxt-theme-neon_green .api-copy-btn,
body.nxt-theme-neon_green .nxt-api-open,
body.nxt-theme-neon_green .nxt-api-copy-mini {
  color:#02110b !important;
  font-weight:700;
}

body.nxt-theme-stealth_ops .btn-primary,
body.nxt-theme-stealth_ops .api-copy-btn,
body.nxt-theme-stealth_ops .nxt-api-open,
body.nxt-theme-stealth_ops .nxt-api-copy-mini {
  color:#ffffff !important;
}

body.nxt-theme-midnight_purple .btn-primary,
body.nxt-theme-midnight_purple .api-copy-btn,
body.nxt-theme-midnight_purple .nxt-api-open,
body.nxt-theme-midnight_purple .nxt-api-copy-mini {
  color:#ffffff !important;
}


/* BB9 Phase 10.8 Utility / Tool accent normalization */

/*
  This layer targets stubborn custom utility pages/classes that use their own
  badge/button/hero/glow styles instead of the generic dashboard styles.
*/

/* Broad utility/tool wrappers */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="tool"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="utility"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="crypto"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="generator"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="converter"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="encode"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="decode"] {
  --nxt-local-accent: var(--nxt-panel-accent, #36a3ff);
}

/* Utility action buttons: Encrypt / Decrypt / Encode / Decode / Generate / Convert / Format / Test */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) a[class*="btn"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) button[class*="btn"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .tool-btn,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .utility-btn,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .crypto-btn,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .generator-btn,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .converter-btn,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .encode-btn,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .decode-btn,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="action-btn"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="tool-action"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="utility-action"] {
  border-color: color-mix(in srgb, var(--nxt-panel-accent) 60%, rgba(255,255,255,.12)) !important;
  color: color-mix(in srgb, var(--nxt-panel-accent) 78%, #ffffff 22%) !important;
  background:
    linear-gradient(135deg,
      rgba(3, 12, 22, .88),
      color-mix(in srgb, var(--nxt-panel-accent) 14%, rgba(3, 12, 22, .88))
    ) !important;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--nxt-panel-accent) 20%, transparent),
    0 0 18px color-mix(in srgb, var(--nxt-panel-accent) 22%, transparent) !important;
}

/* Strong CTA utility buttons */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .tool-card .btn-primary,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .utility-card .btn-primary,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .dashboard-tool-card .btn-primary,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="tool"] .btn-primary,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="utility"] .btn-primary {
  background:
    linear-gradient(135deg,
      var(--nxt-panel-accent),
      var(--nxt-panel-accent-2)
    ) !important;
  color: #ffffff !important;
  border-color: color-mix(in srgb, var(--nxt-panel-accent) 72%, rgba(255,255,255,.12)) !important;
}

/* Badges: CRYPTO / GENERATOR / DEVELOPER / ENCODE / CONVERTER etc. */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .badge,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .pill,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="badge"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="pill"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="tag"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="label"] {
  border-color: color-mix(in srgb, var(--nxt-panel-accent) 42%, rgba(255,255,255,.12)) !important;
}

/* Tool category badges specifically */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .badge.crypto,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .badge.generator,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .badge.developer,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .badge.encode,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .badge.converter,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="crypto-badge"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="generator-badge"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="developer-badge"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="encode-badge"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="converter-badge"] {
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--nxt-panel-accent) 30%, rgba(3,7,18,.94)),
      color-mix(in srgb, var(--nxt-panel-accent-2) 24%, rgba(3,7,18,.90))
    ) !important;
  color: color-mix(in srgb, var(--nxt-panel-accent) 72%, #ffffff 28%) !important;
  box-shadow: 0 0 16px color-mix(in srgb, var(--nxt-panel-accent) 22%, transparent) !important;
}

/* Extra broad: uppercase colored labels inside tool rows */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) span,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) small {
  border-color: color-mix(in srgb, var(--nxt-panel-accent) 22%, currentColor) !important;
}

/* Tool cards / utility rows */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .tool-card,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .utility-card,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .tool-row,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .utility-row,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="tool-card"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="utility-card"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="tool-row"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="utility-row"] {
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--nxt-panel-card, rgba(12,28,48,.92)) 94%, transparent),
      rgba(3,7,18,.88)
    ) !important;
  border-color: color-mix(in srgb, var(--nxt-panel-accent) 28%, rgba(255,255,255,.10)) !important;
  box-shadow:
    0 18px 42px rgba(0,0,0,.24),
    0 0 26px color-mix(in srgb, var(--nxt-panel-accent) 10%, transparent) !important;
}

/* Admin/profile/account strips and glows */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .admin-profile,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .profile-strip,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .user-profile,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .account-strip,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .nxt-admin-card,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="profile"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="admin"] {
  border-color: color-mix(in srgb, var(--nxt-panel-accent) 28%, rgba(255,255,255,.10)) !important;
}

/* Blurry glow bands / decorative panels */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .glow,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .glow-strip,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .blur-glow,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .gradient-glow,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="glow"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="blur"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="gradient"] {
  background:
    radial-gradient(circle at center,
      color-mix(in srgb, var(--nxt-panel-accent) 34%, transparent),
      transparent 68%
    ) !important;
}

/* Hero/header blocks that still show purple/blue default */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .hero,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .tool-hero,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .utility-hero,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .page-hero,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .dashboard-hero,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="hero"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="header-card"] {
  background:
    radial-gradient(circle at top left,
      color-mix(in srgb, var(--nxt-panel-accent) 20%, transparent),
      transparent 38%
    ),
    linear-gradient(180deg,
      color-mix(in srgb, var(--nxt-panel-card,rgba(12,28,48,.92)) 96%, transparent),
      rgba(3,7,18,.90)
    ) !important;
  border-color: color-mix(in srgb, var(--nxt-panel-accent) 32%, rgba(255,255,255,.10)) !important;
  box-shadow:
    0 18px 48px rgba(0,0,0,.28),
    0 0 34px color-mix(in srgb, var(--nxt-panel-accent) 12%, transparent) !important;
}

/* Count boxes like Total Tools */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .countbox,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .stat-box,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .metric-box,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="count"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="metric"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="stat"] {
  border-color: color-mix(in srgb, var(--nxt-panel-accent) 36%, rgba(255,255,255,.10)) !important;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--nxt-panel-accent) 12%, transparent),
    0 0 22px color-mix(in srgb, var(--nxt-panel-accent) 12%, transparent) !important;
}

/* Remaining scroll containers */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .scrollbar,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .simplebar-scrollbar,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .simplebar-scrollbar:before,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="scrollbar"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [class*="scroll-thumb"] {
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--nxt-panel-accent) 92%, #ffffff 0%),
      color-mix(in srgb, var(--nxt-panel-accent-2) 78%, #000 12%)
    ) !important;
  border-color: color-mix(in srgb, var(--nxt-panel-accent) 55%, transparent) !important;
  box-shadow: 0 0 18px var(--nxt-panel-glow) !important;
}

/* Custom app/browser scrollbars nested in containers */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) div::-webkit-scrollbar-thumb,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) main::-webkit-scrollbar-thumb,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) aside::-webkit-scrollbar-thumb,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) section::-webkit-scrollbar-thumb {
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--nxt-panel-accent) 90%, #ffffff 0%),
      color-mix(in srgb, var(--nxt-panel-accent-2) 78%, #000 12%)
    ) !important;
}

/* Theme-specific text contrast */
body.nxt-theme-neon_green [class*="btn"],
body.nxt-theme-neon_green button,
body.nxt-theme-neon_green .badge,
body.nxt-theme-neon_green [class*="pill"] {
  text-shadow: none !important;
}

body.nxt-theme-neon_green .btn-primary,
body.nxt-theme-neon_green button.btn-primary {
  color: #03130d !important;
}

/* Aggressive final catch for blue borders/backgrounds on utility pages */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [style*="#22b8ff"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [style*="#36a3ff"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [style*="rgb(34, 184, 255)"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) [style*="rgb(54, 163, 255)"] {
  border-color: var(--nxt-panel-accent) !important;
  color: var(--nxt-panel-accent) !important;
  box-shadow: 0 0 18px var(--nxt-panel-glow) !important;
}


/* BB9 Phase 10.9 Sidebar scrollbar hard-target theme fix */

/*
  This specifically targets the vertical blue scroll rail/thumb in the left sidebar.
  It covers native scrollbars, Tabler wrappers, SimpleBar, OverlayScrollbars,
  and common custom rail/thumb class names.
*/

body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-vertical,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) aside.navbar,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) #sidebar-menu-wrap,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-collapse,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .sidebar-menu,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .sidebar-content {
  scrollbar-color: var(--nxt-panel-accent, #36a3ff) rgba(3,7,18,.72) !important;
  scrollbar-width: thin !important;
}

/* Native webkit scrollbar inside sidebar containers */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar::-webkit-scrollbar,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-vertical::-webkit-scrollbar,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) aside.navbar::-webkit-scrollbar,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) #sidebar-menu-wrap::-webkit-scrollbar,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-collapse::-webkit-scrollbar,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .sidebar-menu::-webkit-scrollbar,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .sidebar-content::-webkit-scrollbar {
  width: 9px !important;
  height: 9px !important;
}

body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar::-webkit-scrollbar-track,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-vertical::-webkit-scrollbar-track,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) aside.navbar::-webkit-scrollbar-track,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) #sidebar-menu-wrap::-webkit-scrollbar-track,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-collapse::-webkit-scrollbar-track,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .sidebar-menu::-webkit-scrollbar-track,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .sidebar-content::-webkit-scrollbar-track {
  background: rgba(3,7,18,.82) !important;
  border-left: 1px solid color-mix(in srgb, var(--nxt-panel-accent, #36a3ff) 22%, transparent) !important;
}

body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar::-webkit-scrollbar-thumb,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-vertical::-webkit-scrollbar-thumb,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) aside.navbar::-webkit-scrollbar-thumb,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) #sidebar-menu-wrap::-webkit-scrollbar-thumb,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-collapse::-webkit-scrollbar-thumb,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .sidebar-menu::-webkit-scrollbar-thumb,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .sidebar-content::-webkit-scrollbar-thumb {
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--nxt-panel-accent, #36a3ff) 95%, #ffffff 0%),
      color-mix(in srgb, var(--nxt-panel-accent-2, #19d3ff) 82%, #000000 12%)
    ) !important;
  border-radius: 999px !important;
  border: 1px solid color-mix(in srgb, var(--nxt-panel-accent, #36a3ff) 48%, transparent) !important;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--nxt-panel-accent, #36a3ff) 22%, transparent),
    0 0 18px var(--nxt-panel-glow, rgba(54,163,255,.34)) !important;
}

/* SimpleBar / Tabler scrollbars */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar .simplebar-track,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-vertical .simplebar-track,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) aside.navbar .simplebar-track,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) #sidebar-menu-wrap .simplebar-track,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .sidebar-menu .simplebar-track,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .sidebar-content .simplebar-track {
  background: rgba(3,7,18,.82) !important;
  border-left: 1px solid color-mix(in srgb, var(--nxt-panel-accent, #36a3ff) 20%, transparent) !important;
}

body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar .simplebar-scrollbar:before,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-vertical .simplebar-scrollbar:before,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) aside.navbar .simplebar-scrollbar:before,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) #sidebar-menu-wrap .simplebar-scrollbar:before,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .sidebar-menu .simplebar-scrollbar:before,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .sidebar-content .simplebar-scrollbar:before {
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--nxt-panel-accent, #36a3ff) 95%, #ffffff 0%),
      color-mix(in srgb, var(--nxt-panel-accent-2, #19d3ff) 82%, #000000 12%)
    ) !important;
  opacity: 1 !important;
  border-radius: 999px !important;
  box-shadow: 0 0 18px var(--nxt-panel-glow, rgba(54,163,255,.34)) !important;
}

/* OverlayScrollbars / custom bars */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar .os-scrollbar-track,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-vertical .os-scrollbar-track,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) aside.navbar .os-scrollbar-track,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) #sidebar-menu-wrap .os-scrollbar-track,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .sidebar-menu .os-scrollbar-track,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .sidebar-content .os-scrollbar-track,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar [class*="scrollbar-track"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-vertical [class*="scrollbar-track"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) aside.navbar [class*="scrollbar-track"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) #sidebar-menu-wrap [class*="scrollbar-track"] {
  background: rgba(3,7,18,.82) !important;
  border-color: color-mix(in srgb, var(--nxt-panel-accent, #36a3ff) 22%, transparent) !important;
}

body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar .os-scrollbar-handle,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-vertical .os-scrollbar-handle,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) aside.navbar .os-scrollbar-handle,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) #sidebar-menu-wrap .os-scrollbar-handle,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .sidebar-menu .os-scrollbar-handle,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .sidebar-content .os-scrollbar-handle,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar [class*="scrollbar-thumb"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-vertical [class*="scrollbar-thumb"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) aside.navbar [class*="scrollbar-thumb"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) #sidebar-menu-wrap [class*="scrollbar-thumb"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar [class*="scroll-thumb"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-vertical [class*="scroll-thumb"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) aside.navbar [class*="scroll-thumb"],
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) #sidebar-menu-wrap [class*="scroll-thumb"] {
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--nxt-panel-accent, #36a3ff) 95%, #ffffff 0%),
      color-mix(in srgb, var(--nxt-panel-accent-2, #19d3ff) 82%, #000000 12%)
    ) !important;
  border-radius: 999px !important;
  box-shadow: 0 0 18px var(--nxt-panel-glow, rgba(54,163,255,.34)) !important;
}

/* Last-resort sidebar right-edge pseudo rails */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .panel-sidebar:after,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .navbar-vertical:after,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) aside.navbar:after {
  border-color: color-mix(in srgb, var(--nxt-panel-accent, #36a3ff) 24%, transparent) !important;
}

/* Theme-specific sidebar scrollbar readability */
body.nxt-theme-neon_green .panel-sidebar::-webkit-scrollbar-thumb,
body.nxt-theme-neon_green .navbar-vertical::-webkit-scrollbar-thumb,
body.nxt-theme-neon_green aside.navbar::-webkit-scrollbar-thumb,
body.nxt-theme-neon_green #sidebar-menu-wrap::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #37ffb1, #17d86b) !important;
}

body.nxt-theme-stealth_ops .panel-sidebar::-webkit-scrollbar-thumb,
body.nxt-theme-stealth_ops .navbar-vertical::-webkit-scrollbar-thumb,
body.nxt-theme-stealth_ops aside.navbar::-webkit-scrollbar-thumb,
body.nxt-theme-stealth_ops #sidebar-menu-wrap::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #8ea7ff, #5b6470) !important;
}

body.nxt-theme-midnight_purple .panel-sidebar::-webkit-scrollbar-thumb,
body.nxt-theme-midnight_purple .navbar-vertical::-webkit-scrollbar-thumb,
body.nxt-theme-midnight_purple aside.navbar::-webkit-scrollbar-thumb,
body.nxt-theme-midnight_purple #sidebar-menu-wrap::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #a78bfa, #7c3aed) !important;
}


/* BB9 Phase 10.17 True Ghost Box Purge
   Removes phantom wrapper/shell frames while preserving actual cards.
*/

/* 1) Remove broad wrapper/shell/container visual frames */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) :is(
  .dashboard-widget-shell,
  .dashboard-widget-wrap,
  .dashboard-section-shell,
  .dashboard-section-wrap,
  .dashboard-row-shell,
  .dashboard-panel-shell,
  .dashboard-ref-shell,
  .dashboard-ghost-shell,
  .dashboard-frame-shell,
  .dashboard-widget-frame,
  .dashboard-empty-shell,
  .dashboard-placeholder-shell,
  .hud-shell,
  .hud-panel-shell,
  .nxt-ghost-shell,
  .nxt-panel-shell,
  .nxt-content-shell,
  .nxt-section-shell,
  .nxt-widget-shell,
  .nxt-widget-wrapper,
  .nxt-widget-outer,
  .nxt-panel-block,
  .nxt-panel-section,
  .nxt-content-wrap,
  .nxt-content-wrapper,
  .module-shell,
  .module-wrapper,
  .module-container,
  .module-section,
  .module-box,
  .utility-shell,
  .utility-wrapper,
  .utility-module-panel,
  .utility-option5-toolbar,
  .utility-option5-hero,
  .tool-shell,
  .tool-wrapper,
  .api-shell,
  .api-wrapper
) {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* 2) Prevent panel-wide theme layer from turning non-card wrappers into cards */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) :is(
  .dashboard-ref-panel,
  .dashboard-ref-section,
  .dashboard-panel-status-card,
  .dashboard-widget-area,
  .dashboard-widget-region,
  .dashboard-grid-shell,
  .dashboard-grid-wrap,
  .hud-widget-area,
  .hud-grid-shell
):not(.card):not(.stat-card):not(.metric-card):not(.dashboard-ref-stat) {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* 3) Remove giant row/column ghost borders only when they are not real cards */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .row > [class*="col"] > :is(
  .border,
  [class*="border-"],
  [class*="shell"],
  [class*="wrapper"],
  [class*="wrap"]
):not(.card):not(.stat-card):not(.metric-card) {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* 4) Kill inset 1px shell illusion on wrappers, but not inputs/cards/buttons */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) :is(
  [class*="shell"],
  [class*="wrapper"],
  [class*="widget-wrap"],
  [class*="section-wrap"],
  [class*="panel-wrap"],
  [class*="content-wrap"],
  [class*="outer"]
):not(.card):not(.btn):not(button):not(input):not(textarea):not(select):not(.form-control):not(.form-select) {
  box-shadow: none !important;
  outline: 0 !important;
}

/* 5) Preserve actual content cards with subtle theme-safe styling */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) :is(
  .card,
  .stat-card,
  .metric-card,
  .dashboard-ref-stat,
  .quick-action-card,
  .shortcut-card,
  .tool-card,
  .utility-card,
  .nxt-api-row,
  .nxt-api-endpoint-item
) {
  border-color: color-mix(in srgb, var(--nxt-panel-accent, #36a3ff) 18%, rgba(255,255,255,.06)) !important;
}

/* 6) Remove extra outer glow from cards if nested inside ghost-prone wrappers */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) :is(
  .dashboard-widget-shell,
  .dashboard-widget-wrap,
  .dashboard-section-shell,
  .dashboard-panel-shell,
  .hud-shell,
  .nxt-widget-wrapper,
  .nxt-panel-shell
) :is(.card, .stat-card, .metric-card, .dashboard-ref-stat) {
  box-shadow: 0 12px 28px rgba(0,0,0,.24) !important;
}

/* 7) Clean full-width decorative ghost panels like the screenshot reference */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) :is(
  .dashboard-hero,
  .page-hero,
  .tool-hero,
  .utility-hero,
  .header-card
):not(.card) {
  border-color: transparent !important;
  box-shadow: none !important;
}

/* 8) Keep hero background ambience, but no rectangular outline */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) :is(
  .dashboard-hero,
  .page-hero,
  .tool-hero,
  .utility-hero
):not(.card) {
  outline: 0 !important;
}

/* 9) Remove dashed ghost upload/placeholder outlines unless actively focused/dragging */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) :is(
  .upload-dropzone,
  .dropzone,
  .dashboard-upload-shell,
  .dashboard-apk-shell
):not(:hover):not(:focus-within) {
  border-color: transparent !important;
  box-shadow: none !important;
}

/* 10) Final narrow cleanup for empty-looking wrappers */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) div[class*="shell"]:empty,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) div[class*="wrapper"]:empty,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) div[class*="wrap"]:empty {
  display: none !important;
}


/* BB9 Phase 10.19 Fade Overlay Purge
   Removes ambient glass/fade overlays creating ghost rectangles.
*/

/* Disable glass pseudo overlays from Badger HUD theme and similar card overlays */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) :is(
  .card,
  .module-card,
  .dashboard-ref-stat,
  .stat-card,
  .metric-card,
  .utility-card,
  .tool-card,
  .quick-action-card,
  .shortcut-card,
  .dashboard-card,
  .modal-content,
  .dropdown-menu,
  .alert
)::before,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) :is(
  .card,
  .module-card,
  .dashboard-ref-stat,
  .stat-card,
  .metric-card,
  .utility-card,
  .tool-card,
  .quick-action-card,
  .shortcut-card,
  .dashboard-card,
  .modal-content,
  .dropdown-menu,
  .alert
)::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Remove large background wash layers from shells/wrappers */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) :is(
  .dashboard-hero,
  .dashboard-widget-area,
  .dashboard-widget-region,
  .dashboard-grid-shell,
  .dashboard-grid-wrap,
  .dashboard-section-shell,
  .dashboard-section-wrap,
  .dashboard-panel-shell,
  .dashboard-ref-shell,
  .dashboard-frame-shell,
  .hud-shell,
  .hud-panel-shell,
  .nxt-panel-shell,
  .nxt-content-shell,
  .nxt-section-shell,
  .nxt-widget-shell,
  .nxt-widget-wrapper,
  .nxt-widget-outer,
  .module-shell,
  .module-wrapper,
  .utility-shell,
  .utility-wrapper,
  .tool-shell,
  .tool-wrapper,
  .page-hero,
  .tool-hero,
  .utility-hero,
  .header-card
):not(.card):not(.stat-card):not(.metric-card):not(.dashboard-ref-stat) {
  background-image: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Keep real cards clean, not glassy/foggy */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) :is(
  .card,
  .dashboard-ref-stat,
  .stat-card,
  .metric-card,
  .quick-action-card,
  .shortcut-card
) {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background-image: none !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.22) !important;
}

/* Kill absolute overlay washes inside dashboard widgets */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) :is(
  .dashboard-apk-dropzone,
  .dashboard-widget,
  .dashboard-card,
  .dashboard-ref-stat,
  .stat-card,
  .metric-card,
  .card
) > :is(.overlay, .fade, .wash, .glow, .ambient, .backdrop, .ghost, .veil, .halo) {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Remove decorative absolute pseudo overlay blocks where they cause the ghost/fade rectangle */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) :is(
  .dashboard-apk-dropzone,
  .dashboard-widget,
  .dashboard-card,
  .dashboard-ref-stat,
  .stat-card,
  .metric-card
)::before,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) :is(
  .dashboard-apk-dropzone,
  .dashboard-widget,
  .dashboard-card,
  .dashboard-ref-stat,
  .stat-card,
  .metric-card
)::after {
  content: none !important;
  display: none !important;
}

/* Do not let full-width rows/sections paint a glass rectangle */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .row:has(> [class*="col"] > .card),
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) .row:has(> [class*="col"] > .dashboard-ref-stat) {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

/* Preserve button and form focus usability */
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) :is(.btn, button, input, textarea, select, .form-control, .form-select)::before,
body[class*="nxt-theme-"]:not(.nxt-theme-disabled) :is(.btn, button, input, textarea, select, .form-control, .form-select)::after {
  content: initial;
}

/* BB9 Phase 10.19.1 Overview Center cleanup */
@import url('nxt-dashboard-overview-cleanup.css');

/* BadgersClaw mobile size boost v1.0.4 */
@import url('nxt-mobile-sizeboost-1-0-4.css?v=1.0.4');

/* BadgersClaw mobile reference scale v1.0.5 */
@import url('nxt-mobile-reference-scale-1-0-5.css?v=1.0.5');


/* BB30 Dev Silver global theme preset */
body.nxt-theme-dev_silver:not(.nxt-theme-disabled),
.nxt-api-theme-bridge.nxt-theme-dev_silver {
  --tblr-primary:#c8d0dc;
  --tblr-primary-rgb:200,208,220;
  --tblr-link-color:#e5e9f0;
}

body.nxt-theme-dev_silver:not(.nxt-theme-disabled) .card,
body.nxt-theme-dev_silver:not(.nxt-theme-disabled) .dashboard-ref-panel,
body.nxt-theme-dev_silver:not(.nxt-theme-disabled) .nxt-live-ops-ribbon,
body.nxt-theme-dev_silver:not(.nxt-theme-disabled) .nxt-system-maintenance-card,
body.nxt-theme-dev_silver:not(.nxt-theme-disabled) .dropdown-menu {
  background:
    linear-gradient(180deg, rgba(44,50,61,.95), rgba(18,22,29,.94)) !important;
  border-color: rgba(215,221,232,.22) !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.34), 0 0 24px rgba(215,221,232,.10) !important;
}

body.nxt-theme-dev_silver:not(.nxt-theme-disabled) .card-header,
body.nxt-theme-dev_silver:not(.nxt-theme-disabled) .dashboard-ref-cardhead,
body.nxt-theme-dev_silver:not(.nxt-theme-disabled) .navbar,
body.nxt-theme-dev_silver:not(.nxt-theme-disabled) .page-header {
  background: linear-gradient(180deg, rgba(61,68,80,.78), rgba(22,27,35,.78)) !important;
  border-color: rgba(215,221,232,.18) !important;
}

body.nxt-theme-dev_silver:not(.nxt-theme-disabled) .btn-primary,
body.nxt-theme-dev_silver:not(.nxt-theme-disabled) .nxt-theme-row-btn .nxt-theme-status,
body.nxt-theme-dev_silver:not(.nxt-theme-disabled) .badge.bg-blue-lt,
body.nxt-theme-dev_silver:not(.nxt-theme-disabled) .badge.text-blue {
  color:#11161e !important;
  background: linear-gradient(135deg, #f2f5f9, #aeb8c7) !important;
  border-color: rgba(255,255,255,.38) !important;
}

body.nxt-theme-dev_silver:not(.nxt-theme-disabled) input,
body.nxt-theme-dev_silver:not(.nxt-theme-disabled) select,
body.nxt-theme-dev_silver:not(.nxt-theme-disabled) textarea,
body.nxt-theme-dev_silver:not(.nxt-theme-disabled) .form-control,
body.nxt-theme-dev_silver:not(.nxt-theme-disabled) .form-select {
  background: rgba(9,13,19,.86) !important;
  border-color: rgba(215,221,232,.22) !important;
  color:#f6f8fb !important;
}
