/* ═══════════════════════════════════════════════════════════
   ImpactGuard Panel — Tactical Ops Design System
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── CSS Variables ────────────────────────────────── */
:root {
  --bg-primary: #080808;
  --bg-secondary: #0c0c0c;
  --bg-tertiary: #111111;
  --bg-card: #0d0d0d;
  --bg-card-hover: #141414;
  --bg-elevated: #161616;
  --bg-input: #0a0a0a;
  --bg-glass: rgba(10, 10, 10, 0.85);

  --border-primary: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(255, 92, 26, 0.4);
  --border-hover: rgba(255, 92, 26, 0.55);

  --text-primary: #f2f2f2;
  --text-secondary: #9a9a9a;
  --text-muted: #5c5c5c;
  --text-inverse: #0a0a0a;

  --accent: #ff5c1a;
  --accent-hover: #ff7a3d;
  --accent-glow: rgba(255, 92, 26, 0.2);
  --accent-strong: rgba(255, 92, 26, 0.35);

  --success: #3dd68c;
  --success-bg: rgba(61, 214, 140, 0.12);
  --warning: #ffb020;
  --warning-bg: rgba(255, 176, 32, 0.12);
  --danger: #ff4d5a;
  --danger-bg: rgba(255, 77, 90, 0.12);
  --info: #ff8c42;
  --info-bg: rgba(255, 140, 66, 0.12);

  --gradient-accent: linear-gradient(135deg, #ff5c1a 0%, #ff8c42 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 92, 26, 0.04) 0%, transparent 100%);
  --gradient-sidebar: linear-gradient(180deg, #0c0c0c 0%, #080808 100%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 24px rgba(255, 92, 26, 0.3);

  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 8px;
  --radius-full: 9999px;

  --font-sans: 'Barlow Condensed', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;

  --sidebar-width: 260px;
  --header-height: 64px;
  --transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}



/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Default canvas is white; without this, a 1px light strip can show at the viewport edge. */
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ── Scrollbar ────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }


/* Panel Light Mode Overrides */









/* ══════════════════════════════════════════════════════
   LOGIN PAGE
   ══════════════════════════════════════════════════════ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,92,26,0.08) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.login-page::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,140,66,0.05) 0%, transparent 70%);
  bottom: -200px;
  left: -100px;
  pointer-events: none;
}

.login-container {
  width: 100%;
  max-width: 880px;
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.auth-shell{
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.auth-aside{
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 120% 70% at 20% 0%, rgba(255,92,26,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 80% 30%, rgba(255,140,66,0.16) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.015) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.auth-aside-inner{
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.auth-badge{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255,92,26,0.12);
  border: 1px solid rgba(255,92,26,0.22);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.85rem;
}

.auth-aside h2{
  font-size: 1.6rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-top: 0.25rem;
}

.auth-aside p{
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 36ch;
}

.auth-highlights{
  margin-top: 0.5rem;
  display: grid;
  gap: 0.85rem;
}

.auth-highlight{
  display: flex;
  gap: 0.85rem;
  padding: 0.9rem;
  border-radius: var(--radius-lg);
  background: rgba(6,8,13,0.28);
  border: 1px solid rgba(255,255,255,0.06);
}

.auth-highlight-icon{
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255,92,26,0.12);
  border: 1px solid rgba(255,92,26,0.18);
  flex: 0 0 auto;
}

.auth-highlight-title{
  font-weight: 700;
  font-size: 0.95rem;
}

.auth-highlight-sub{
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

.auth-aside-footer{
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.auth-aside-pill{
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.auth-main{
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.auth-input{
  position: relative;
}

.auth-input .form-input{
  padding-left: 2.75rem;
  padding-right: 4.25rem;
}

.auth-input-icon{
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
}

.auth-input-action{
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  height: 32px;
  padding: 0 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.auth-input-action:hover{
  color: var(--text-primary);
  border-color: rgba(255,92,26,0.35);
  background: rgba(255,92,26,0.08);
}

.auth-hint{
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 880px){
  .login-container{ max-width: 460px; }
  .auth-shell{ grid-template-columns: 1fr; }
  .auth-aside{ display: none; }
}

.login-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.login-logo .logo-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.login-logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.login-logo p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.login-error {
  background: var(--danger-bg);
  border: 1px solid rgba(244, 91, 105, 0.2);
  color: var(--danger);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  margin-bottom: 1rem;
  display: none;
}

.login-error.visible { display: block; }

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  padding: 0.25rem;
}

.auth-tab {
  flex: 1;
  padding: 0.625rem 1rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.auth-tab.active {
  background: var(--accent);
  color: #fff;
}

.auth-tab:hover:not(.active) {
  color: var(--text-primary);
}

/* ── Login Footer ────────────────────────────────── */
.login-footer {
  margin-top: 1.5rem;
  text-align: center;
}

.login-footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--accent);
}

