/* ============================================================
   LexPath Design System — CSS Variables
   Emphasis on light, readable UI with teal/navy/gold accents
   ============================================================ */

:root {
  /* ── Brand Colors ─────────────────────────────────────── */
  --navy:           #1A2B4A;
  --navy-dark:      #0F1C2E;
  --navy-mid:       #243560;
  --teal:           #0D7377;
  --teal-dark:      #095C60;
  --teal-light:     #14A085;
  --teal-faint:     #EAF4F4;
  --gold:           #E8A838;
  --gold-dark:      #C88A20;
  --gold-faint:     #FFF8E8;
  --mint:           #14A085;

  /* ── Semantic Colors ──────────────────────────────────── */
  --color-success:        #1A7A5E;
  --color-success-bg:     #EDF7F3;
  --color-warning:        #C17A00;
  --color-warning-bg:     #FFF8E8;
  --color-danger:         #C0392B;
  --color-danger-bg:      #FEF0EF;
  --color-info:           #0D7377;
  --color-info-bg:        #EAF4F4;

  /* ── Urgency Levels (SOL deadlines) ───────────────────── */
  --urgency-green:        #1A7A5E;
  --urgency-green-bg:     #EDF7F3;
  --urgency-yellow:       #C17A00;
  --urgency-yellow-bg:    #FFF8E8;
  --urgency-orange:       #D4600A;
  --urgency-orange-bg:    #FFF1E8;
  --urgency-red:          #C0392B;
  --urgency-red-bg:       #FEF0EF;
  --urgency-expired:      #64748B;
  --urgency-expired-bg:   #F1F5F9;

  /* ── Backgrounds ──────────────────────────────────────── */
  --bg-page:        #F7F9FC;     /* overall page background — light blue-gray */
  --bg-white:       #FFFFFF;
  --bg-surface:     #FFFFFF;     /* card/panel background */
  --bg-raised:      #F1F5F9;     /* slightly elevated surface */
  --bg-teal-faint:  #EAF4F4;
  --bg-navy-dark:   #1A2B4A;    /* for header/nav accents */

  /* ── Text Colors ──────────────────────────────────────── */
  --text-primary:   #1A2B4A;    /* navy — main body text */
  --text-secondary: #4A5568;    /* slightly lighter for supporting text */
  --text-muted:     #64748B;    /* captions, labels, placeholders */
  --text-disabled:  #A0AEC0;
  --text-on-teal:   #FFFFFF;
  --text-on-navy:   #FFFFFF;
  --text-on-gold:   #1A2B4A;   /* navy on gold for sufficient contrast */
  --text-link:      #0D7377;
  --text-link-hover:#095C60;

  /* ── Borders ──────────────────────────────────────────── */
  --border-light:   #E2E8F0;
  --border-mid:     #CBD5E1;
  --border-teal:    #0D7377;
  --border-radius-sm:  6px;
  --border-radius:     10px;
  --border-radius-lg:  16px;
  --border-radius-xl:  24px;
  --border-radius-pill: 999px;

  /* ── Shadows ──────────────────────────────────────────── */
  --shadow-xs:  0 1px 2px rgba(26, 43, 74, 0.06);
  --shadow-sm:  0 2px 6px rgba(26, 43, 74, 0.08);
  --shadow-md:  0 4px 12px rgba(26, 43, 74, 0.10);
  --shadow-lg:  0 8px 24px rgba(26, 43, 74, 0.12);
  --shadow-teal: 0 4px 12px rgba(13, 115, 119, 0.20);

  /* ── Typography ───────────────────────────────────────── */
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                  'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-lg:    1.125rem;   /* 18px */
  --text-xl:    1.25rem;    /* 20px */
  --text-2xl:   1.5rem;     /* 24px */
  --text-3xl:   1.875rem;   /* 30px */
  --text-4xl:   2.25rem;    /* 36px */

  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  --leading-tight:  1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* ── Spacing ──────────────────────────────────────────── */
  --space-1:   0.25rem;   /* 4px */
  --space-2:   0.5rem;    /* 8px */
  --space-3:   0.75rem;   /* 12px */
  --space-4:   1rem;      /* 16px */
  --space-5:   1.25rem;   /* 20px */
  --space-6:   1.5rem;    /* 24px */
  --space-8:   2rem;      /* 32px */
  --space-10:  2.5rem;    /* 40px */
  --space-12:  3rem;      /* 48px */
  --space-16:  4rem;      /* 64px */

  /* ── Layout ───────────────────────────────────────────── */
  --header-height:    60px;
  --bottom-nav-height: 64px;
  --sidebar-width:    260px;
  --content-max-width: 680px;
  --card-padding:     1.25rem;

  /* ── Transitions ──────────────────────────────────────── */
  --transition-fast:   150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow:   400ms ease;

  /* ── Z-index ──────────────────────────────────────────── */
  --z-base:    1;
  --z-dropdown: 100;
  --z-sticky:  200;
  --z-overlay: 300;
  --z-modal:   400;
  --z-toast:   500;
}
