/*
 * Curricu:lr Design Tokens
 * Einzige Quelle aller CSS Custom Properties.
 * Niemals direkt Hex-Werte in anderen CSS-Dateien verwenden.
 *
 * SPIEGEL von curriculr-planner/src/styles/globals.css (@theme).
 * Bei Änderung von Brand-Tokens (Farben/Radien/Schatten) dort mit-aktualisieren.
 */
:root {
  /* Brand Blues */
  --primary-900: #00345C;
  --primary-700: #00467D;
  --primary-500: #0058A0;
  --primary-100: #E6F4FF;

  /* Kanonische Marine-Skala (Spiegel der Planner-Namen; gleiche Hex wie primary-*) */
  --marine-900: #001F35;
  --marine-800: #00345C; /* = --primary-900 */
  --marine-700: #00467D; /* = --primary-700 */
  --marine-500: #0058A0; /* = --primary-500 */
  --marine-100: #E6F4FF; /* = --primary-100 */

  /* Semantic Colors */
  --accent-warning: #FFC857;
  --accent-warning-bg: #FFF8E6;
  --accent-success: #0E9F6E;
  --accent-success-bg: #ECFDF5;
  --accent-error: #E02424;
  --accent-error-bg: #FEF2F2;

  /* Backgrounds */
  --bg-body: #F3F5F9;
  --bg-surface: #FFFFFF;
  --bg-surface-solid: #FFFFFF;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.6);
  --border-strong: #D1D5DB;
  --border-input: #9CA3AF;

  /* Text */
  --text-main: #111827;
  --text-muted: #4B5563;
  --text-on-dark: #FFFFFF;
  --text-on-primary: #FFFFFF;

  /* Aktiver Tab/Akzent-Text (dark-aware Override in gsh-terminplan.css) */
  --tab-active-fg: #00345C;

  /* Text on colored backgrounds (WCAG AA contrast) */
  --text-on-warning-bg: #92400E;
  --text-on-success-bg: #065F46;
  --text-on-error-bg:   #991B1B;
  --text-on-warning-btn: #1C1917;

  /* Additional backgrounds */
  --bg-muted: #F9FAFB;

  /* Radius */
  --radius-card: 14px;
  --radius-btn: 10px;
  --radius-input: 8px;
  --radius-badge: 3px;
  --radius-sm: 6px;

  /* Shadows */
  --shadow-card: 0 1px 2px rgb(0 0 0 / 0.05);
  --shadow-modal: 0 18px 40px rgba(15, 23, 42, 0.15);
  --shadow-btn: 0 2px 8px rgba(0, 70, 125, 0.25);
  --shadow-focus: 0 0 0 3px rgba(0, 70, 125, 0.25);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;

  /* Typography */
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-size-base: 15px;
  --line-height-base: 1.6;

  /* Transitions */
  --transition: 150ms ease-out;
  --transition-slow: 250ms ease-out;

}