.login-footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── Form Elements ────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder { color: var(--text-muted); }

.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a95a8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.5rem;
}

.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

textarea.form-input {
  min-height: 80px;
  resize: vertical;
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
  user-select: none;
  -webkit-user-select: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 92, 26, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(255, 92, 26, 0.5);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-primary);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover {
  background: #e04a58;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

.btn-sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
}

.btn-xs {
  padding: 0.375rem 0.5rem;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
}

.btn-full { width: 100%; }

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ══════════════════════════════════════════════════════
   APP LAYOUT
   ══════════════════════════════════════════════════════ */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ──────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-width);
  background: rgba(6, 8, 13, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-primary);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: transform 0.3s ease;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
}

.sidebar-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-height);
}

.sidebar-logo {
  width: 36px;
  height: 36px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  color: white;
  flex-shrink: 0;
}

.sidebar-brand {
  flex: 1;
  min-width: 0;
}

.sidebar-brand h2 {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.sidebar-brand span {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.sidebar-nav {
  flex: 1;
  padding: 0.75rem 0;
  overflow-y: auto;
}

.nav-section {
  padding: 0 0.75rem;
  margin-bottom: 0.5rem;
}

.nav-section-title {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 0.75rem 0.75rem 0.375rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 2px;
  position: relative;
}

.nav-item:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
}

.nav-item.active {
  background: var(--accent-glow);
  color: var(--accent);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
}

.nav-icon {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  flex-shrink: 0;
}

.nav-item.active .nav-icon { opacity: 1; }

.nav-badge {
  margin-left: auto;
  background: var(--danger);
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-full);
  min-width: 20px;
  text-align: center;
}

.sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-primary);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-user:hover { background: rgba(255,255,255,0.04); }

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.user-info {
  flex: 1;
  min-width: 0;
}

.user-name {
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: capitalize;
}

/* ── Main Content ─────────────────────────────────── */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

