/* ── Design Tokens ─────────────────────────────────────────────────
   Central design system for the COBOL Legacy Ledger web console.
   Glass morphism recipe, per-bank color palette, spacing scale.
   ────────────────────────────────────────────────────────────────── */

:root {
  /* ── Background ────────────────────────────────────────────── */
  --bg-void: #0a0e1a;
  --bg-surface: rgba(15, 20, 40, 0.7);
  --bg-elevated: rgba(25, 32, 60, 0.6);

  /* ── Glass Morphism ────────────────────────────────────────── */
  --glass-bg: rgba(20, 27, 55, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --glass-blur: blur(16px) saturate(180%);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

  /* ── Per-Bank Colors ───────────────────────────────────────── */
  --bank-a: #3b82f6;       /* Blue — retail */
  --bank-b: #22c55e;       /* Green — corporate */
  --bank-c: #f59e0b;       /* Amber — wealth mgmt */
  --bank-d: #8b5cf6;       /* Violet — institutional */
  --bank-e: #ec4899;       /* Pink — community */
  --clearing: #a78bfa;     /* Lavender — clearing house */

  --bank-a-dim: rgba(59, 130, 246, 0.15);
  --bank-b-dim: rgba(34, 197, 94, 0.15);
  --bank-c-dim: rgba(245, 158, 11, 0.15);
  --bank-d-dim: rgba(139, 92, 246, 0.15);
  --bank-e-dim: rgba(236, 72, 153, 0.15);
  --clearing-dim: rgba(167, 139, 250, 0.15);

  /* ── Text ──────────────────────────────────────────────────── */
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #8892a4;
  --text-accent: #60a5fa;

  /* ── Status Colors ─────────────────────────────────────────── */
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* ── Spacing Scale ─────────────────────────────────────────── */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;

  /* ── Typography ────────────────────────────────────────────── */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --text-2xs: 0.75rem;
  --text-xs: 0.8125rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;

  /* ── Borders & Radius ──────────────────────────────────────── */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  /* ── Nav ────────────────────────────────────────────────────── */
  --nav-height: 56px;

  /* ── Transitions ───────────────────────────────────────────── */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
}
