/* ========================================
   DESIGN SYSTEM - CSS VARIABLES (Source of Truth)
   ======================================== */
/* Dark theme (ported look-and-feel from salocircle-option-1-app.html).
   Token NAMES are unchanged from the original light theme so every existing
   var(--color-...) call site across globals.css flips automatically. Also the single
   source of truth for the Learning (LMS) section, which used to carry its own
   lms-variable.css with a separate .lms-theme-scoped copy of these same tokens — now
   folded in here since both sections share the identical dark purple palette. */

:root {
  /* ========== COLORS ========== */

  /* Primary Brand Colors */
  --color-primary: #7b3fa8;
  --color-secondary: #ad4ec4;
  --color-text-primary: #f5f2fa;
  --text-black: #f5f2fa;
  --text-dark-common: #f5f2fa;
  --color-dark-color: #4d2253;
  --dark-color1: #2a122e;

  /* Neutral Colors */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray-200: rgba(255, 255, 255, 0.12);

  /* Semantic Background Colors */
  --color-bg-light: #14111f;
  --color-bg-surface-2: #1c1829;
  --color-main-bg-light: #0c0a14;
  --color-coin: #ffc35c;
  --color-leaf: #57c26a;
  --bg-overlay-color: #0000008f;
  --overlay-color: #000000c4;
  --bg-card-color: #100b17;
  
  /* Border Colors */
  --color-border-light: rgba(255, 255, 255, 0.08);
  --color-border-gray: #2a2338;
  --color-border-dark: #473c5e;
  --border-color-light-01: #f7d5ff;

  /* Status Colors */
  --color-urgent-orange: #ffc35c;
  --color-urgent-orange-bg: #2a1c06;
  --color-verified-green: #4de0b0;
  --color-verified-green-bg: #062a20;
  --color-error-red: #ef4444;
  --color-error-red-bg: rgba(239, 68, 68, 0.16);
  --color-success-green: #22c79b;
  --color-warning-yellow: #f5a524;
  --color-warning-yellow-bg: rgba(245, 165, 36, 0.16);
  --color-sky-blue: #5bb8f5;

  /* Gradients (ported from salocircle-option-1-app.html) */
  --grad-hot: linear-gradient(135deg, #e0559e 0%, #ad4ec4 55%, #7a3fb0 100%);
  --grad-heading: linear-gradient(135deg, #f06aae 0%, #c06be8 100%);
  --grad-hairline: linear-gradient(135deg, rgba(173, 78, 196, 0.65), rgba(245, 165, 36, 0.25));
  --grad-cta: linear-gradient(135deg, #a343bb 0%, #7b3fa8 100%);
  --grad-cta-hover: linear-gradient(135deg, #b854d0 0%, #8a47bc 100%);
  --ease-cta: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-cta: 180ms;

  /* Avatar initials gradients — deterministic per-name so the same salon/job always
     gets the same colour across cards. */
  --avatar-grad-1: linear-gradient(135deg, #b82e76, #7a3fb0);
  --avatar-grad-2: linear-gradient(135deg, #f5a524, #e0721f);
  --avatar-grad-3: linear-gradient(135deg, #22c79b, #12a47f);
  --avatar-grad-4: linear-gradient(135deg, #7b3fa8, #3a1c44);
  --avatar-grad-5: linear-gradient(135deg, #b82e76, #8a2b6b);

  /* Text Colors */
  --color-text-secondary: #b9b0cc;
  --color-text-muted: #9a8fb4;
  --color-text-light: #9a8fb4;

  /* ========== TYPOGRAPHY ========== */

  /* Font Family */
  --font-family-base: var(--font-poppins), "Poppins", sans-serif;
  --font-family-mono: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;

  /* Font Sizes */
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 30px;
  --font-size-4xl: 36px;

  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  --line-height-loose: 2;

  /* ========== SPACING ========== */

  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 24px;
  --spacing-2xl: 32px;
  --spacing-3xl: 48px;
  --spacing-4xl: 64px;

  /* ========== BORDERS & RADIUS ========== */

  --border-radius: 6px;

  /* Card/pill radius scale used by the Learning section's course cards, badges, and pills —
     distinct from --border-radius, which stays 6px for AntD form controls. Was duplicated
     under a separate .lms-theme scope in lms-variable.css; folded in here since both
     sections now share one token set (see globals.css's former lms.css section). */
  --radius-card: 12px;
  --radius-pill: 999px;

  --border-width: 1px;
  --border-width-thick: 2px;

  /* ========== SHADOWS ========== */

  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* ========== TRANSITIONS ========== */

  --transition-fast: 150ms ease-in-out;
  --transition-base: 200ms ease-in-out;
  --transition-slow: 300ms ease-in-out;

  /* ========== BUTTON SIZES ========== */

  /* Standard Button */
  --button-height: 36px;
  --button-min-width: 100px;
  --button-font-weight: 500;
  --button-font-size: var(--font-size-sm);
  --button-padding: 0 var(--spacing-lg);

  /* Icon Button */
  --button-icon-height: 30px;
  --button-icon-width: 30px;
  --button-icon-min-width: 30px;

  /* ========== COMPONENT SIZES ========== */

  /* Navbar */
  --navbar-height: 64px;
  --navbar-padding: var(--spacing-lg);

  /* Card */
  --card-padding: 24px;
  --card-padding-sm: 16px;
  --card-border: var(--border-width) solid var(--color-border-gray);

  /* Input */
  --input-height: 42px;
  --input-padding: 0 var(--spacing-md);

  /* Tag/Badge */
  --tag-padding: var(--spacing-sm) var(--spacing-md);
  --tag-font-size: var(--font-size-xs);

  /* ========== Z-INDEX LAYERS ========== */

  --z-base: 0;
  --z-dropdown: 1000;
  --z-sticky: 1010;
  --z-fixed: 1020;
  --z-modal-backdrop: 1030;
  --z-modal: 1040;
  --z-popover: 1050;
  --z-tooltip: 1060;
}