/*
  shadcn/ui token structure for the ShortURL control plane, with a Bootstrap 4-style
  palette mapped onto --primary/--success/--info/--warning/--destructive and surface tokens.
  Given fills (kept exactly): primary #0275d8, success #5cb85c, info #5bc0de,
  warning #f0ad4e, danger #d9534f, inverse #292b2c, faded #f7f7f7.
  --*-text is a same-hue shade used only when the exact fill fails WCAG AA as text
  (≥4.5:1) on light or dark surfaces; fills themselves are never re-tinted.
  All corners use --radius 0.3rem; the derived scale (--radius-sm/md/lg/xl) is the same
  value. Circles (spinners, radio, status dots, step numbers) stay 50%/999px.
  The page is light by default; <html class="dark" data-theme="dark"> switches to the
  dark variables. Preference: Sistem (follow the OS, default) | Light | Dark, stored
  in this browser as localStorage "xctd-theme" ("light" / "dark"; no value = Sistem).
  Loaded FIRST; assets/css/app.css holds every component and uses only these variables.
*/
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/inter_regular.ttf") format("truetype")}
@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/inter_medium.ttf") format("truetype")}
@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/inter_semibold.ttf") format("truetype")}
:root {
  --radius: 0.3rem;
  /* named palette (Bootstrap 4 style) — reference aliases; components use the shadcn tokens below */
  --bs-primary: #0275d8;
  --bs-success: #5cb85c;
  --bs-info: #5bc0de;
  --bs-warning: #f0ad4e;
  --bs-danger: #d9534f;
  --bs-inverse: #292b2c;
  --bs-faded: #f7f7f7;
  --inverse: #292b2c;
  --inverse-foreground: #ffffff;
  --faded: #f7f7f7;
  --background: #ffffff;
  --foreground: #292b2c;
  --card: #ffffff;
  --card-foreground: #292b2c;
  --popover: #ffffff;
  --popover-foreground: #292b2c;
  --primary: #0275d8;
  --primary-foreground: #ffffff; /* 4.63:1 on #0275d8 */
  --primary-text: #0263b7; /* same hue, darkened for text on light / washes */
  --secondary: #f7f7f7;
  --secondary-foreground: #292b2c;
  --muted: #f7f7f7;
  --muted-foreground: #636566;
  --accent: #f7f7f7;
  --accent-foreground: #292b2c;
  --destructive: #d9534f;
  --destructive-foreground: #ffffff; /* 3.96:1 on #d9534f — best of white vs #292b2c; neither reaches 4.5:1 */
  --destructive-text: #bd2d29;
  --border: #e5e5e5;
  --input: #e5e5e5;
  --ring: #0275d8; /* derived from primary; 4.63:1 vs white, 4.32:1 vs faded (≥3:1) */
  --chart-1: #0275d8;
  --chart-2: #5cb85c;
  --chart-3: #5bc0de;
  --chart-4: #f0ad4e;
  --chart-5: #d9534f;
  --sidebar: #f7f7f7;
  --sidebar-foreground: #292b2c;
  --sidebar-primary: #0275d8;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: color-mix(in srgb, var(--primary) 12%, var(--sidebar));
  --sidebar-accent-foreground: var(--primary-text);
  --sidebar-border: #e5e5e5;
  --sidebar-ring: #0275d8;
  --success: #5cb85c;
  --success-foreground: #292b2c; /* 5.73:1 on #5cb85c */
  --success-text: #337633;
  --info: #5bc0de;
  --info-foreground: #292b2c; /* 6.80:1 on #5bc0de */
  --info-text: #1c728c;
  --warning: #f0ad4e;
  --warning-foreground: #292b2c; /* 7.31:1 on #f0ad4e */
  --warning-text: #965d0d;
  --radius-sm: var(--radius);
  --radius-md: var(--radius);
  --radius-lg: var(--radius);
  --radius-xl: var(--radius);
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / .05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, Consolas, monospace;
  --speed: 150ms;
  color-scheme: light;
}
.dark {
  --background: #0a0a0a;
  --foreground: #f7f7f7;
  --card: #292b2c;
  --card-foreground: #f7f7f7;
  --popover: #292b2c;
  --popover-foreground: #f7f7f7;
  --primary: #0275d8;
  --primary-foreground: #ffffff;
  --primary-text: #36a1fd; /* same hue, lightened for text on dark / washes */
  --secondary: #292b2c;
  --secondary-foreground: #f7f7f7;
  --muted: #292b2c;
  --muted-foreground: #a1a1a1; /* 7.66:1 vs #0a0a0a, 5.51:1 vs #292b2c */
  --accent: #292b2c;
  --accent-foreground: #f7f7f7;
  --destructive: #d9534f;
  --destructive-foreground: #ffffff;
  --destructive-text: #e48481;
  --border: rgba(255, 255, 255, 0.1);
  --input: rgba(255, 255, 255, 0.15);
  --ring: #36a1fd; /* lightened primary so the 1px line stays ≥3:1 on #292b2c and primary washes */
  --chart-1: #0275d8;
  --chart-2: #5cb85c;
  --chart-3: #5bc0de;
  --chart-4: #f0ad4e;
  --chart-5: #d9534f;
  --sidebar: #292b2c;
  --sidebar-foreground: #f7f7f7;
  --sidebar-primary: #0275d8;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: color-mix(in srgb, var(--primary) 16%, var(--sidebar));
  --sidebar-accent-foreground: var(--primary-text);
  --sidebar-border: rgba(255, 255, 255, 0.1);
  --sidebar-ring: #36a1fd;
  --success: #5cb85c;
  --success-foreground: #292b2c;
  --success-text: #60ba60;
  --info: #5bc0de;
  --info-foreground: #292b2c;
  --info-text: #5bc0de;
  --warning: #f0ad4e;
  --warning-foreground: #292b2c;
  --warning-text: #f0ad4e;
  --inverse: #292b2c;
  --inverse-foreground: #ffffff;
  --faded: #f7f7f7;
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / .3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .4), 0 2px 4px -2px rgb(0 0 0 / .4);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .5), 0 4px 6px -4px rgb(0 0 0 / .5);
  color-scheme: dark;
}