.main-header {
  height: var(--header-height);
  border-bottom: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(6, 8, 13, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.main-header h1 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-content {
  padding: 1.75rem 2rem;
  max-width: 1440px;
}

/* ── Page Header ──────────────────────────────────── */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-subtitle {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ══════════════════════════════════════════════════════
   CARDS & STATS
   ══════════════════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.stat-card {
  background: var(--bg-card);
  background-image: var(--gradient-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  opacity: 0.03;
  pointer-events: none;
}

.stat-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.stat-card .stat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.stat-card .stat-icon.blue { background: rgba(255, 92, 26, 0.12); color: var(--accent); }
.stat-card .stat-icon.green { background: var(--success-bg); color: var(--success); }
.stat-card .stat-icon.red { background: var(--danger-bg); color: var(--danger); }
.stat-card .stat-icon.yellow { background: var(--warning-bg); color: var(--warning); }
.stat-card .stat-icon.cyan { background: var(--info-bg); color: var(--info); }

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Cards ────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-body {
  padding: 1.25rem 1.5rem;
}

.card-body.no-padding { padding: 0; }

/* ── Grid Layouts ─────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

@media (max-width: 1200px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .sidebar { transform: translateX(-100%); z-index: 200; box-shadow: 20px 0 50px rgba(0,0,0,0.5); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .page-content { padding: 1rem; }
  .main-header { padding: 0 1rem; }
}

/* ── Table Responsiveness ─────────────────────────── */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ── Mobile Overlay ──────────────────────────────── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

/* ══════════════════════════════════════════════════════
   TABLES
   ══════════════════════════════════════════════════════ */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-primary);
  white-space: nowrap;
  background: rgba(255,255,255,0.01);
}

.data-table td {
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--border-primary);
  vertical-align: middle;
}

.data-table tbody tr {
  transition: var(--transition);
}

.data-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* ── Table Utilities ──────────────────────────────── */
.table-actions {
  display: flex;
  gap: 0.375rem;
}

.table-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.table-empty svg {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  opacity: 0.3;
}

/* ══════════════════════════════════════════════════════
   BADGES & TAGS
   ══════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-neutral { background: rgba(255,255,255,0.06); color: var(--text-secondary); }
.badge-accent { background: var(--accent-glow); color: var(--accent); }

.badge-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 0.375rem;
  flex-shrink: 0;
}

.badge-success.badge-dot::before { background: var(--success); }
.badge-warning.badge-dot::before { background: var(--warning); }
.badge-danger.badge-dot::before { background: var(--danger); }
.badge-info.badge-dot::before { background: var(--info); }

/* ══════════════════════════════════════════════════════
   MODALS
   ══════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

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

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.2s ease;
}

.modal-overlay.visible .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.0625rem;
  font-weight: 700;
}

.modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.modal-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.modal-header-extra {
  margin-left: auto;
  margin-right: 0.75rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 1.25rem;
  line-height: 1;
}

.modal-close:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.modal-body { padding: 1.5rem; }

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-primary);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* ══════════════════════════════════════════════════════
   NOTIFICATIONS (modal + full page)
   ══════════════════════════════════════════════════════ */
.modal--notifications {
  max-width: 640px;
  width: 100%;
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal--notifications .modal-body {
  padding: 0;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.modal--notifications .modal-footer {
  flex-shrink: 0;
}

.notification-list--modal {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.5rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  -webkit-overflow-scrolling: touch;
}

.notification-page-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.notification-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.notification-item {
  margin: 0;
}

.notification-item__shell {
  display: flex;
  gap: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.notification-item--unread .notification-item__shell {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 1px var(--accent-glow);
}

.notification-item__accent {
  width: 4px;
  flex-shrink: 0;
  background: transparent;
}

.notification-item--unread .notification-item__accent {
  background: linear-gradient(180deg, var(--accent), var(--accent-hover));
}

.notification-item__main {
  flex: 1;
  padding: 1rem 1.1rem 1rem 0.9rem;
  min-width: 0;
}

.notification-item__row1 {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.notification-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--accent-glow);
  color: var(--accent);
}

.notification-item--plugin_update .notification-item__icon {
  background: var(--success-bg);
  color: var(--success);
}

.notification-item__badges {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  min-width: 0;
}

.notification-type-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}


.notification-version-pill {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--success);
  background: var(--success-bg);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.notification-time {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.notification-item__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.notification-item__body {
  max-height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.75rem;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-primary);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-secondary);
  -webkit-overflow-scrolling: touch;
}

.modal--notifications .notification-item__body {
  max-height: min(36vh, 320px);
}

.notification-msg__intro {
  margin: 0 0 0.65rem;
  color: var(--text-secondary);
}

.notification-msg__list {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-primary);
}

.notification-msg__list li {
  margin: 0;
  padding-left: 0.2rem;
}

.notification-msg__list li::marker {
  color: var(--accent);
  font-weight: 700;
}

.notification-msg__plain {
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text-primary);
}

.notification-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  padding-top: 0.15rem;
  border-top: 1px dashed transparent;
}

