/* ============================================================
   Oasis Dental ERP — Theme Tokens
   Extracted in v1.0.305 to keep colors/dark-mode ownership out of page CSS.
   Do not add page-specific rules here.
   ============================================================ */

:root {
  /* ═══ Colors ═══ */
  --primary: #06b6d4;
  --primary-dark: #0891b2;
  --primary-light: #cffafe;

  --secondary: #8b5cf6;
  --accent: #14b8a6;

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* Backgrounds */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-input: #ffffff;
  --bg-hover: #f1f5f9;
  --bg-sidebar: #0f172a;
  --bg-topbar: #ffffff;

  /* Text */
  --text-1: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --text-on-dark: #f1f5f9;

  /* Borders */
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.05);

  /* Layout */
  --sidebar-w: 260px;
  --topbar-h: 60px;
  --bottom-nav-h: 64px;

  /* Radii */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Transitions */
  --t-fast: .15s;
  --t-base: .25s;
  --t-slow: .4s;
}

/* ═══ Dark Mode ═══ */
[data-theme="dark"] {
  --bg-page: #0f172a;
  --bg-card: #1e293b;
  --bg-input: #0f172a;
  --bg-hover: #334155;
  --bg-topbar: #1e293b;

  --text-1: #f1f5f9;
  --text-2: #cbd5e1;
  --text-3: #94a3b8;

  --border: #334155;
  --border-strong: #475569;

  --shadow: 0 4px 6px -1px rgba(0,0,0,.4);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.5);
}
