/**
 * CSS Custom Properties (Variables)
 * Centralized design tokens for consistent theming
 * Extracted from custom.css and consolidated for better organization
 */

:root {
  /* ===== COLOR TOKENS ===== */

  /* Primary Colors */
  --color-primary-blue: #3b82f6;
  --color-primary-blue-hover: #60a5fa;
  --color-primary-blue-light: #bfdbfe;

  /* Status Colors */
  --color-success-green: #22c55e;
  --color-success-green-hover: #16a34a;
  --color-error-red: #ef4444;
  --color-warning-yellow: #f59e0b;
  --color-info-cyan: #06b6d4;

  /* Gray Scale */
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;

  /* Dark Mode Colors */
  --color-dark-bg: #111827;
  --color-dark-surface: #1f2937;
  --color-dark-border: #374151;
  --color-dark-text: #f9fafb;
  --color-dark-text-muted: #d1d5db;
  --color-dark-text-secondary: #9ca3af;

  /* Required Label Colors */
  --color-required-bg-light: #dbeafe;
  --color-required-text-light: #1e40af;
  --color-required-bg-dark: rgb(59 130 246 / 15%);
  --color-required-text-dark: #93c5fd;

  /* ===== SPACING & SIZING ===== */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-base: 1rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;

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

  /* ===== SHADOWS ===== */
  --shadow-subtle: 0 1px 3px 0 rgb(0 0 0 / 10%);
  --shadow-medium: 0 4px 6px -1px rgb(0 0 0 / 10%);
  --shadow-strong: 0 10px 15px -3px rgb(0 0 0 / 10%);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -2px rgb(0 0 0 / 5%);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 10%), 0 10px 10px -5px rgb(0 0 0 / 4%);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 25%);
  --shadow-glow: 0 0 20px rgb(59 130 246 / 40%);
  --shadow-glow-purple: 0 0 20px rgb(147 51 234 / 40%);

  /* ===== TYPOGRAPHY ===== */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --letter-spacing-wide: 0.025em;

  /* ===== TRANSITIONS ===== */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
  --transition-bounce: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-smooth: 0.2s ease;

  /* ===== LEGACY ALIASES (for compatibility) ===== */
  --primary-blue: var(--color-primary-blue);
  --primary-blue-hover: var(--color-primary-blue-hover);
  --success-green: var(--color-success-green);
  --error-red: var(--color-error-red);
  --border-light: var(--color-gray-200);
  --border-dark: var(--color-gray-700);

  /* ===== GRADIENTS ===== */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --gradient-cool: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);

  /* ===== EFFECTS ===== */
  --glass-morphism: rgb(255 255 255 / 10%);

  /* ===== ICON SIZES ===== */
  --icon-xs: 0.75rem;
  --icon-sm: 1rem;
  --icon-base: 1.25rem;
  --icon-lg: 1.5rem;
  --icon-xl: 2rem;
  --icon-2xl: 2.5rem;

  /* ===== Z-INDEX SCALE ===== */
  --z-dropdown: 1000;
  --z-modal: 1040;
  --z-overlay: 1050;
  --z-tooltip: 1060;
  --z-toast: 9999;
  --z-max: 10000;

  /* ===== ADDITIONAL LEGACY ALIASES ===== */
  --primary-color: var(--color-primary-blue);
  --secondary-color: var(--color-primary-blue-hover);
  --success-color: var(--color-success-green);
  --error-color: var(--color-error-red);
  --warning-color: var(--color-warning-yellow);
  --text-primary: var(--color-gray-800);
  --text-secondary: var(--color-gray-600);
  --bg-primary: #ffffff;
  --bg-secondary: var(--color-gray-50);
  --border-color: var(--color-gray-200);
}