/* ── Notification polish: header chips, tabs, icon variants, clamped body ── */
.notification-unread-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.notification-total-muted {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.notification-filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.8rem 1.25rem 0.6rem;
  border-bottom: 1px solid var(--border-primary);
  background: var(--bg-secondary);
  flex-shrink: 0;
}

.notification-filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.notification-filter-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}


.notification-filter-tab.is-active {
  color: var(--accent);
  background: var(--accent-glow);
  border-color: var(--border-accent);
}

.notification-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
}


.notification-filter-tab.is-active .notification-filter-count {
  background: rgba(255, 255, 255, 0.1);
}

.notification-new-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  display: inline-block;
  margin-left: 0.1rem;
  flex-shrink: 0;
}

/* Per-type icon tinting */
.notification-item__icon--detection {
  background: rgba(234, 179, 8, 0.12);
  color: #eab308;
}

.notification-item__icon--ban {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.notification-item__icon--kick {
  background: rgba(249, 115, 22, 0.12);
  color: #f97316;
}

/* Per-type badge tinting */
.notification-type-badge--plugin_update {
  color: var(--success);
  background: var(--success-bg);
}

.notification-type-badge--detection {
  color: #eab308;
  background: rgba(234, 179, 8, 0.12);
}

.notification-type-badge--ban {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
}

.notification-type-badge--kick {
  color: #f97316;
  background: rgba(249, 115, 22, 0.12);
}

/* Clamped body with gradient fade */
.notification-item__body--clamped {
  position: relative;
  max-height: 160px;
  overflow: hidden;
}

.notification-item__body--clamped::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--bg-tertiary));
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.notification-expand-btn {
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.notification-expand-btn:hover {
  background: var(--accent-glow);
}

/* Enhanced empty state */
.notification-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
}

.notification-empty__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.notification-empty__title {
  color: var(--text-primary);
  font-weight: 650;
  font-size: 1rem;
}

.notification-empty__hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 280px;
}

