/*══════════════════════════════════════════════════════════
  暗黑紫色奢华科技风 — 后台设计系统 v3
  主色: #7C3AED (紫)   背景: #06060E
  辅色: #A78BFA / #4C1D95
══════════════════════════════════════════════════════════*/
:root {
  --bg-primary: #06060E;
  --bg-secondary: #0B0B1A;
  --bg-card: #0F0F28;
  --bg-card-hover: #16163D;
  --bg-input: #08081C;
  --border: #1A1A45;
  --border-light: #282860;

  --text-primary: #F8F7FF;
  --text-secondary: #C5C1DA;
  --text-muted: #8B86A8;
  --text-white: #FFFFFF;

  --purple: #7C3AED;
  --purple-light: #A78BFA;
  --purple-dark: #5B21B6;
  --purple-glow: rgba(124,58,237,0.4);
  --purple-gradient: linear-gradient(135deg, #7C3AED 0%, #A78BFA 50%, #6D28D9 100%);
  --purple-gradient-dark: linear-gradient(135deg, #4C1D95 0%, #7C3AED 50%, #5B21B6 100%);

  --green: #10B981;
  --green-bg: rgba(16,185,129,0.1);
  --red: #EF4444;
  --red-bg: rgba(239,68,68,0.1);
  --orange: #F59E0B;
  --orange-bg: rgba(245,158,11,0.1);
  --blue: #3B82F6;
  --blue-bg: rgba(59,130,246,0.1);
  --cyan: #06B6D4;

  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.4), 0 0 0 1px rgba(124,58,237,0.05);
  --shadow-card-hover: 0 4px 24px rgba(124,58,237,0.15), 0 0 0 1px rgba(124,58,237,0.12);
  --shadow-glow: 0 0 48px rgba(124,58,237,0.2);
  --shadow-glow-lg: 0 0 72px rgba(124,58,237,0.25);

  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;

  --sidebar-width: 240px;
  --header-height: 60px;
  --page-max-width: 1560px;
  --transition: 0.2s cubic-bezier(0.4,0,0.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--purple-light); text-decoration: none; }
a:hover { color: var(--purple); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple-dark); }

/* ── 动态全局背景 ── */
body::before {
  content: '';
  position: fixed; top: -30%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(124,58,237,0.05) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
  animation: bgOrb1 18s ease-in-out infinite;
}
@keyframes bgOrb1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px,30px) scale(1.1); } }
body::after {
  content: '';
  position: fixed; bottom: -20%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(167,139,250,0.04) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
  animation: bgOrb2 15s ease-in-out infinite;
}
@keyframes bgOrb2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-40px) scale(1.12); } }

