/*
 * LaborForceLabs — Design System / Theme (from apwu44.org's theme.css; the Line H pages use its variables)
 * =======================================
 * Based on eGovt WordPress theme structure, adapted with APWU brand colors.
 * Orange accent replaced with Red (#c62828 / #e53935).
 * All pages MUST reference these variables. Never hardcode hex values.
 *
 * This file is the single source of truth for the site's visual identity.
 */

:root {
  /* ===== BRAND COLORS ===== */
  --color-navy-deep: #0b1f3a;
  --color-navy-main: #0c2c4a;
  --color-blue-rich: #13406a;
  --color-blue-accent: #1e4d8c;
  --color-blue-hover: #2f6fcc;

  --color-red-main: #c62828;
  --color-red-bright: #e53935;

  /* AI accent (AI GENERATED badge, AI Generate buttons) */
  --color-ai-purple: #6d28d9;
  --color-ai-purple-hover: #5b21b6;

  --color-white: #ffffff;
  --color-white-soft: #f1f5f9;

  --color-border-dark: #091a2b;
  --color-muted: #6b859e;

  --color-bg-main: #050d1a;
  --color-bg-panel: #0f2035;
  --color-bg-card: #13406a;

  /* ===== PRIMARY ACCENT (red, replaces eGovt orange) ===== */
  --color-primary: #c62828;
  --color-primary-hover: #e53935;
  --color-primary-light: rgba(198, 40, 40, 0.1);

  /* ===== SECONDARY ACCENT (navy/blue) ===== */
  --color-secondary: #0c2c4a;
  --color-secondary-hover: #13406a;

  /* ===== STATUS (grievance deadline clocks: on track / due soon; overdue uses the red above) ===== */
  --color-status-ok: #1f7a3e;
  --color-status-soon: #ffcc00;
  /* Line H "Waiting on Documents" stamp (a brown ink stamp over a Dashboard card, Jeff 2026-11-14) */
  --color-stamp-brown: #7a4a1e;
  --color-stamp-brown-wash: rgba(122, 74, 30, 0.12);
  /* ...the stamp itself in bright fluorescent orange, see-through (Jeff 2026-11-14) */
  --color-stamp-orange: #ff5f00;
  --color-stamp-orange-wash: rgba(255, 95, 0, 0.10);
  /* Line H Audit Report contents: one colour per section, its line, number, boxes and piece of the page bar (Jeff
     2026-12-02, "make it have colored lines"); the rest of the sections use the blue, red, purple and green above */
  --color-accent-teal: #0e7490;
  --color-accent-indigo: #4f46e5;
  --color-accent-emerald: #0f766e;
  --color-accent-orange: #ea580c;
  --color-accent-amber: #b45309;
  --color-accent-pink: #db2777;

  /* ===== GRADIENTS ===== */
  --gradient-header: linear-gradient(to right, #0b1f3a, #0f2a52);
  --gradient-primary: linear-gradient(to right, #0c2c4a, #13406a);
  --gradient-danger: linear-gradient(to right, #c62828, #e53935);
  --gradient-hero-overlay: linear-gradient(135deg, rgba(11,31,58,0.85) 0%, rgba(12,44,74,0.7) 100%);

  /* ===== TEXT ===== */
  --text-primary: #ffffff;
  --text-secondary: #f1f5f9;
  --text-muted: #9fb3c8;
  --text-dark: #091a2b;
  --text-body: #62718d;
  --text-heading: #202b5d;

  /* ===== TYPOGRAPHY ===== */
  --font-display: 'Merriweather', Georgia, serif;
  --font-body: 'Source Sans 3', 'Inter', system-ui, sans-serif;
  --font-size-base: 17px;
  --line-height-base: 26px;

  /* ===== BORDERS / SHADOWS ===== */
  --border-primary: 1px solid #1e4d8c;
  --border-strong: 1px solid #091a2b;
  --border-light: 1px solid rgba(255, 255, 255, 0.08);
  --border-card: 1px solid rgba(30, 77, 140, 0.3);
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);

  /* ===== RADIUS ===== */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* ===== SPACING ===== */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* ===== TRANSITIONS ===== */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* ===== LAYOUT ===== */
  --container-max: 1200px;
  --header-height: 72px;
  --top-bar-height: 32px;
}

/*
 * ===== COMPONENT GUIDELINES =====
 *
 * TOP BAR:
 *   background: var(--color-navy-deep)
 *   text: var(--text-muted), font-size: 0.78rem
 *   border-bottom: 1px solid rgba(255,255,255,0.06)
 *
 * HEADER / NAV:
 *   background: var(--color-white) (light pages) or var(--gradient-header) (dark pages)
 *   nav links: font-weight 700, 0.9rem, color var(--text-dark) or var(--text-primary)
 *   active link: color var(--color-red-main) with 3px bottom border
 *   CTA button: border 2px solid var(--color-red-main), color var(--color-red-main)
 *   CTA button hover: background var(--color-red-main), color white
 *
 * HERO:
 *   full-width photo with var(--gradient-hero-overlay)
 *   title: var(--font-display), white, bold
 *   CTA button: background var(--color-red-main), white text, var(--radius-md)
 *
 * CARDS (icon grid below hero):
 *   background: var(--color-white), var(--shadow-card), var(--radius-lg)
 *   icon color: var(--color-red-main)
 *   title: var(--text-heading), font-weight 600
 *   hover: translateY(-2px), deeper shadow
 *
 * PANELS (dark background sections):
 *   background: var(--color-bg-panel)
 *   border: var(--border-primary)
 *   text: var(--text-primary)
 *
 * BUTTONS:
 *   Primary: bg var(--color-red-main), hover var(--color-red-bright), white text
 *   Secondary: bg var(--color-blue-rich), hover var(--color-blue-accent), white text
 *   Outline: transparent bg, border var(--color-muted), hover border white
 *
 * TABLES:
 *   header: var(--gradient-primary), white text
 *   rows: var(--color-bg-panel), hover rgba(255,255,255,0.03)
 *   border: var(--border-light)
 *
 * ALERTS:
 *   Success: bg #11351d, border #1f7a3e
 *   Warning: bg #3a2808, border #b7791f
 *   Danger: bg #3a1212, border var(--color-red-main)
 *   Info: bg #0d2742, border var(--color-blue-hover)
 *
 * FOOTER:
 *   background: var(--color-navy-deep)
 *   text: var(--text-muted)
 *   links: var(--color-blue-hover), hover white
 *   bottom bar: border-top 1px solid rgba(255,255,255,0.06)
 */