/* Subtle hover interactivity on notification cards */
.notification-item__shell {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.notification-item:hover .notification-item__shell {
  transform: translateY(-1px);
  border-color: var(--border-accent);
}

.notification-item--unread:hover .notification-item__shell {
  box-shadow: 0 0 0 1px var(--accent-glow), 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* ══════════════════════════════════════════════════════
   FILTERS & SEARCH
   ══════════════════════════════════════════════════════ */
.filters-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.search-input {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 360px;
}

.search-input input {
  width: 100%;
  padding: 0.625rem 0.875rem 0.625rem 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.8125rem;
  outline: none;
  transition: var(--transition);
}

.search-input input:focus { border-color: var(--accent); }
.search-input input::placeholder { color: var(--text-muted); }

.search-input svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}

.filter-select {
  padding: 0.625rem 2rem 0.625rem 0.875rem;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a95a8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

/* ── Pagination ───────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-primary);
}

.pagination-info {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pagination-buttons {
  display: flex;
  gap: 0.375rem;
}

.pagination-btn {
  padding: 0.375rem 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.pagination-btn:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.pagination-btn.active { background: var(--accent); color: white; border-color: var(--accent); }
.pagination-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ══════════════════════════════════════════════════════
   LICENSE KEY DISPLAY
   ══════════════════════════════════════════════════════ */
.license-key {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  user-select: all;
  cursor: pointer;
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════════════
   THREAT LEVEL INDICATORS
   ══════════════════════════════════════════════════════ */
.threat-clean { color: var(--success); }
.threat-low { color: var(--info); }
.threat-medium { color: var(--warning); }
.threat-high { color: #ff7b54; }
.threat-critical { color: var(--danger); }

.threat-bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  width: 60px;
}

.threat-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.5s ease;
}

/* ══════════════════════════════════════════════════════
   CHARTS (Simple CSS-based)
   ══════════════════════════════════════════════════════ */
.chart-bar-container {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.chart-bar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chart-bar-label {
  width: 120px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: right;
  flex-shrink: 0;
}

.chart-bar-track {
  flex: 1;
  height: 24px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.chart-bar-fill {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.5rem;
  min-width: 30px;
}

.chart-bar-value {
  font-size: 0.6875rem;
  font-weight: 600;
  color: white;
}

/* ── Mini sparkline chart ─────────────────────────── */
.sparkline {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 40px;
}

.sparkline-bar {
  flex: 1;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  min-height: 2px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.sparkline-bar:hover { opacity: 1; }

/* ══════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ══════════════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  font-size: 0.8125rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 280px;
  max-width: 420px;
  animation: toast-in 0.3s ease;
}

.toast.toast-success { border-left: 3px solid var(--success); }
.toast.toast-error { border-left: 3px solid var(--danger); }
.toast.toast-warning { border-left: 3px solid var(--warning); }
.toast.toast-info { border-left: 3px solid var(--info); }

.toast.removing { animation: toast-out 0.2s ease forwards; }

@keyframes toast-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toast-out {
  to { transform: translateX(100%); opacity: 0; }
}

/* ══════════════════════════════════════════════════════
   LOADING STATES
   ══════════════════════════════════════════════════════ */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-primary);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

.skeleton {
  background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-card-hover) 50%, var(--bg-elevated) 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s ease infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-pulse { to { background-position: -200% 0; } }

.loading-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  flex-direction: column;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ══════════════════════════════════════════════════════
   TABS
   ══════════════════════════════════════════════════════ */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-primary);
  margin-bottom: 1.25rem;
}

.tab {
  padding: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.tab:hover { color: var(--text-secondary); }

.tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ══════════════════════════════════════════════════════
   SERVER STATUS
   ══════════════════════════════════════════════════════ */
.server-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
}

.server-card:hover {
  border-color: var(--border-accent);
}

.server-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.server-name {
  font-weight: 700;
  font-size: 0.9375rem;
}

.server-ip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
}

.server-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.server-stat-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.server-stat-value {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.125rem;
}

/* ══════════════════════════════════════════════════════
   EMPTY STATE
   ══════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.15;
}

.empty-state h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.875rem;
  max-width: 400px;
  margin: 0 auto 1.5rem;
}

/* ══════════════════════════════════════════════════════
   STORE & CHECKOUT
   ══════════════════════════════════════════════════════ */
.store-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.store-plans-grid .store-plan-card:only-child,
.store-plans-grid.plans-count-1 { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
.store-plans-grid.plans-count-2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }

.store-plan-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.store-plan-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.store-plan-card.current-plan {
  border-color: var(--success);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.store-plan-card.current-plan:hover {
  border-color: var(--success);
  transform: translateY(-2px);
}

.store-plan-header {
  padding: 1.5rem 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border-primary);
  background: var(--bg-tertiary);
}

.store-plan-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.store-plan-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.store-plan-period {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

.store-plan-price-usd {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  text-decoration: line-through;
  opacity: 0.7;
}

.store-plan-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.store-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.store-plan-features li {
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-primary);
}

.store-plan-features li:last-child {
  border-bottom: none;
}

.store-plan-features li.included {
  color: var(--text-primary);
}

.store-plan-features li.excluded {
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.6;
}

.store-payment-methods {
  margin-top: auto;
  padding-top: 1rem;
}

.store-method-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.625rem;
}

.store-method-picker {
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
}

.store-method-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.6875rem 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-primary);
  border-radius: 0.75rem;
  color: var(--text-primary);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.12s;
}

.store-method-option:hover {
  border-color: rgba(255, 92, 26, 0.35);
  background: rgba(255, 92, 26, 0.06);
}

.store-method-option:active {
  transform: scale(0.985);
}

.store-method-option.is-selected {
  border-color: rgba(255, 92, 26, 0.55);
  background: linear-gradient(135deg, rgba(255, 92, 26, 0.14), rgba(255, 92, 26, 0.04));
  box-shadow: 0 0 0 1px rgba(255, 92, 26, 0.12), 0 8px 24px rgba(0, 0, 0, 0.18);
}