.bg-grid {
  position: fixed; inset: 0;
  background-image: linear-gradient(rgba(124,58,237,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(124,58,237,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none; z-index: 0;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 35%, #000 20%, transparent 70%);
}

/* ═══════ LAYOUT ═══════ */
.app-layout { display: flex; min-height: 100vh; position: relative; z-index: 1; }

.sidebar {
  width: var(--sidebar-width);
  background: rgba(11,11,26,.85);
  backdrop-filter: blur(30px) saturate(1.4);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
}
.sidebar-logo { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.sidebar-logo .logo-icon {
  width: 38px; height: 38px;
  background: var(--purple-gradient);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 24px var(--purple-glow);
  animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse { 0%,100% { box-shadow: 0 0 24px var(--purple-glow); } 50% { box-shadow: 0 0 40px rgba(124,58,237,.55); } }
.sidebar-logo .logo-text {
  font-size: 16px; font-weight: 700; letter-spacing: .5px;
  background: var(--purple-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sidebar-nav { flex: 1; padding: 12px 0; overflow-y: auto; }
.sidebar-nav .nav-section {
  padding: 12px 24px 4px;
  font-size: 11px; text-transform: uppercase;
  color: var(--text-muted); letter-spacing: 1.5px; font-weight: 600;
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 24px; margin: 2px 12px;
  border-radius: var(--radius);
  color: var(--text-secondary); font-size: 14px; cursor: pointer;
  transition: all var(--transition); position: relative; text-decoration: none;
}
.nav-item:hover { background: var(--bg-card); color: var(--text-primary); }
.nav-item.active { background: rgba(124,58,237,0.12); color: var(--purple-light); font-weight: 500; }
.nav-item.active::before {
  content: ''; position: absolute; left: -2px; top: 8px; bottom: 8px;
  width: 3px; background: var(--purple-gradient); border-radius: 0 3px 3px 0;
}
.nav-item .icon { font-size: 18px; width: 24px; text-align: center; }
.nav-item .badge { margin-left: auto; font-size: 11px; background: var(--purple); color: white; padding: 2px 8px; border-radius: 10px; font-weight: 500; }
.sidebar-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.sidebar-footer .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--purple-gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; color: white;
  box-shadow: 0 0 12px var(--purple-glow);
}

.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: var(--header-height); border-bottom: 1px solid var(--border);
  background: rgba(11,11,26,.7);
  backdrop-filter: blur(24px) saturate(1.4);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; position: sticky; top: 0; z-index: 50;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-title { font-size: 16px; font-weight: 600; }
.topbar-breadcrumb { font-size: 13px; color: var(--text-muted); }
.topbar-right { display: flex; align-items: center; gap: 16px; }

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(40,40,96,.55);
}
.page-header::after { content: none; }
.page-title { font-size: 20px; font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.page-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.page-content {
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 24px 28px 36px;
}

.section-title { font-size: 13px; font-weight: 700; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.section-title::before { content: ''; width: 3px; height: 16px; background: var(--purple-gradient); border-radius: 2px; }

/* ═══════ COMPONENTS ═══════ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 18px; border-radius: var(--radius); font-size: 13px; font-weight: 500; cursor: pointer; border: none; transition: all var(--transition); font-family: var(--font-body); line-height: 1.4; white-space: nowrap; position: relative; overflow: hidden; }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, transparent 100%); pointer-events: none; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--purple-gradient); color: white; box-shadow: 0 2px 12px rgba(124,58,237,.35), 0 0 0 1px rgba(124,58,237,.15); }
.btn-primary:hover { box-shadow: 0 4px 20px rgba(124,58,237,.5), 0 0 0 2px rgba(124,58,237,.2); transform: translateY(-1px); }
.btn-secondary { background: var(--bg-card); color: var(--text-secondary); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.btn-danger { background: var(--red-bg); color: var(--red); border: 1px solid rgba(239,68,68,.2); }
.btn-danger:hover { background: rgba(239,68,68,.2); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { background: var(--bg-card); color: var(--text-primary); }
.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-lg { padding: 10px 24px; font-size: 14px; }
.btn-glow { box-shadow: 0 0 28px rgba(124,58,237,.4), 0 0 0 1px rgba(124,58,237,.2); animation: btnPulse 3s ease-in-out infinite; }
@keyframes btnPulse { 0%,100% { box-shadow: 0 0 28px rgba(124,58,237,.4), 0 0 0 1px rgba(124,58,237,.2); } 50% { box-shadow: 0 0 48px rgba(124,58,237,.6), 0 0 0 2px rgba(167,139,250,.3); } }

select,
select.input {
  -webkit-appearance: none; appearance: none;
  min-height: 36px;
  background-color: #0A0A24;
  background-image:
    linear-gradient(135deg, rgba(167,139,250,.085), rgba(9,9,31,.96) 52%, rgba(6,6,22,.98)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C4B5FD' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 12px center;
  background-size: 100% 100%, 14px 14px;
  border: 1px solid rgba(167,139,250,.18);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 8px 20px rgba(0,0,0,.18);
  color: var(--text-primary);
  cursor: pointer;
  font: 600 13px/1 var(--font-body);
  outline: none;
  padding: 0 36px 0 13px;
  transition: all var(--transition);
}
select:hover,
select.input:hover { border-color: rgba(196,181,253,.34); background-color: #0D0D2A; box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 26px rgba(0,0,0,.22), 0 0 0 1px rgba(139,92,246,.08); }
select:focus,
select.input:focus { border-color: var(--purple-light); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 0 3px rgba(124,58,237,.18), 0 0 28px rgba(124,58,237,.12); }
select option { background: #0A0A24; color: var(--text-primary); }

.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; transition: all var(--transition); position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(124,58,237,.25), transparent); opacity: 0; transition: opacity .35s; }
.card:hover { border-color: rgba(124,58,237,.2); box-shadow: 0 8px 30px rgba(124,58,237,.06); transform: none; }
.card:hover::before { opacity: 1; }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-title { font-size: 15px; font-weight: 600; }

.card-in { animation: cardIn .4s ease-out both; }
.card-in:nth-child(1) { animation-delay: .03s; }
.card-in:nth-child(2) { animation-delay: .06s; }
.card-in:nth-child(3) { animation-delay: .09s; }
.card-in:nth-child(4) { animation-delay: .12s; }
.card-in:nth-child(5) { animation-delay: .15s; }
.card-in:nth-child(6) { animation-delay: .18s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 24px; position: relative; overflow: hidden; transition: all var(--transition); }
.stat-card::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; background: var(--purple-gradient); border-radius: 0 3px 3px 0; }
.stat-card:hover { border-color: rgba(124,58,237,.3); box-shadow: var(--shadow-card-hover); }
.stat-card::after { content: ''; position: absolute; top: -30px; right: -30px; width: 100px; height: 100px; background: radial-gradient(circle, rgba(124,58,237,.08) 0%, transparent 70%); border-radius: 50%; transition: all .4s ease; }
.stat-card:hover::after { transform: scale(1.3); }
.stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; position: relative; z-index: 1; }
.stat-value { font-size: 34px; font-weight: 700; margin: 8px 0 4px; background: var(--purple-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; position: relative; z-index: 1; }
.stat-desc { font-size: 12px; color: var(--text-muted); position: relative; z-index: 1; }
.stat-desc.up { color: var(--green); }
.stat-desc.down { color: var(--red); }

.stats-ribbon { display: flex; gap: 16px; margin-bottom: 24px; }
.stats-ribbon .sr-item { flex: 1; display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: rgba(15,15,40,.5); backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all var(--transition); }
.stats-ribbon .sr-item:hover { border-color: rgba(124,58,237,.25); }
.sr-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.sr-purple { background: rgba(124,58,237,.12); }
.sr-green { background: rgba(16,185,129,.12); }
.sr-blue { background: rgba(59,130,246,.12); }
.sr-orange { background: rgba(245,158,11,.12); }

.table-container { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: auto; }
table { width: 100%; border-collapse: collapse; }
table th, table td { padding: 10px 16px; text-align: left; font-size: 13px; vertical-align: middle; }
table th { background: rgba(11,11,26,.6); color: var(--text-muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; border-bottom: 1px solid var(--border); }
table td { border-bottom: 1px solid var(--border); color: var(--text-secondary); }
table tr:hover td { background: rgba(124,58,237,.04); box-shadow: inset 2px 0 0 var(--purple); }
table tr:last-child td { border-bottom: none; }

.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 20px; font-size: 11px; font-weight: 500; }
.tag-success { background: var(--green-bg); color: var(--green); }
.tag-danger { background: var(--red-bg); color: var(--red); }
.tag-warning { background: var(--orange-bg); color: var(--orange); }
.tag-info { background: var(--blue-bg); color: var(--blue); }
.tag-purple { background: rgba(124,58,237,.15); color: var(--purple-light); }
.tag-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.tag-dot.green { background: var(--green); box-shadow: 0 0 6px var(--green); }
.tag-dot.red { background: var(--red); box-shadow: 0 0 6px var(--red); }
.tag-dot.orange { background: var(--orange); box-shadow: 0 0 6px var(--orange); }

.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.7); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px; width: 480px; max-width: 90vw; box-shadow: var(--shadow-glow-lg); animation: scaleIn .25s ease-out; }
@keyframes scaleIn { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-title { font-size: 17px; font-weight: 600; }
.modal-close { cursor: pointer; color: var(--text-muted); font-size: 22px; border: none; background: none; width: 32px; height: 32px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.modal-close:hover { background: rgba(239,68,68,.1); color: var(--red); }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; }

.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.progress-bar { height: 6px; background: var(--bg-input); border-radius: 3px; overflow: hidden; }
.progress-bar .progress-fill { height: 100%; border-radius: 3px; background: var(--purple-gradient); transition: width .6s ease; position: relative; }
.progress-bar .progress-fill::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent); animation: shimmer 2.5s infinite; }
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.tabs { display: flex; gap: 4px; padding: 4px; background: var(--bg-input); border-radius: var(--radius); margin-bottom: 20px; }
.tab-item { padding: 6px 16px; border-radius: 6px; font-size: 13px; cursor: pointer; color: var(--text-muted); transition: all var(--transition); border: none; background: transparent; }
.tab-item.active { background: var(--purple); color: white; font-weight: 500; }
.tab-item:hover:not(.active) { color: var(--text-secondary); }

.filter-bar { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; padding: 12px 14px; background: rgba(15,15,40,.3); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.filter-bar select { min-width: 132px; }
.filter-bar input { padding: 8px 14px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-primary); font-size: 13px; font-family: var(--font-body); transition: all var(--transition); }
.filter-bar input:focus { border-color: var(--purple); box-shadow: 0 0 0 2px rgba(124,58,237,.1); outline: none; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state .empty-icon { font-size: 48px; margin-bottom: 16px; opacity: .3; }
.empty-state .empty-title { font-size: 16px; margin-bottom: 8px; }
.empty-state .empty-desc { font-size: 13px; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeIn .35s ease-out; }
.pulse { animation: pulse 2s ease-in-out infinite; }

.vendor-card { background: var(--bg-card); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 20px; cursor: pointer; transition: all var(--transition); position: relative; }
.vendor-card:hover { border-color: var(--border-light); }
.vendor-card.selected { border-color: var(--purple); background: rgba(124,58,237,.08); box-shadow: 0 0 24px var(--purple-glow); }
.vendor-card.selected::after { content: '✓'; position: absolute; top: 12px; right: 16px; width: 24px; height: 24px; border-radius: 50%; background: var(--purple-gradient); color: white; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold; }

.badge-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); animation: pulse 2s infinite; }

.divider-gradient { height: 1px; margin: 20px 0; background: linear-gradient(90deg, transparent, rgba(124,58,237,.1), transparent); }

/* ═══════ TOAST 通知 ═══════ */
#toast-container{
  position:fixed; top:24px; right:24px; z-index:9999;
  display:flex; flex-direction:column; gap:10px;
  pointer-events:none;
}
.toast{
  display:flex; align-items:center; gap:12px;
  min-width:280px; max-width:420px;
  padding:14px 20px;
  border-radius:var(--radius-lg);
  font-size:13px; line-height:1.5;
  pointer-events:auto;
  backdrop-filter:blur(20px);
  animation:toastIn .35s ease-out;
  box-shadow:0 8px 32px rgba(0,0,0,.3);
  position:relative; overflow:hidden;
}
.toast::before{
  content:''; position:absolute; top:0; left:0; bottom:0; width:3px;
}
.toast .t-icon{ font-size:18px; flex-shrink:0; }
.toast .t-body{ flex:1; }
.toast .t-msg{ font-weight:500; margin-bottom:2px; }
.toast .t-hint{ font-size:11px; opacity:.7; }
.toast .t-close{
  cursor:pointer; opacity:.5; font-size:16px; line-height:1;
  padding:4px; border:none; background:none; color:inherit;
  transition:opacity .2s;
}
.toast .t-close:hover{ opacity:1; }

.toast.toast-exit{ animation:toastOut .25s ease-in forwards; }

.toast-info{ background:rgba(15,15,45,.95); border:1px solid rgba(59,130,246,.3); color:#C5D5F6; }
.toast-info::before{ background:var(--blue); }
.toast-success{ background:rgba(10,30,20,.95); border:1px solid rgba(16,185,129,.3); color:#B4E9D6; }
.toast-success::before{ background:var(--green); }
.toast-warning{ background:rgba(30,20,10,.95); border:1px solid rgba(245,158,11,.3); color:#FDE4B8; }
.toast-warning::before{ background:var(--orange); }
.toast-error{ background:rgba(30,10,15,.95); border:1px solid rgba(239,68,68,.3); color:#F5C5C5; }
.toast-error::before{ background:var(--red); }

@keyframes toastIn{ from{opacity:0;transform:translateX(40px);} to{opacity:1;transform:translateX(0);} }
@keyframes toastOut{ from{opacity:1;transform:translateX(0);} to{opacity:0;transform:translateX(40px);} }

@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .page-content { padding: 22px 22px 32px; }
}
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .main-content { margin-left: 0; }
  .topbar { padding: 0 16px; }
  .topbar-breadcrumb { display: none; }
  .topbar-right { gap: 8px; }
  .page-content { padding: 16px 14px 28px; }
  .page-header { flex-direction: column; align-items: stretch; margin-bottom: 16px; }
  .page-actions { justify-content: flex-start; }
  .grid-3,.grid-2,.grid-4 { grid-template-columns: 1fr; }
  .card { padding: 16px; }
  table th, table td { padding: 9px 12px; }
}

/* Premium console layer for HQ / SaaS / Site admin */
:root {
  --bg-primary: #050711;
  --bg-secondary: #080c18;
  --bg-card: rgba(12, 18, 36, .82);
  --bg-card-hover: rgba(18, 27, 52, .92);
  --bg-input: rgba(6, 10, 24, .92);
  --border: rgba(126, 165, 255, .14);
  --border-light: rgba(103, 232, 249, .28);
  --text-primary: #f6f8ff;
  --text-secondary: #c6d0ea;
  --text-muted: #7f8dae;
  --purple: #7c3aed;
  --purple-light: #8bd3ff;
  --purple-dark: #4f46e5;
  --cyan: #22d3ee;
  --purple-gradient: linear-gradient(135deg, #2dd4bf 0%, #60a5fa 38%, #8b5cf6 100%);
  --purple-gradient-dark: linear-gradient(135deg, #0f766e 0%, #1d4ed8 48%, #6d28d9 100%);
  --shadow-card: 0 18px 48px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.04);
  --shadow-card-hover: 0 24px 70px rgba(6, 182, 212, .14), inset 0 1px 0 rgba(255,255,255,.08);
  --shadow-glow: 0 0 44px rgba(34, 211, 238, .12);
  --shadow-glow-lg: 0 24px 90px rgba(0,0,0,.52), 0 0 70px rgba(79,70,229,.2);
  --sidebar-width: 256px;
}

html { background: #050711; }
body {
  background:
    linear-gradient(180deg, rgba(96,165,250,.08), transparent 360px),
    linear-gradient(135deg, #050711 0%, #08101f 48%, #060817 100%);
}
body::before,
body::after { content: none; }
.bg-grid {
  background-image:
    linear-gradient(rgba(103,232,249,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103,232,249,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.68) 48%, transparent 100%);
}
.bg-grid::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(34,211,238,.09) 50%, transparent 51%),
    linear-gradient(180deg, transparent 0 49%, rgba(139,92,246,.07) 50%, transparent 51%);
  background-size: 360px 360px;
  opacity: .28;
}

.sidebar {
  background:
    linear-gradient(180deg, rgba(9,16,33,.96), rgba(5,8,19,.98)),
    linear-gradient(90deg, rgba(34,211,238,.08), transparent);
  border-right: 1px solid rgba(125,211,252,.16);
  box-shadow: 14px 0 48px rgba(0,0,0,.26), inset -1px 0 0 rgba(255,255,255,.035);
}
.sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(34,211,238,.75), rgba(139,92,246,.45), transparent);
}
.sidebar-logo {
  min-height: 74px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(125,211,252,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.035), transparent);
}
.sidebar-logo .logo-icon,
.sidebar-footer .avatar {
  color: #e8fbff;
  background:
    linear-gradient(135deg, rgba(34,211,238,.92), rgba(99,102,241,.9)),
    #111827;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 12px 28px rgba(34,211,238,.18), inset 0 1px 0 rgba(255,255,255,.26);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}
.sidebar-logo .logo-text {
  color: #f8fbff;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: 15px;
  letter-spacing: 0;
}
.sidebar-nav { padding: 14px 10px; }
.sidebar-nav .nav-section {
  padding: 15px 14px 7px;
  color: #7893bd;
  font-size: 10px;
  letter-spacing: 1.2px;
}
.nav-item {
  min-height: 42px;
  margin: 4px 0;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #aebbdd;
  gap: 11px;
  font-weight: 600;
}
.nav-item .icon {
  width: 28px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(125,211,252,.08);
  border: 1px solid rgba(125,211,252,.1);
  color: #8bd3ff;
  font: 800 10px/1 var(--font-mono);
  letter-spacing: 0;
  flex: 0 0 28px;
}
.nav-item:hover {
  background: linear-gradient(90deg, rgba(34,211,238,.1), rgba(99,102,241,.06));
  border-color: rgba(125,211,252,.14);
  color: #f6fbff;
  transform: translateX(2px);
}
.nav-item.active {
  background: linear-gradient(90deg, rgba(34,211,238,.18), rgba(124,58,237,.14));
  border-color: rgba(125,211,252,.26);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 26px rgba(6,182,212,.1);
}
.nav-item.active::before {
  left: -11px;
  top: 9px;
  bottom: 9px;
  width: 3px;
  background: linear-gradient(180deg, #22d3ee, #8b5cf6);
  box-shadow: 0 0 14px rgba(34,211,238,.8);
}
.nav-item.active .icon {
  background: linear-gradient(135deg, rgba(34,211,238,.24), rgba(139,92,246,.22));
  border-color: rgba(125,211,252,.34);
  color: #e7fbff;
}
.nav-item .badge {
  background: linear-gradient(135deg, #22d3ee, #6366f1);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 18px rgba(34,211,238,.16);
}
.sidebar-footer {
  margin: 10px;
  padding: 13px;
  border: 1px solid rgba(125,211,252,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}
.sidebar-account-action {
  color: #8ea6cf !important;
}
.sidebar-account-action:hover {
  color: #8bd3ff !important;
}

.main-content {
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), transparent 120px),
    radial-gradient(70% 52% at 50% -20%, rgba(34,211,238,.08), transparent 64%);
}
.topbar {
  background: rgba(6, 10, 24, .74);
  border-bottom: 1px solid rgba(125,211,252,.12);
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
}
.topbar-title,
.page-title {
  color: #f8fbff;
  font-weight: 800;
}
.topbar-breadcrumb {
  color: #8293b7;
}
.page-content {
  padding: 28px 32px 42px;
}
.page-header {
  position: relative;
  align-items: center;
  padding: 18px 20px;
  margin-bottom: 22px;
  border: 1px solid rgba(125,211,252,.12);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(34,211,238,.12), transparent 34%, rgba(139,92,246,.1)),
    linear-gradient(180deg, rgba(255,255,255,.05), transparent);
  opacity: .8;
}
.page-header > * {
  position: relative;
  z-index: 1;
}
.page-title {
  font-size: 22px;
  letter-spacing: 0;
}
.section-title {
  border-bottom-color: rgba(125,211,252,.12);
  color: #eff6ff;
  letter-spacing: 0;
}
.section-title::before {
  background: linear-gradient(180deg, #22d3ee, #8b5cf6);
  box-shadow: 0 0 14px rgba(34,211,238,.35);
}

.card,
.stat-card,
.sr-card,
.dash-card,
.quota-card,
.hq-list-card,
.table-container,
.vendor-card,
.modal,
.modal-dialog,
.action-summary,
.filter-bar,
.dash-meta .dm-item,
.stats-ribbon .sr-item {
  background: linear-gradient(180deg, rgba(14,22,43,.9), rgba(8,13,29,.86));
  border: 1px solid rgba(125,211,252,.13);
  box-shadow: var(--shadow-card);
}
.card,
.stat-card,
.sr-card,
.dash-card,
.quota-card,
.hq-list-card,
.table-container,
.vendor-card {
  border-radius: 14px;
}
.card::before,
.stat-card::before,
.sr-card::before,
.quota-card::before,
.dash-card::before,
.hq-list-card::before {
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.44), rgba(139,92,246,.3), transparent);
}
.card:hover,
.stat-card:hover,
.sr-card:hover,
.dash-card:hover,
.vendor-card:hover,
.stats-ribbon .sr-item:hover {
  border-color: rgba(125,211,252,.28);
  box-shadow: var(--shadow-card-hover);
}
.stat-card::after {
  content: none;
}
.stat-label,
.sr-label,
.form-label,
.form-g label,
table th {
  color: #8fa5c9;
  letter-spacing: .4px;
}
.stat-value,
.sr-value {
  background: linear-gradient(135deg, #e0fbff, #8bd3ff 42%, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0;
}

table th {
  background: rgba(8,13,29,.9);
  border-bottom-color: rgba(125,211,252,.13);
}
table td,
.data-table td {
  border-bottom-color: rgba(125,211,252,.08);
}
table tr:hover td,
.data-table tbody tr:hover {
  background: rgba(34,211,238,.055);
  box-shadow: inset 2px 0 0 #22d3ee;
}

.btn {
  border-radius: 9px;
  font-weight: 700;
  letter-spacing: 0;
}
.btn-primary,
.password-submit {
  background: linear-gradient(135deg, #22d3ee, #6366f1 58%, #8b5cf6);
  box-shadow: 0 12px 28px rgba(34,211,238,.18), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-primary:hover,
.password-submit:hover {
  box-shadow: 0 16px 36px rgba(34,211,238,.24), 0 0 0 1px rgba(125,211,252,.2);
}
.btn-secondary,
.btn-ghost,
.password-cancel {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(125,211,252,.14);
  color: #c8d7f3;
}
.btn-secondary:hover,
.btn-ghost:hover,
.password-cancel:hover {
  background: rgba(34,211,238,.08);
  border-color: rgba(125,211,252,.28);
  color: #f8fbff;
}
.btn-danger {
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(248,113,113,.22);
}

input,
textarea,
.input,
.form-g input,
.filter-bar input,
select,
select.input {
  background-color: rgba(6,10,24,.92);
  border-color: rgba(125,211,252,.16);
  color: #f6f8ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
input:focus,
textarea:focus,
.input:focus,
.form-g input:focus,
.filter-bar input:focus,
select:focus,
select.input:focus {
  border-color: rgba(34,211,238,.72);
  box-shadow: 0 0 0 3px rgba(34,211,238,.11), 0 0 28px rgba(34,211,238,.08);
}
select,
select.input {
  background-image:
    linear-gradient(135deg, rgba(34,211,238,.08), rgba(6,10,24,.98) 52%, rgba(11,14,30,.98)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238bd3ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
select option {
  background: #071021;
}

.modal-overlay {
  background: rgba(3,7,18,.76);
  backdrop-filter: blur(12px);
}
.modal,
.modal-dialog,
.password-dialog {
  background: linear-gradient(180deg, rgba(14,22,43,.98), rgba(7,11,25,.98));
  border-color: rgba(125,211,252,.18);
}
.modal-title,
.modal-dialog h3,
.password-title {
  color: #f8fbff;
}

.tag,
.status-pill,
.dash-status,
.lic-code-pill,
.scope-pill {
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
.tag-purple,
.lic-code-pill {
  background: rgba(34,211,238,.1);
  color: #8bd3ff;
  border-color: rgba(34,211,238,.18);
}
.progress-bar,
.quota-bar,
.quota-mini .quota-bar,
.dash-quota .dq-bar {
  background: rgba(125,211,252,.08);
}
.progress-bar .progress-fill,
.quota-bar .fill,
.quota-mini .fill,
.dash-quota .dq-bar .fill-dq {
  background: linear-gradient(90deg, #22d3ee, #60a5fa, #8b5cf6);
}

#toast-container { top: 22px; right: 22px; }
.toast {
  background: linear-gradient(180deg, rgba(14,22,43,.96), rgba(7,11,25,.96));
  border: 1px solid rgba(125,211,252,.18);
  box-shadow: 0 20px 60px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.05);
}
.toast-info::before { background: #22d3ee; }

@media (max-width: 1200px) {
  :root { --sidebar-width: 244px; }
  .page-content { padding: 24px 24px 36px; }
}
@media (max-width: 768px) {
  .page-content { padding: 16px 14px 28px; }
  .page-header { padding: 16px; border-radius: 14px; }
  .page-title { font-size: 19px; }
  .sidebar-footer { margin: 8px; }
}

/* Task management console */
.task-board {
  position: relative;
  padding: 0 !important;
  overflow: auto;
  border-radius: 16px !important;
  background:
    linear-gradient(180deg, rgba(14,22,43,.96), rgba(6,10,24,.94)),
    linear-gradient(90deg, rgba(34,211,238,.08), rgba(139,92,246,.06));
  border: 1px solid rgba(125,211,252,.18) !important;
  box-shadow: 0 22px 80px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.055) !important;
}
.task-board::before {
  content: '';
  position: sticky;
  top: 0;
  display: block;
  height: 2px;
  z-index: 3;
  background: linear-gradient(90deg, rgba(34,211,238,.1), #22d3ee 18%, #8b5cf6 72%, rgba(139,92,246,.1));
  box-shadow: 0 0 28px rgba(34,211,238,.28);
}
.task-board::after {
  content: none;
}
.task-board table,
.task-board .tasks-table,
.task-board .task-table {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse !important;
  border-spacing: 0;
  padding: 10px 12px 14px;
}
.task-board thead th {
  position: sticky;
  top: 2px;
  z-index: 2;
  padding: 13px 16px !important;
  background: rgba(5,10,24,.92) !important;
  border-top: 1px solid rgba(125,211,252,.1);
  border-bottom: 1px solid rgba(125,211,252,.16) !important;
  color: #91a7cd !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .6px;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(14px);
}
.task-board thead th:first-child {
  border-left: 1px solid rgba(125,211,252,.1);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
.task-board thead th:last-child {
  border-right: 1px solid rgba(125,211,252,.1);
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}
.task-board tbody tr {
  position: relative;
  transform: translateZ(0);
  transition: transform .18s ease, filter .18s ease;
}
.task-board tbody tr:hover {
  background: rgba(34,211,238,.045) !important;
  filter: brightness(1.08);
  transform: none;
}
.task-board tbody tr:hover td {
  background: #0b1b33 !important;
  border-color: rgba(34,211,238,.18) !important;
  box-shadow: none;
}
.task-board tbody tr:hover td:first-child {
  box-shadow: inset 3px 0 0 #22d3ee;
}
.task-board td {
  padding: 16px !important;
  background: #081124 !important;
  border-top: 0;
  border-bottom: 1px solid rgba(125,211,252,.08) !important;
  color: #d9e5ff !important;
  font-size: 13px !important;
  line-height: 1.55;
  vertical-align: middle !important;
}
.task-board tbody tr:nth-child(even) td {
  background: #09162b !important;
}
.task-board td:first-child {
  border-left: 1px solid rgba(125,211,252,.08);
}
.task-board td:last-child {
  border-right: 1px solid rgba(125,211,252,.08);
}
.task-board .mono:not(td) {
  display: inline-block;
  max-width: 360px;
  color: #a9c4f7;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  word-break: break-all;
}
.task-board td.mono {
  display: table-cell !important;
  max-width: none;
  color: #d9e5ff !important;
  font-family: var(--font-mono);
  font-size: 12px !important;
  letter-spacing: 0;
  word-break: break-all;
}
.task-board td:first-child .mono {
  min-width: 48px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(34,211,238,.09);
  border: 1px solid rgba(34,211,238,.16);
  color: #c8f5ff;
  font-weight: 800;
}
.task-board .muted {
  margin-top: 4px;
  color: #7f91b4 !important;
  font-size: 12px;
}
.task-board .badge,
.task-board .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.task-board .badge-success {
  background: rgba(16,185,129,.12);
  border-color: rgba(45,212,191,.28);
  color: #7ff7d5;
}
.task-board .badge-warning {
  background: rgba(245,158,11,.12);
  border-color: rgba(251,191,36,.3);
  color: #fde68a;
}
.task-board .badge-danger {
  background: rgba(239,68,68,.12);
  border-color: rgba(248,113,113,.32);
  color: #fca5a5;
}
.task-board .badge-secondary {
  background: rgba(148,163,184,.1);
  border-color: rgba(148,163,184,.18);
  color: #cbd5e1;
}
.task-board td:last-child {
  white-space: nowrap;
}
.task-board td:last-child .btn {
  min-width: 54px;
  height: 30px;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 12px;
}
.task-board td:last-child .btn + .btn {
  margin-left: 6px;
}
.task-board td:last-child .btn-secondary {
  background: linear-gradient(135deg, rgba(34,211,238,.16), rgba(99,102,241,.12));
  border-color: rgba(125,211,252,.22);
  color: #e5f8ff;
}
.task-board td:last-child .btn-danger {
  background: rgba(239,68,68,.13);
  border-color: rgba(248,113,113,.24);
  color: #fecaca;
}
.task-board .empty {
  padding: 54px 20px !important;
  color: #90a4c8;
  background: rgba(8,13,29,.68);
  border-radius: 12px;
}

.toolbar,
.filter-bar {
  border-color: rgba(125,211,252,.14) !important;
  background: linear-gradient(135deg, rgba(8,13,29,.68), rgba(14,22,43,.5)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.modal-mask.on {
  backdrop-filter: blur(14px);
}
.modal-mask .modal {
  border-color: rgba(125,211,252,.2) !important;
  background: linear-gradient(180deg, rgba(14,22,43,.98), rgba(7,11,25,.98)) !important;
  box-shadow: 0 28px 110px rgba(0,0,0,.62), 0 0 80px rgba(34,211,238,.14) !important;
}

@media (max-width: 768px) {
  .task-board table,
  .task-board .tasks-table,
  .task-board .task-table {
    min-width: 920px;
    padding: 8px;
  }
  .task-board td,
  .task-board thead th {
    padding: 12px !important;
  }
}

/* Clean list surfaces: keep all table rows visually unified. */
.table-container,
.hq-list-card,
.site-list-card,
.task-board {
  background: #071124 !important;
}
.table-container::after,
.hq-list-card::after,
.site-list-card::after,
.task-board::after {
  content: none !important;
}
.table-container table,
.hq-list-card table,
.site-list-card table {
  background: #071124;
  border-collapse: collapse;
}
.table-container table th,
.hq-list-card .data-table th,
.site-list-card .data-table th {
  background: #080f20 !important;
}
.table-container table td,
.hq-list-card .data-table td,
.site-list-card .data-table td {
  background: #081124 !important;
  border-bottom-color: rgba(125,211,252,.08) !important;
}
.table-container table tbody tr:nth-child(even) td,
.hq-list-card .data-table tbody tr:nth-child(even) td,
.site-list-card .data-table tbody tr:nth-child(even) td {
  background: #09162b !important;
}
.table-container table tbody tr:hover td,
.hq-list-card .data-table tbody tr:hover td,
.site-list-card .data-table tbody tr:hover td {
  background: #0b1b33 !important;
  box-shadow: inset 2px 0 0 #22d3ee;
}

/* Unified operations/pricing consoles for SaaS and site admin pages. */
.ops-console .metric-row,
.ops-console .stat-row {
  gap: 16px !important;
  margin-bottom: 22px !important;
}
.ops-console .metric,
.ops-console .sr-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px !important;
  border: 1px solid rgba(125,211,252,.16) !important;
  background: #071124 !important;
  box-shadow: 0 20px 70px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.045) !important;
}
.ops-console .metric::before,
.ops-console .sr-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #22d3ee, #8b5cf6);
  box-shadow: 0 0 24px rgba(34,211,238,.35);
}
.ops-console .metric .label,
.ops-console .sr-label {
  color: #8da3c7 !important;
  letter-spacing: .4px !important;
}
.ops-console .metric .val,
.ops-console .sr-value {
  color: #e7f8ff !important;
  font-weight: 850 !important;
}
.ops-console .card:not(.task-board),
.ops-console .vc-card {
  border-radius: 16px !important;
  border: 1px solid rgba(125,211,252,.16) !important;
  background: #071124 !important;
  box-shadow: 0 20px 70px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.045) !important;
}
.ops-console .card-header,
.ops-console .vc-toolbar {
  border-bottom: 1px solid rgba(125,211,252,.12);
  padding-bottom: 14px;
}
.ops-console .card-title,
.ops-console .vc-title {
  color: #e7f8ff !important;
  font-weight: 850 !important;
}
.ops-console .table-container {
  border-radius: 16px !important;
  border-color: rgba(125,211,252,.16) !important;
  box-shadow: 0 20px 70px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04) !important;
}
.ops-console .table-container table {
  min-width: 980px;
}
.ops-console .table-container th {
  padding: 14px 16px !important;
  color: #91a7cd !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  letter-spacing: .45px !important;
  white-space: nowrap;
}
.ops-console .table-container td {
  padding: 15px 16px !important;
  color: #d9e5ff !important;
  vertical-align: middle !important;
}
.ops-console .filter-bar,
.ops-console .filters,
.ops-console .vc-filters {
  padding: 14px !important;
  border: 1px solid rgba(125,211,252,.16) !important;
  border-radius: 16px !important;
  background: #071124 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045) !important;
}
.ops-console .filter-bar input,
.ops-console .filter-bar select,
.ops-console .filters input,
.ops-console .filters select,
.ops-console .vc-input,
.ops-console .vc-select,
.ops-console .vc-textarea {
  border-color: rgba(125,211,252,.15) !important;
  border-radius: 11px !important;
  background: #081124 !important;
  color: #d9e5ff !important;
}
.ops-console .filter-bar input:focus,
.ops-console .filter-bar select:focus,
.ops-console .filters input:focus,
.ops-console .filters select:focus,
.ops-console .vc-input:focus,
.ops-console .vc-select:focus,
.ops-console .vc-textarea:focus {
  border-color: rgba(34,211,238,.52) !important;
  box-shadow: 0 0 0 3px rgba(34,211,238,.08) !important;
}
.ops-console .vc-switch {
  border-color: rgba(125,211,252,.14) !important;
  background: #081124 !important;
}
.ops-console .vc-cover {
  border-color: rgba(125,211,252,.16) !important;
  background: #081124 !important;
}
.pricing-console .note,
.pricing-console .bulk-pricing,
.pricing-console .provider-preference,
.pricing-console .mode-pill {
  position: relative;
  overflow: hidden;
  padding: 16px 18px !important;
  margin-bottom: 16px !important;
  border: 1px solid rgba(125,211,252,.16) !important;
  border-radius: 16px !important;
  background: #071124 !important;
  box-shadow: 0 18px 60px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.045) !important;
  color: #9fb1d1 !important;
}
.pricing-console .note::before,
.pricing-console .bulk-pricing::before,
.pricing-console .provider-preference::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(34,211,238,.12), rgba(34,211,238,.78), rgba(139,92,246,.68), rgba(139,92,246,.12));
}
.pricing-console .note b,
.pricing-console .bulk-title,
.pricing-console .mode-pill b {
  color: #e7f8ff !important;
}
.pricing-console .note .hl {
  color: #fde68a !important;
  font-weight: 850 !important;
}
.pricing-console .toolbar {
  display: grid !important;
  grid-template-columns: minmax(170px,220px) minmax(170px,220px) minmax(260px,1fr);
  gap: 12px !important;
  padding: 14px !important;
  margin-bottom: 18px !important;
  border: 1px solid rgba(125,211,252,.16) !important;
  border-radius: 16px !important;
  background: #071124 !important;
  box-shadow: 0 18px 60px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.045) !important;
}
.pricing-console .toolbar select,
.pricing-console .toolbar input,
.pricing-console .bulk-input,
.pricing-console .provider-select,
.pricing-console .markup,
.pricing-console .cost-edit {
  border: 1px solid rgba(125,211,252,.15) !important;
  border-radius: 10px !important;
  background: #081124 !important;
  color: #d9e5ff !important;
  outline: none !important;
}
.pricing-console .toolbar select:focus,
.pricing-console .toolbar input:focus,
.pricing-console .bulk-input:focus,
.pricing-console .provider-select:focus,
.pricing-console .markup:focus,
.pricing-console .cost-edit:focus {
  border-color: rgba(34,211,238,.52) !important;
  box-shadow: 0 0 0 3px rgba(34,211,238,.08) !important;
}
.pricing-console #box {
  display: grid;
  gap: 16px;
}
.pricing-console .group {
  overflow: hidden;
  margin-bottom: 0 !important;
  border: 1px solid rgba(125,211,252,.16) !important;
  border-radius: 16px !important;
  background: #071124 !important;
  box-shadow: 0 20px 70px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.045) !important;
}
.pricing-console .group-title {
  padding: 16px 18px 14px !important;
  border-bottom: 1px solid rgba(125,211,252,.12) !important;
  background: #080f20 !important;
  color: #e7f8ff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}
.pricing-console .row {
  padding: 16px 18px !important;
  border-bottom: 1px solid rgba(125,211,252,.08) !important;
  background: #081124 !important;
  transition: background .18s ease, box-shadow .18s ease;
}
.pricing-console .row:nth-child(even) {
  background: #09162b !important;
}
.pricing-console .row:hover {
  background: #0b1b33 !important;
  box-shadow: inset 3px 0 0 #22d3ee;
}
.pricing-console .name {
  color: #eef6ff !important;
  font-weight: 850 !important;
}
.pricing-console .key,
.pricing-console .costs,
.pricing-console .ex,
.pricing-console .bulk-desc {
  color: #8ea3c6 !important;
  letter-spacing: 0 !important;
}
.pricing-console .ex b {
  color: #7dd3fc !important;
}
.pricing-console .toggle .ts {
  background: #334155 !important;
}
.pricing-console .toggle input:checked + .ts {
  background: linear-gradient(135deg, #22d3ee, #8b5cf6) !important;
}
@media (max-width: 1150px) {
  .pricing-console .toolbar {
    grid-template-columns: 1fr;
  }
}
