/* TCYB brand theme (Blazor Blueprint / shadcn tokens).
 * Navy #001541 is primary. Orange #F87F00 is accent and highlight — used for fills, focus
 * rings and highlights, not for small body text (orange on white is ~2.6:1 and fails WCAG AA).
 * Orange fills use navy text (~6.8:1). Load this file BEFORE blazorblueprint.css so the first
 * paint is already on-brand. tcyb.css (loaded last) repeats the tokens with higher-specificity
 * selectors so they still win if ThemeService sets data-base-color or data-primary-color.
 * Light mode only: .dark is mapped to the same light palette as a safety net.
 */

:root {
  color-scheme: light;

  --tcyb-navy: #001541;
  --tcyb-orange: #F87F00;
  --tcyb-orange-hover: #D96E00;
  --tcyb-navy-hover: #16305C;
  --tcyb-accent-wash: #FFF3E6;
  --tcyb-surface: #F3F5F8;

  --radius: 0.625rem;
  --background: #FFFFFF;
  --foreground: #001541;
  --card: #FFFFFF;
  --card-foreground: #001541;
  --popover: #FFFFFF;
  --popover-foreground: #001541;
  --primary: #001541;
  --primary-foreground: #FFFFFF;
  --secondary: #F3F5F8;
  --secondary-foreground: #001541;
  --muted: #F3F5F8;
  --muted-foreground: #3E4A63;
  --accent: #FFF3E6;
  --accent-foreground: #001541;
  --destructive: #B42318;
  --destructive-foreground: #FFFFFF;
  --border: #8A96A6;
  --input: #8A96A6;
  --ring: #F87F00;
  --chart-1: #F87F00;
  --chart-2: #001541;
  --chart-3: #16305C;
  --chart-4: #D96E00;
  --chart-5: #3E4A63;
  --sidebar: #FFFFFF;
  --sidebar-foreground: #001541;
  --sidebar-primary: #001541;
  --sidebar-primary-foreground: #FFFFFF;
  --sidebar-accent: #FFF3E6;
  --sidebar-accent-foreground: #001541;
  --sidebar-border: #8A96A6;
  --sidebar-ring: #F87F00;
}

/* Light mode only: ignore a leftover .dark class rather than switching palettes. */
.dark {
  color-scheme: light;

  --tcyb-navy: #001541;
  --tcyb-orange: #F87F00;
  --tcyb-orange-hover: #D96E00;
  --tcyb-navy-hover: #16305C;
  --tcyb-accent-wash: #FFF3E6;
  --tcyb-surface: #F3F5F8;

  --radius: 0.625rem;
  --background: #FFFFFF;
  --foreground: #001541;
  --card: #FFFFFF;
  --card-foreground: #001541;
  --popover: #FFFFFF;
  --popover-foreground: #001541;
  --primary: #001541;
  --primary-foreground: #FFFFFF;
  --secondary: #F3F5F8;
  --secondary-foreground: #001541;
  --muted: #F3F5F8;
  --muted-foreground: #3E4A63;
  --accent: #FFF3E6;
  --accent-foreground: #001541;
  --destructive: #B42318;
  --destructive-foreground: #FFFFFF;
  --border: #8A96A6;
  --input: #8A96A6;
  --ring: #F87F00;
  --chart-1: #F87F00;
  --chart-2: #001541;
  --chart-3: #16305C;
  --chart-4: #D96E00;
  --chart-5: #3E4A63;
  --sidebar: #FFFFFF;
  --sidebar-foreground: #001541;
  --sidebar-primary: #001541;
  --sidebar-primary-foreground: #FFFFFF;
  --sidebar-accent: #FFF3E6;
  --sidebar-accent-foreground: #001541;
  --sidebar-border: #8A96A6;
  --sidebar-ring: #F87F00;
}