.store-method-option__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.625rem;
  color: #dbeafe;
  background: rgba(255, 92, 26, 0.12);
  border: 1px solid rgba(255, 92, 26, 0.18);
}

.store-method-option__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.store-method-option__emoji {
  font-size: 1.125rem;
  line-height: 1;
}

.store-method-option[data-tone="card"] .store-method-option__icon {
  color: #c7d7ff;
  background: linear-gradient(145deg, rgba(255, 92, 26, 0.22), rgba(59, 99, 220, 0.08));
  border-color: rgba(255, 92, 26, 0.28);
}

.store-method-option[data-tone="crypto"] .store-method-option__icon {
  color: #fcd34d;
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.22), rgba(217, 119, 6, 0.08));
  border-color: rgba(245, 158, 11, 0.28);
}

.store-method-option[data-tone="bank"] .store-method-option__icon {
  color: #86efac;
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.08));
  border-color: rgba(34, 197, 94, 0.26);
}

.store-method-option[data-tone="epay"] .store-method-option__icon {
  color: #fda4af;
  background: linear-gradient(145deg, rgba(244, 63, 94, 0.2), rgba(225, 29, 72, 0.08));
  border-color: rgba(244, 63, 94, 0.26);
}

.store-method-option__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.store-method-option__name {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
}

.store-method-option__hint {
  font-size: 0.6875rem;
  line-height: 1.35;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-method-option__check {
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border-primary);
  color: transparent;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.store-method-option__check svg {
  width: 0.875rem;
  height: 0.875rem;
}

.store-method-option.is-selected .store-method-option__check {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 12px var(--accent-glow);
}

.store-method-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.625rem 0.875rem;
  margin-bottom: 0.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: 0.5rem;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.15s;
  text-align: left;
}

.store-method-btn:hover {
  border-color: var(--accent);
  background: var(--bg-tertiary);
}

.store-method-btn:active {
  transform: scale(0.985);
}

.method-icon {
  font-size: 1.25rem;
  width: 1.75rem;
  text-align: center;
}

.method-name {
  font-weight: 500;
}

