/* ═══════════════════════════════════════════
   OpsPilot — Design Tokens
   Modifica qui per cambiare l'intera palette
   ═══════════════════════════════════════════ */

:root {
  /* ─── Palette base ─── */
  --bg: #ffffff;
  --card: #ffffff;
  --card2: #eef2ff;
  --text: #172a3a;
  --muted: #64748b;
  --line: rgba(23, 42, 58, 0.08);

  /* ─── Colori azione ─── */
  --accent: #2563EB;
  --accent2: #22D3EE;
  --good: #10b981;
  --bad: #ef4444;
  --warn: #f59e0b;

  /* ─── Canali RGB (per rgba() con opacità libera) ─── */
  --accent-rgb: 37, 99, 235;
  --accent2-rgb: 34, 211, 238;
  --good-rgb: 16, 185, 129;
  --bad-rgb: 239, 68, 68;
  --warn-rgb: 245, 158, 11;
  --text-rgb: 23, 42, 58;
  --bg-rgb: 255, 255, 255;

  /* ─── Varianti con opacità ─── */
  --accent-10: rgba(37, 99, 235, .10);
  --accent-20: rgba(37, 99, 235, .20);
  --accent2-10: rgba(34, 211, 238, .10);
  --good-10: rgba(16, 185, 129, .10);
  --bad-10: rgba(239, 68, 68, .10);
  --warn-10: rgba(245, 158, 11, .10);

  /* ─── Tipografia ─── */
  --font: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;
  --text-xs: 11px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-md: 15px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 28px;

  /* ─── Spaziatura ─── */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-xxl: 100px;

  /* ─── Layout ─── */
  --max-width: 1120px;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;

  /* ─── Ombre ─── */
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .10);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, .14);
}
