/* VÁV Flotta design tokenek – világos és sötét téma.
   A komponens-CSS csak ezeket a változókat használja, hexet nem tartalmaz. */
:root {
  color-scheme: light;

  /* VÁV Union márka */
  --brand: #781731;
  --brand-strong: #5a1024;
  --brand-soft: #f7ecef;
  --accent: #f8b700;
  --accent-ink: #6b4a00;
  --accent-soft: #fdf3d6;
  --periwinkle: #9b9ce8;
  --periwinkle-soft: #eeeefb;

  /* Semantikus */
  --ink: #241118;
  --ink-2: #59464c;
  --muted: #7a6a70;
  --line: #e8dfe2;
  --line-strong: #d3c3c8;
  --bg: #f6f3f4;
  --surface: #ffffff;
  --surface-2: #fbf8f9;
  --surface-3: #f1ebed;

  --success: #136b3d;
  --success-soft: #e7f4ec;
  --warning: #a55200;
  --warning-soft: #fdf1e3;
  --danger: #a81b2d;
  --danger-soft: #fbeaee;
  --info: #3d3f8f;
  --info-soft: #eeeefb;

  /* Lejárat-sürgősség (lejárt / <=7 / <=30 / később) */
  --due-overdue: var(--danger);
  --due-overdue-bg: var(--danger-soft);
  --due-urgent: var(--warning);
  --due-urgent-bg: var(--warning-soft);
  --due-soon: var(--accent-ink);
  --due-soon-bg: var(--accent-soft);
  --due-ok: var(--success);
  --due-ok-bg: var(--success-soft);

  --on-brand: #ffffff;
  --on-accent: #2a0810;
  --on-periwinkle: #1c1c33;
  --on-rail-strong: #ffffff;
  --on-danger: #ffffff;
  --focus: #781731;
  --focus-rail: #f8b700;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(36 17 24 / 7%), 0 1px 3px rgb(36 17 24 / 5%);
  --shadow-md: 0 16px 40px rgb(36 17 24 / 12%);
  --shadow-brand: 0 8px 20px rgb(120 23 49 / 18%);

  --rail-bg: #2a0d18;
  --rail-bg-2: #3a1222;
  --rail-ink: #f6e9ed;
  --rail-muted: #c9aab4;

  --control-height: 38px;
  --control-height-touch: 44px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;

  --font-display: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sidebar-w: 260px;
  --topbar-h: 64px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --brand: #e8a4b6;
  --brand-strong: #f3c6d2;
  --brand-soft: #331420;
  --accent: #f8b700;
  --accent-ink: #f8d477;
  --accent-soft: rgb(248 183 0 / 14%);
  --periwinkle: #b3b4f0;
  --periwinkle-soft: rgb(155 156 232 / 16%);
  --ink: #f4eef0;
  --ink-2: #d6c6cb;
  --muted: #a9949b;
  --line: #3a2a30;
  --line-strong: #4c383f;
  --bg: #140d10;
  --surface: #1d1418;
  --surface-2: #241920;
  --surface-3: #2c2027;
  --success: #6ee7a8;
  --success-soft: rgb(19 107 61 / 28%);
  --warning: #fbbf24;
  --warning-soft: rgb(165 82 0 / 26%);
  --danger: #ff9aa5;
  --danger-soft: rgb(168 27 45 / 26%);
  --info: #b3b4f0;
  --info-soft: rgb(61 63 143 / 28%);
  --due-soon: #fbbf24;
  --due-soon-bg: rgb(248 183 0 / 14%);
  --on-brand: #2a0810;
  --on-danger: #2a0810;
  --focus: #f8b700;
  --focus-rail: #f8b700;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 45%);
  --shadow-md: 0 18px 38px rgb(0 0 0 / 55%);
  --shadow-brand: none;
  --rail-bg: #0f0709;
  --rail-bg-2: #1a0e13;
  --rail-ink: #f4eef0;
  --rail-muted: #b49aa3;
}