/* Bank Details Modal */
.bank-details {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.bank-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .store-plans-grid, .store-plans-grid.plans-count-2, .store-plans-grid.plans-count-1 { grid-template-columns: 1fr; max-width: 100%; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ── Utility ──────────────────────────────────────── */
.text-mono { font-family: var(--font-mono); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-sm { font-size: 0.75rem; }
.text-xs { font-size: 0.6875rem; }
.font-mono { font-family: var(--font-mono); }
.font-bold { font-weight: 700; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 0.75rem; }
.hidden { display: none !important; }

/* Plan Cards */
.plan-card { transition: transform 0.15s, box-shadow 0.15s; }
.plan-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.plan-inactive { opacity: 0.6; }

/* Plugin Upload Styles */
.plugin-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.plugin-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.plugin-status.available {
  color: var(--success);
}

.plugin-status.unavailable {
  color: var(--danger);
}

.plugin-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.plugin-details p {
  margin: 0;
  color: var(--text-secondary);
}

.plugin-actions {
  display: flex;
  gap: 0.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.form-help {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-checkmark {
  width: 16px;
  height: 16px;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  position: relative;
  transition: all 0.15s;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-checkmark {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-checkmark::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}

/* Notification Badge */
.notification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--danger);
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9px;
  margin-left: auto;
}

/* CAPTCHA Container */
.captcha-container {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.captcha-container iframe {
  max-width: 100%;
}

/* ══════════════════════════════════════════════════════
   SMART CONFIG EDITOR
   ══════════════════════════════════════════════════════ */

.config-field-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.config-field-row:last-child { border-bottom: none; }

.config-field-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.config-field-label small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
  font-weight: 400;
}

.config-field-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.config-section-header {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 0.75rem 0 0.25rem;
  margin-top: 0.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.config-section-header:first-child { border-top: none; margin-top: 0; }

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--bg-tertiary);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  transition: background 0.2s, border-color 0.2s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--text-muted);
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
}

.toggle-switch input:checked + .toggle-slider {
  background: rgba(108, 99, 255, 0.25);
  border-color: var(--accent);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px) translateY(-50%);
  background: var(--accent);
}

/* Action dropdown */
.action-select {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.875rem;
  padding: 0.35rem 0.6rem;
  min-width: 90px;
  cursor: pointer;
}

.action-select:focus { outline: 1px solid var(--accent); }

/* Number input */
.config-number-input {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.875rem;
  padding: 0.35rem 0.5rem;
  width: 90px;
  text-align: right;
}

.config-number-input:focus { outline: 1px solid var(--accent); border-color: var(--accent); }

/* Text input in config */
.config-text-input {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.875rem;
  padding: 0.35rem 0.6rem;
  width: 200px;
}

.config-text-input:focus { outline: 1px solid var(--accent); border-color: var(--accent); }

/* Raw JSON toggle link */
.config-raw-toggle {
  display: block;
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-top: 0.75rem;
  user-select: none;
}

.config-raw-toggle:hover { color: var(--accent); }

/* Overwatch UI removed */

/* V3 panel pass removed — use tactical-unified.css */

/* TACTICAL PANEL OVERRIDES */
/* ImpactGuard — Tactical theme (panel, auth, shared components) */

body {
  font-family: 'Barlow Condensed', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: 0.02em;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
}

#app-view,
.login-page,
.sidebar,
.main-content {
  position: relative;
  z-index: 1;
}

/* ── Sidebar ── */
.sidebar {
  background: linear-gradient(180deg, #0c0c0c 0%, #080808 100%) !important;
  border-right: 1px solid var(--border-primary) !important;
}

.sidebar-brand .brand-logo,
.sidebar-logo {
  background: var(--accent) !important;
  color: #0a0a0a !important;
  border-radius: 2px !important;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  box-shadow: 0 0 16px var(--accent-glow) !important;
}

.sidebar-nav-item {
  border-radius: 2px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-size: 0.78rem !important;
}

.sidebar-nav-item:hover {
  background: rgba(255, 92, 26, 0.08) !important;
  color: var(--accent) !important;
}

.sidebar-nav-item.active {
  background: rgba(255, 92, 26, 0.12) !important;
  color: var(--accent) !important;
  border-left: 3px solid var(--accent) !important;
  box-shadow: inset 0 0 24px rgba(255, 92, 26, 0.06);
}

.sidebar-section-title {
  font-family: var(--font-mono) !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--text-muted) !important;
}

/* ── Header ── */
.main-header {
  background: rgba(8, 8, 8, 0.92) !important;
  border-bottom: 1px solid var(--border-primary) !important;
  backdrop-filter: blur(12px);
}

.page-title {
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

/* ── Cards ── */
.card,
.modal-content,
.dropdown-menu {
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--border-primary) !important;
  background: var(--bg-card) !important;
  box-shadow: var(--shadow-sm) !important;
}

.card-header {
  border-bottom: 1px solid var(--border-primary) !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-size: 0.82rem !important;
}

/* ── Buttons ── */
.btn {
  border-radius: var(--radius-sm) !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

.btn-primary {
  color: #0a0a0a !important;
  background: var(--accent) !important;
  border: 1px solid #ff7a3d !important;
  box-shadow: 0 0 20px var(--accent-glow) !important;
}

.btn-primary:hover {
  background: var(--accent-hover) !important;
  box-shadow: 0 0 28px var(--accent-glow) !important;
}

.btn-secondary,
.btn-ghost {
  border: 1px solid var(--border-primary) !important;
}

.btn-secondary:hover,
.btn-ghost:hover {
  border-color: var(--border-hover) !important;
  color: var(--accent) !important;
}

/* ── Forms ── */
.form-input,
.form-select,
.form-textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--border-primary) !important;
  background: var(--bg-input) !important;
  font-family: var(--font-mono) !important;
  font-size: 0.85rem !important;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px var(--accent-glow) !important;
  outline: none !important;
}

