/* ============================================
   GSTGate Design System - CSS Variables
   ============================================ */

:root {
  /* -------------------------
     Colors
     ------------------------- */
  /* Primary */
  --primary: #185ADB;
  --primary-light: #E8F0FE;
  --primary-hover: #1248B5;

  /* Text */
  --text-primary: #1A1A1A;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;

  /* Borders & Backgrounds */
  --border: #E5E7EB;
  --bg-white: #FFFFFF;
  --bg-light: #F9FAFB;
  --bg-dark: #1F2937;

  /* Semantic */
  --success: #10B981;
  --success-light: #D1FAE5;
  --warning: #F59E0B;
  --warning-light: #FEF3C7;
  --error: #EF4444;
  --error-light: #FEF2F2;
  --positive-value: #10B981;

  /* Result Card Gradient */
  --result-gradient-start: #FFFFFF;
  --result-gradient-end: #FFFFFF;
  --result-header-bg: #185ADB;
  --result-header-text: #FFFFFF;

  /* -------------------------
     Typography
     ------------------------- */
  --font-family: 'Jost', sans-serif;

  /* Font Sizes */
  --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: 2rem;
  /* 32px */
  --text-4xl: 2.5rem;
  /* 40px */

  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Line Heights */
  --leading-tight: 1.2;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.6;

  /* -------------------------
     Spacing (8px base)
     ------------------------- */
  --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 */

  /* -------------------------
     Border Radius
     ------------------------- */
  --radius-sm: 0.25rem;
  /* 4px */
  --radius-md: 0.5rem;
  /* 8px */
  --radius-lg: 0.75rem;
  /* 12px */
  --radius-xl: 1rem;
  /* 16px */
  --radius-full: 9999px;

  /* -------------------------
     Shadows
     ------------------------- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);

  /* -------------------------
     Transitions
     ------------------------- */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;

  /* -------------------------
     Layout
     ------------------------- */
  --header-height: 64px;
  --header-height-mobile: 56px;
  --container-max: 1400px;
  --sidebar-width: 380px;
  --content-max-width: 800px;
  --sticky-ad-height: 56px;
}

/* Responsive Container Widths */
@media (max-width: 1440px) {
  :root {
    --container-max: 1200px;
  }
}

@media (max-width: 1280px) {
  :root {
    --container-max: 1100px;
  }
}

@media (max-width: 1024px) {
  :root {
    --container-max: 960px;
    --sidebar-width: 340px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 56px;
  }
}