/* ==========================================================================
   Design Tokens - Luxfolio PA
   CSS Custom Properties for consistent theming
   ========================================================================== */

:root {
  /* ==========================================================================
     Colors - Brand & Primary
     ========================================================================== */
  --color-primary: #2563EB;           /* Professional blue - Luxfolio brand accent */
  --color-primary-hover: #1D4ED8;     /* Darker blue for hover states */
  --color-primary-light: #DBEAFE;     /* Light blue for backgrounds */

  /* ==========================================================================
     Colors - Background
     ========================================================================== */
  --color-bg-page: #FAFAFA;           /* Soft off-white page background */
  --color-bg-surface: #FFFFFF;        /* White cards/panels */
  --color-bg-elevated: #FFFFFF;       /* Elevated surfaces (modals, dropdowns) */
  --color-bg-muted: #F3F4F6;          /* Muted background for inactive states */

  /* ==========================================================================
     Colors - Text
     ========================================================================== */
  --color-text-primary: #1F2937;      /* Dark gray - primary text */
  --color-text-secondary: #6B7280;    /* Medium gray - secondary text */
  --color-text-muted: #9CA3AF;        /* Light gray - muted/placeholder text */
  --color-text-inverse: #FFFFFF;      /* White text on dark backgrounds */

  /* ==========================================================================
     Colors - Semantic (Status/Feedback)
     ========================================================================== */
  --color-success: #22C55E;           /* Green - success states */
  --color-success-light: #DCFCE7;     /* Light green background */
  --color-error: #EF4444;             /* Red - error states */
  --color-error-light: #FEE2E2;       /* Light red background */
  --color-warning: #F59E0B;           /* Amber - warning states */
  --color-warning-light: #FEF3C7;     /* Light amber background */
  --color-info: #3B82F6;              /* Blue - info states */
  --color-info-light: #DBEAFE;        /* Light blue background */

  /* ==========================================================================
     Colors - Border
     ========================================================================== */
  --color-border: #E5E7EB;            /* Light gray border - default */
  --color-border-light: #F3F4F6;      /* Lighter border for subtle dividers */
  --color-border-focus: #2563EB;      /* Blue border for focus states */

  /* ==========================================================================
     Typography - Font Family
     ========================================================================== */
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-family-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Mono', 'Droid Sans Mono', monospace;

  /* ==========================================================================
     Typography - Font Size
     ========================================================================== */
  --font-size-xs: 12px;               /* Extra small - labels, captions */
  --font-size-sm: 14px;               /* Small - secondary text */
  --font-size-base: 16px;             /* Base - body text */
  --font-size-lg: 18px;               /* Large - emphasized text */
  --font-size-xl: 20px;               /* Extra large - section titles */
  --font-size-2xl: 24px;              /* 2X large - page headings */
  --font-size-3xl: 30px;              /* 3X large - hero text */
  --font-size-4xl: 36px;              /* 4X large - display text */

  /* ==========================================================================
     Typography - Font Weight
     ========================================================================== */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* ==========================================================================
     Typography - Line Height
     ========================================================================== */
  --line-height-tight: 1.25;          /* Headings */
  --line-height-normal: 1.5;          /* Body text */
  --line-height-loose: 1.75;          /* Readable paragraphs */

  /* ==========================================================================
     Typography - Letter Spacing
     ========================================================================== */
  --letter-spacing-tight: -0.025em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.025em;

  /* ==========================================================================
     Spacing - 8px Grid System
     ========================================================================== */
  --space-0: 0;
  --space-1: 4px;                     /* 0.5x base */
  --space-2: 8px;                     /* 1x base */
  --space-3: 12px;                    /* 1.5x base */
  --space-4: 16px;                    /* 2x base */
  --space-5: 20px;                    /* 2.5x base */
  --space-6: 24px;                    /* 3x base */
  --space-8: 32px;                    /* 4x base */
  --space-10: 40px;                   /* 5x base */
  --space-12: 48px;                   /* 6x base */
  --space-16: 64px;                   /* 8x base */
  --space-20: 80px;                   /* 10x base */
  --space-24: 96px;                   /* 12x base */

  /* ==========================================================================
     Border Radius
     ========================================================================== */
  --radius-sm: 4px;                   /* Small - buttons, inputs */
  --radius-md: 8px;                   /* Medium - cards, panels */
  --radius-lg: 12px;                  /* Large - modals, major containers */
  --radius-xl: 16px;                  /* Extra large - feature cards */
  --radius-2xl: 24px;                 /* 2X large - hero sections */
  --radius-full: 9999px;              /* Full - pills, avatars */

  /* ==========================================================================
     Shadows - Elevation
     ========================================================================== */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

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

  /* ==========================================================================
     Z-Index Scale
     ========================================================================== */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}
