/**
 * ==============================================================================
 * TRYMZO DESIGN TOKENS (Single Source of Truth)
 * ==============================================================================
 * Brand Identity: Modern, clean, trustworthy men's salon & grooming platform.
 * Theme: Light-first, vibrant brand accents, high-contrast readability.
 * Rule: ALWAYS use these CSS variables. NEVER hardcode arbitrary colors in blades.
 * ==============================================================================
 */

:root {
  /* --- 1. BRAND COLORS --- */
  --primary: #4361ee;
  --primary-hover: #3751d4;
  --primary-active: #2b43b6;
  --primary-light: #eef2ff;
  --primary-rgb: 67, 97, 238;

  /* Brand Secondary / Accents */
  --accent: #ff6b00;
  --accent-hover: #e05e00;
  --accent-light: #fff7ed;
  --accent-rgb: 255, 107, 0;

  /* Status & State Colors */
  --success: #10b981;
  --success-hover: #059669;
  --success-light: #ecfdf5;

  --warning: #f59e0b;
  --warning-hover: #d97706;
  --warning-light: #fffbeb;

  --danger: #ef4444;
  --danger-hover: #dc2626;
  --danger-light: #fef2f2;

  --info: #0284c7;
  --info-light: #f0f9ff;

  /* --- 2. SURFACES & NEUTRALS (Light Theme Standard) --- */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-muted: #f1f5f9;
  --bg-subtle: #f8fafc;

  /* Text Colors */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-disabled: #cbd5e1;
  --text-inverse: #ffffff;

  /* Borders & Dividers */
  --border-subtle: #f1f5f9;
  --border-default: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-focus: #4361ee;

  /* --- 3. TYPOGRAPHY --- */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 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-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* --- 4. SPACING & SIZING --- */
  --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 */

  /* --- 5. BORDER RADII --- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --radius-button: 10px;
  --radius-card: 16px;

  /* --- 6. SHADOWS & ELEVATION --- */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  --shadow-primary: 0 4px 14px 0 rgba(67, 97, 238, 0.25);
  --shadow-accent: 0 4px 14px 0 rgba(255, 107, 0, 0.25);

  /* --- 7. TRANSITIONS & ANIMATION --- */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 300ms cubic-bezier(0.25, 0.8, 0.25, 1);

  /* --- 8. Z-INDEX LAYERS --- */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-toast: 1080;

  /* --- 9. MOBILE / CAPACITOR SAFE AREAS --- */
  --safe-top: max(var(--android-safe-top, 0px), env(safe-area-inset-top, 0px));
  --safe-bottom: max(var(--android-safe-bottom, 0px), env(safe-area-inset-bottom, 0px));
  --safe-left: max(var(--android-safe-left, 0px), env(safe-area-inset-left, 0px));
  --safe-right: max(var(--android-safe-right, 0px), env(safe-area-inset-right, 0px));
}
