/* CSS Custom Properties for Theming */

:root {
  /* ===== Color Palette - LanX Inspired ===== */
  --color-primary: #667eea;
  --color-primary-dark: #5568d3;
  --color-primary-light: #7c8ef5;
  
  --color-secondary: #764ba2;
  --color-secondary-dark: #62408a;
  --color-secondary-light: #8b5ab5;
  
  --color-accent: #f093fb;
  --color-accent-dark: #e670f0;
  --color-accent-light: #f5affe;

  --color-dark: #1a202c;
  --color-dark-secondary: #2d3748;
  --color-dark-tertiary: #4a5568;
  
  --color-light: #f7fafc;
  --color-light-secondary: #edf2f7;
  --color-light-tertiary: #e2e8f0;

  --color-white: #ffffff;
  --color-black: #000000;

  /* Status Colors */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-info: #3b82f6;

  /* ===== Gradients ===== */
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  --gradient-primary-subtle: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-secondary-light) 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 100%);

  /* ===== Spacing Scale ===== */
  --space-0: 0;
  --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;
  --space-20: 5rem;
  --space-24: 6rem;

  /* ===== Typography ===== */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  --font-mono: 'Fira Code', 'Courier New', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* ===== Shadows ===== */
  --shadow-none: none;
  --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);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

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

  /* ===== Transitions & Animations ===== */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

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

/* ===== Dark Theme ===== */
[data-theme="dark"] {
  --color-primary: #8b5cf6;
  --color-primary-dark: #7c3aed;
  --color-primary-light: #a78bfa;
  
  --color-secondary: #a855f7;
  --color-secondary-dark: #9333ea;
  --color-secondary-light: #c084fc;
  
  --color-dark: #0f172a;
  --color-dark-secondary: #1e293b;
  --color-dark-tertiary: #334155;
  
  --color-light: #1e293b;
  --color-light-secondary: #334155;
  --color-light-tertiary: #475569;

  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

/* ===== Colorful Theme ===== */
[data-theme="colorful"] {
  --color-primary: #ec4899;
  --color-secondary: #f59e0b;
  --color-accent: #10b981;

  --gradient-primary: linear-gradient(135deg, #ec4899 0%, #f59e0b 50%, #10b981 100%);
}