.form-label {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--text-secondary) !important;
}

/* ── Tables ── */
.table th {
  font-family: var(--font-mono) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--text-muted) !important;
  border-bottom: 1px solid var(--border-primary) !important;
}

.table tr:hover td {
  background: rgba(255, 92, 26, 0.04) !important;
}

/* ── Badges & status ── */
.badge,
.status-badge {
  border-radius: 2px !important;
  font-family: var(--font-mono) !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.badge-primary,
.badge-info {
  background: var(--accent-glow) !important;
  color: var(--accent) !important;
  border: 1px solid var(--border-accent) !important;
}

/* ── Store ── */
.store-hero {
  border: 1px solid var(--border-primary) !important;
  border-radius: var(--radius-sm) !important;
  background:
    linear-gradient(135deg, rgba(255, 92, 26, 0.08) 0%, transparent 50%),
    var(--bg-card) !important;
}

.store-kicker,
.store-section-head .store-kicker {
  font-family: var(--font-mono) !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--accent) !important;
}

.store-hero__metric span {
  color: var(--accent) !important;
  font-weight: 800 !important;
}

.store-plan-card,
.pricing-card {
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--border-primary) !important;
}

.store-plan-card:hover,
.store-plan-card.featured {
  border-color: var(--border-accent) !important;
  box-shadow: 0 0 32px rgba(255, 92, 26, 0.08) !important;
}

.store-pay-card {
  border-radius: var(--radius-sm) !important;
}

.store-pay-card.is-selected {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 1px var(--accent), 0 0 24px var(--accent-glow) !important;
}

.store-pay-card[data-tone="card"] .store-pay-card__icon {
  background: rgba(255, 92, 26, 0.12) !important;
  border-color: rgba(255, 92, 26, 0.35) !important;
  color: var(--accent) !important;
}

.store-pay-card.is-selected .store-pay-card__tick {
  background: var(--accent) !important;
  color: #0a0a0a !important;
}

.store-accepted-payments .ig-pay-chip[data-tone="card"] {
  border-color: rgba(255, 92, 26, 0.35) !important;
  color: var(--accent) !important;
  background: rgba(255, 92, 26, 0.1) !important;
}

/* ── Modals & toasts ── */
.modal-overlay .modal {
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--border-accent) !important;
}

.toast {
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--border-primary) !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
}

.toast-success { border-left: 3px solid var(--success) !important; }
.toast-error { border-left: 3px solid var(--danger) !important; }

/* ── Tabs ── */
.tab-btn.active,
.auth-tab.active {
  color: var(--accent) !important;
  border-bottom-color: var(--accent) !important;
}

/* ── Scrollbar ── */
::-webkit-scrollbar-thumb {
  background: rgba(255, 92, 26, 0.35) !important;
  border-radius: 2px !important;
}

/* ── Links & accents in content ── */
.text-accent,
.stat-value.accent {
  color: var(--accent) !important;
}

.progress-bar-fill,
.console-progress span {
  background: var(--accent) !important;
}

/* Store ??? single global payment selector (top of store page) */
.store-checkout-payment {
  margin-bottom: 1.5rem;
}

.store-checkout-payment__lead {
  margin: 0 0 0.875rem;
}

.store-checkout-payment .store-method-picker {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 28rem;
}

.store-accepted-payments {
  margin-bottom: 1rem;
}

.ig-pay-compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.ig-pay-compact__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex: 0 0 auto;
}

.ig-pay-compact__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.ig-pay-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border-primary);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.ig-pay-chip[data-tone="card"] {
  border-color: rgba(255, 92, 26, 0.35);
  color: var(--accent);
  background: rgba(255, 92, 26, 0.1);
}

.ig-pay-chip[data-tone="crypto"] {
  border-color: rgba(245, 158, 11, 0.35);
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.1);
}

.ig-pay-chip[data-tone="bank"] {
  border-color: rgba(34, 197, 94, 0.35);
  color: #86efac;
  background: rgba(34, 197, 94, 0.1);
}
