/* ══════════════════════════════════════════
   variables.css — Design tokens
   Theme: Dark industrial / terminal aesthetic
══════════════════════════════════════════ */

:root {
  /* ─── Typography ─── */
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  --font-display: 'JetBrains Mono', monospace;
  --font-body: 'JetBrains Mono', monospace;

  /* ─── Base palette ─── */
  --bg-root: #0a0c0f;
  --bg-surface: #0f1117;
  --bg-elevated: #141820;
  --bg-card: #1a1f2e;
  --bg-hover: #212638;

  /* ─── Borders ─── */
  --border-faint: rgba(255, 255, 255, 0.05);
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.15);
  --border-accent: rgba(0, 210, 150, 0.35);

  /* ─── Text ─── */
  --text-primary: #e8eaf2;
  --text-secondary: #8892a4;
  --text-muted: #4a5568;
  --text-accent: #00d296;

  /* ─── Brand / accent ─── */
  --accent: #00d296;
  --accent-dim: rgba(0, 210, 150, 0.12);
  --accent-glow: rgba(0, 210, 150, 0.25);

  /* ─── State colors ─── */
  --color-default: #2a3347;
  --color-comparing: #f59e0b;
  --color-swapping: #ef4444;
  --color-sorted: #00d296;
  --color-pivot: #8b5cf6;
  --color-done: #00d296;

  /* ─── Semantic ─── */
  --color-success: #00d296;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-info: #3b82f6;

  /* ─── Spacing ─── */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* ─── Radius ─── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* ─── Transitions ─── */
  --transition-fast: 120ms ease;
  --transition-normal: 220ms ease;
  --transition-slow: 380ms ease;

  /* ─── Shadows ─── */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-accent: 0 0 20px rgba(0, 210, 150, 0.2);

  /* ─── Layout ─── */
  --header-height: 56px;
  --panel-width: 260px;
}

/* Google Font import (loaded via @import for self-contained CSS) */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700&display=swap');
