/**
 * Design Tokens & CSS Variables
 * Koné Shop - E-commerce Platform
 */

:root {
  /* Color Palette - Modern & Friendly with Better Visibility */
  --color-primary: #0052cc;
  --color-primary-light: #0066ff;
  --color-primary-dark: #003d99;
  --color-primary-rgb: 0, 82, 204;

  --color-secondary: #ff8c00;
  --color-secondary-light: #ffa500;
  --color-secondary-dark: #e67e00;
  --color-secondary-rgb: 255, 140, 0;

  --color-accent: #d946ef;
  --color-accent-light: #ec4899;
  --color-accent-dark: #be185d;
  --color-accent-rgb: 217, 70, 239;

  --color-success: #16a34a;
  --color-success-light: #22c55e;
  --color-success-dark: #15803d;
  --color-success-rgb: 22, 163, 74;

  --color-danger: #dc2626;
  --color-danger-light: #ef4444;
  --color-danger-dark: #b91c1c;

  --color-info: #0284c7;
  --color-warning: #ea580c;

  /* Neutral Colors - Better Contrast */
  --color-background: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-dark: #f1f5f9;
  --color-surface-light: #fafbfc;

  --color-text-primary: #0066ff;
  --color-text-secondary: yellowgreen;
  --color-text-muted: #64748b;
  --color-text-light: #ffffff;

  --color-border: #cbd5e1;
  --color-border-light: #e2e8f0;

  /* Gradient Colors */
  --gradient-primary: linear-gradient(135deg, #0052cc 0%, #0066ff 100%);
  --gradient-secondary: linear-gradient(135deg, #ff8c00 0%, #ffa500 100%);
  --gradient-accent: linear-gradient(135deg, #d946ef 0%, #ec4899 100%);
  --gradient-warm: linear-gradient(135deg, #ff8c00 0%, #d946ef 100%);
  --gradient-cool: linear-gradient(135deg, #0052cc 0%, #0284c7 100%);
  --gradient-success: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);

  /* Typography */
  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-family-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

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

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

  --line-height-tight: 1.25;
  --line-height-base: 1.5;
  --line-height-relaxed: 1.75;

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

  /* Border Radius */
  --border-radius-none: 0;
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  --border-radius-2xl: 1.5rem;
  --border-radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.25);

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

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* Layout */
  --container-max-width: 1200px;
  --header-height: 80px;
  --admin-sidebar-width: 260px;
}
