/* ============================================================
   GO-TRACKER V3 — THEME TOKENS
   Edit ONLY this file to change the entire visual theme.
   All colors, fonts, spacing, shadows defined here as CSS vars.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css');

:root {
  /* ── Enterprise Colors (Premium Light & High Contrast Slate) ─ */
  --color-bg-base:      #F8FAFC; /* Slate 50 */
  --color-bg-surface:   #FFFFFF;
  --color-bg-elevated:  #F1F5F9; /* Slate 100 */
  --color-bg-overlay:   rgba(15, 23, 42, 0.6);

  --color-border:       rgba(15, 23, 42, 0.06); /* Sophisticated Slate Border */
  --color-border-subtle: rgba(15, 23, 42, 0.04);
  --color-border-focus: #0F172A;

  --color-accent:       #0F172A; /* Premium Slate Dark */
  --color-accent-dark:  #1E293B; /* Slate 800 */
  --color-accent-light: #F1F5F9; /* Slate 100 */
  --color-accent-glow:  rgba(15, 23, 42, 0.05);

  --color-success:      #10B981; /* Emerald 500 */
  --color-success-light: #ECFDF5;
  --color-warning:      #F59E0B; /* Amber 500 */
  --color-warning-light: #FFFBEB;
  --color-danger:       #EF4444; /* Rose 500 */
  --color-danger-light:  #FEF2F2;
  --color-info:         #3B82F6; /* Blue 500 */
  --color-info-light:   #EFF6FF;

  --color-text-primary:   #0F172A; /* Slate 900 */
  --color-text-secondary: #475569; /* Slate 600 */
  --color-text-muted:     #94A3B8; /* Slate 400 */
  --color-text-inverse:   #FFFFFF;

  /* ── Legacy Feature Compatibility Mappings ──────────────── */
  --border-radius:        var(--radius-md);
  --color-primary:        var(--color-accent);
  --color-bg-card:        var(--color-bg-surface);
  --color-bg-subtle:      var(--color-bg-elevated);


  /* ── Typography ────────────────────────────────────────── */
  --font-family:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:     'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  --font-size-xs:  0.75rem;
  --font-size-sm:  0.875rem;
  --font-size-md:  1rem;
  --font-size-lg:  1.125rem;
  --font-size-xl:  1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;

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

  --line-height-tight:  1.25;
  --line-height-normal: 1.5;
  --line-height-loose:  1.75;

  /* ── Spacing ───────────────────────────────────────────── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* ── Border Radius ─────────────────────────────────────── */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* ── High-End Multi-Layered Shadows ─────────────────────── */
  --shadow-sm:  0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-md:  0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg:  0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -4px rgba(15, 23, 42, 0.03), 0 0 0 1px rgba(15, 23, 42, 0.01);
  --shadow-xl:  0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.03), 0 0 0 1px rgba(15, 23, 42, 0.02);
  --shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.03), 0 1px 2px -1px rgba(0, 0, 0, 0.03), 0 0 0 1px rgba(15, 23, 42, 0.04);
  --shadow-premium: 0 10px 30px -10px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.01), 0 0 0 1px rgba(15, 23, 42, 0.02);
  --shadow-glow: 0 0 0 4px rgba(79, 70, 229, 0.12);

  /* ── Layered Blurs ─────────────────────────────────────── */
  --glass-bg:      rgba(255, 255, 255, 0.8);
  --glass-border:  rgba(15, 23, 42, 0.06);
  --glass-blur:    blur(12px);

  /* ── Transitions ───────────────────────────────────────── */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Z-Index ───────────────────────────────────────────── */
  --z-base:    0;
  --z-raised:  10;
  --z-overlay: 100;
  --z-modal:   1000;
  --z-toast:   2000;
  --z-nav:     400;
}

/* ── Custom Slim Professional Scrollbars ─────────────────────── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.12);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 23, 42, 0.24);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.12) transparent;
}

