/* VERA Control — design tokens. Colors copied from lib/app/theme/colors/app_colors.dart
   so the dashboard and the app share one identity. Dark only (like the app). */
:root {
  /* surfaces */
  --bg: #000814;
  --surface: #071528;
  --surface-2: #0c1f42;
  --surface-3: #10284f;
  --field: #06132a;
  --border: #16233f;
  --border-strong: #22365e;

  /* brand + states */
  --primary: #1e5aff;
  --primary-light: #4b8bff;
  --primary-dark: #0a3fcc;
  --primary-soft: rgba(30, 90, 255, 0.14);
  --success: #00e85c;
  --success-soft: rgba(0, 232, 92, 0.12);
  --warning: #f59e0b;
  --warning-soft: rgba(245, 158, 11, 0.14);
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.14);

  /* text */
  --text: #f4f7fb;
  --text-2: #9aa6bc;
  --text-muted: #94a3b8;

  /* spacing */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;

  /* radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-full: 999px;

  /* type */
  --font: "Tajawal", "Segoe UI", system-ui, sans-serif;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-md: 14px;
  --fs-lg: 16px;
  --fs-xl: 20px;
  --fs-2xl: 24px;

  /* elevation + motion */
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-2: 0 24px 80px rgba(0, 0, 0, 0.5);
  --ring: 0 0 0 3px rgba(30, 90, 255, 0.28);
  --ease: 0.16s ease;

  /* layout */
  --sidebar-w: 264px;
  --top-h: 64px;
  --field-h: 44px;

  /* legacy aliases — pages still reference these */
  --bg-elev: var(--surface);
  --panel: var(--surface);
  --panel-2: var(--surface-2);
  --muted: var(--text-2);
  --blue: var(--primary);
  --blue-dim: var(--primary-soft);
  --green: var(--success);
  --orange: var(--warning);
  --red: var(--danger);
  --purple: var(--primary-light);
  --radius: var(--r-md);
}
