/* ==========================================================================
   DentCell Design System — SF Pro Display & CSS Variables
   ========================================================================== */

@font-face {
  font-family: 'SF Pro Display';
  src: url('../sf-pro-display/SFPRODISPLAYREGULAR.woff2') format('woff2'), url('../sf-pro-display/SFPRODISPLAYREGULAR.OTF') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../sf-pro-display/SFPRODISPLAYMEDIUM.woff2') format('woff2'), url('../sf-pro-display/SFPRODISPLAYMEDIUM.OTF') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../sf-pro-display/SFPRODISPLAYBOLD.woff2') format('woff2'), url('../sf-pro-display/SFPRODISPLAYBOLD.OTF') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../sf-pro-display/SFPRODISPLAYBOLD.woff2') format('woff2'), url('../sf-pro-display/SFPRODISPLAYBOLD.OTF') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../sf-pro-display/SFPRODISPLAYSEMIBOLDITALIC.OTF') format('opentype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../sf-pro-display/SFPRODISPLAYHEAVYITALIC.OTF') format('opentype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../sf-pro-display/SFPRODISPLAYBLACKITALIC.OTF') format('opentype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Brand Clinical Palette */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;
  --primary-950: #172554;

  /* Medical Teal / Mint Accents */
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;

  /* Neutral Slate */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  /* Semantic Alerts */
  --success-50: #ecfdf5;
  --success-500: #10b981;
  --success-600: #059669;
  --success-700: #047857;

  --warning-50: #fffbeb;
  --warning-500: #f59e0b;
  --warning-600: #d97706;

  --danger-50: #fef2f2;
  --danger-500: #ef4444;
  --danger-600: #dc2626;

  --info-50: #f0f9ff;
  --info-500: #0284c7;

  /* Purple / AI Assistant Palette */
  --purple-50: #f5f3ff;
  --purple-100: #ede9fe;
  --purple-200: #ddd6fe;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --purple-700: #6d28d9;
  --purple-900: #4c1d95;

  /* Surface & Background */
  --bg-app: #f8fafc;
  --bg-app-alt: #f1f5f9;
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;
  --bg-subtle: #f8fafc;
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-card: #e2e8f0;
  --border-active: #0284c7;

  /* Typography */
  --font-sans: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --text-inverse: #ffffff;

  /* Elevations & Delicate iOS Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.03);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.05), 0 1px 2px -1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 10px 24px -4px rgba(15, 23, 42, 0.06), 0 4px 10px -2px rgba(15, 23, 42, 0.02);
  --shadow-xl: 0 16px 28px -6px rgba(15, 23, 42, 0.07), 0 6px 12px -4px rgba(15, 23, 42, 0.03);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-floating: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-nav: 0 -1px 8px rgba(15, 23, 42, 0.04);

  /* Apple Liquid Glassmorphism Tokens (iOS 18 & visionOS) — Ultra Transparent */
  --liquid-glass-bg: rgba(255, 255, 255, 0.48);
  --liquid-glass-bg-subtle: rgba(255, 255, 255, 0.32);
  --liquid-glass-bg-dock: rgba(255, 255, 255, 0.45);
  --liquid-glass-bg-dark: rgba(15, 23, 42, 0.45);
  --liquid-glass-blur: blur(28px) saturate(200%);
  --liquid-glass-blur-heavy: blur(32px) saturate(210%);
  --liquid-glass-border: 1px solid rgba(255, 255, 255, 0.85);
  --liquid-glass-border-subtle: 1px solid rgba(255, 255, 255, 0.55);
  --liquid-glass-border-glow: 1px solid rgba(56, 189, 248, 0.75);
  --liquid-glass-specular: inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.95);
  --liquid-glass-shadow-card: 0 12px 32px -4px rgba(15, 23, 42, 0.05), 0 2px 8px -2px rgba(15, 23, 42, 0.02), inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.95);
  --liquid-glass-shadow-dock: 0 20px 48px -10px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.6), inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.95);
  --liquid-glass-shadow-btn: 0 8px 22px -3px rgba(2, 132, 199, 0.35), inset 0 1px 1.5px rgba(255, 255, 255, 0.9);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 18px;
  --radius-2xl: 24px;
  --radius-3xl: 28px;
  --radius-full: 9999px;

  /* Component Dimensions */
  --btn-height: 44px;
  --btn-height-sm: 34px;
  --input-height: 44px;
  --nav-height: 64px;

  /* Animation Timings */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s var(--ease-smooth);
  --transition-slow: 0.4s var(--ease-smooth);

  /* Role specific primary accents */
  --role-owner: #1d4ed8;
  --role-doctor: #0891b2;
  --role-receptionist: #d97706;
  --role-patient: #0284c7;
}
