/* ============================================================
   Design System
   Professional Adaptive Interface
   Dark mode default, light mode toggle
   ============================================================ */

/* ---- CSS Custom Properties (Dark Mode Default) ---- */
:root {
  /* Surface hierarchy */
  --surface: #0f172a;
  --surface-dim: #0b1220;
  --surface-bright: #1e293b;
  --surface-container-lowest: #060a14;
  --surface-container-low: #0d1424;
  --surface-container: #131b2e;
  --surface-container-high: #1a2340;
  --surface-container-highest: #222d47;
  --on-surface: #e2e8f0;
  --on-surface-variant: #94a3b8;
  --inverse-surface: #faf8ff;
  --inverse-on-surface: #131b2e;

  /* Primary */
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-dim: #3525cd;
  --primary-container: #2e2a7a;
  --on-primary: #ffffff;
  --on-primary-container: #dad7ff;
  --primary-glow: rgba(79, 70, 229, 0.15);
  --primary-50: rgba(79, 70, 229, 0.08);

  /* Secondary */
  --secondary: #5b598c;
  --secondary-container: #3d3b6b;
  --on-secondary: #ffffff;

  /* Status */
  --success: #16a34a;
  --success-bg: rgba(22, 163, 74, 0.12);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.12);
  --danger: #dc2626;
  --danger-bg: rgba(220, 38, 38, 0.12);
  --info: #0ea5e9;
  --info-bg: rgba(14, 165, 233, 0.12);

  /* Outline & Border */
  --outline: #334155;
  --outline-variant: #1e293b;
  --glass-border: rgba(255, 255, 255, 0.06);

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --container-max: 1280px;
  --edge-margin: 20px;
  --gutter: 24px;
  --section-gap: 48px;
  --pad-lg: 32px;
  --pad-md: 20px;
  --pad-sm: 12px;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.15), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.2);

  /* Motion */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 350ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Light Mode ---- */
html.light {
  --surface: #f8fafc;
  --surface-dim: #f1f5f9;
  --surface-bright: #ffffff;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #ffffff;
  --surface-container: #f8fafc;
  --surface-container-high: #f1f5f9;
  --surface-container-highest: #e2e8f0;
  --on-surface: #0f172a;
  --on-surface-variant: #475569;
  --inverse-surface: #1e293b;
  --inverse-on-surface: #f8fafc;
  --outline: #cbd5e1;
  --outline-variant: #e2e8f0;
  --glass-border: rgba(0, 0, 0, 0.06);
  --primary-container: #e0e7ff;
  --on-primary-container: #312e81;
  --primary-glow: rgba(79, 70, 229, 0.1);
  --primary-50: rgba(79, 70, 229, 0.05);
  --secondary-container: #e2e8f0;
  --success-bg: rgba(22, 163, 74, 0.08);
  --warning-bg: rgba(245, 158, 11, 0.08);
  --danger-bg: rgba(220, 38, 38, 0.08);
  --info-bg: rgba(14, 165, 233, 0.08);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.1);
}

/* ---- Base Reset & Typography ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--surface);
  color: var(--on-surface);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: hidden;
}

/* Font display swap */
@font-face { font-family: 'Inter'; font-display: swap; }

/* Typography scale */
.display-lg { font-size: clamp(32px, 5vw, 48px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.headline-lg { font-size: clamp(24px, 4vw, 32px); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.headline-md { font-size: clamp(20px, 3vw, 24px); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.title-lg { font-size: 18px; font-weight: 600; line-height: 1.4; }
.title-md { font-size: 16px; font-weight: 600; line-height: 1.4; }
.body-lg { font-size: 18px; font-weight: 400; line-height: 1.65; }
.body-md { font-size: 16px; font-weight: 400; line-height: 1.6; }
.body-sm { font-size: 14px; font-weight: 400; line-height: 1.5; }
.label-md { font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: 0.01em; }
.label-sm { font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: 0.02em; }
.caption { font-size: 12px; font-weight: 400; line-height: 1.4; color: var(--on-surface-variant); }
.stat-value { font-size: clamp(24px, 4vw, 36px); font-weight: 700; line-height: 1.2; }
.badge-cap { font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---- Layout Utilities ---- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--edge-margin); }
.page-content { padding: var(--pad-md) 0; }

@media (min-width: 768px) {
  :root { --edge-margin: 32px; --pad-lg: 32px; }
}
@media (min-width: 1024px) {
  :root { --edge-margin: 40px; }
}

/* ---- Glass Header ---- */
.glass-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

/* ---- Cards ---- */
.card {
  background: var(--surface-bright);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-normal) var(--ease-standard),
              transform var(--duration-fast) var(--ease-standard);
}
.card-pad { padding: var(--pad-md); }
.card-pad-lg { padding: var(--pad-lg); }
.card-hover:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card-interactive {
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
}
.card-interactive:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--primary);
}
.card-interactive:active { transform: translateY(0); }
.card-selected {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow), 0 0 0 3px var(--primary-glow);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 20px; border-radius: var(--radius);
  font-family: var(--font-family);
  font-weight: 600; font-size: 14px; line-height: 1;
  cursor: pointer; border: 1px solid transparent;
  user-select: none; white-space: nowrap;
  min-height: 44px;
  transition: all var(--duration-fast) var(--ease-standard);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { 
  background: var(--primary-hover);
  box-shadow: var(--shadow); 
}

.btn-secondary {
  background: var(--surface-container);
  color: var(--on-surface);
  border-color: var(--outline);
}
.btn-secondary:hover { background: var(--surface-container-high); }

.btn-danger {
  background: var(--danger);
  color: #fff;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--on-surface-variant);
}
.btn-ghost:hover { background: var(--surface-container); color: var(--on-surface); }

.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13px; min-height: 36px; border-radius: var(--radius-sm); }
.btn-lg { padding: 16px 28px; font-size: 16px; min-height: 52px; }

/* ---- Inputs ---- */
.field { display: block; margin-bottom: 16px; }
.label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--on-surface); margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.input, .select, .textarea {
  width: 100%; background: var(--surface-container);
  color: var(--on-surface);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius);
  padding: 12px 16px; font-size: 15px; font-family: var(--font-family);
  outline: none; min-height: 48px;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}
.textarea { min-height: 100px; resize: vertical; }
.help { font-size: 13px; color: var(--on-surface-variant); margin-top: 6px; }
.error-text { font-size: 13px; color: var(--danger); margin-top: 6px; }

@media (max-width: 767px) {
  .input, .select, .textarea { font-size: 16px; /* prevents iOS zoom */ }
}

/* ---- Badges ---- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--surface-container-high);
  color: var(--on-surface-variant);
}
.badge-pending { background: var(--warning-bg); color: var(--warning); }
.badge-confirmed { background: var(--info-bg); color: var(--info); }
.badge-on_progress { background: rgba(139, 92, 246, 0.12); color: #a78bfa; }
.badge-completed { background: var(--success-bg); color: var(--success); }
.badge-cancelled { background: var(--danger-bg); color: var(--danger); }
.badge-queued { background: rgba(245, 158, 11, 0.12); color: var(--warning); }

/* ---- Stat Cards ---- */
.stat {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 20px;
  background: var(--surface-bright);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
}
.stat .stat-label { font-size: 12px; color: var(--on-surface-variant); font-weight: 500; }
.stat .stat-val { font-size: clamp(20px, 3vw, 28px); font-weight: 700; color: var(--on-surface); }

/* ---- Slot Grid ---- */
.slot {
  display: flex; align-items: center; justify-content: center;
  padding: 12px 8px; border-radius: var(--radius);
  border: 1px solid var(--outline-variant);
  background: var(--surface-container);
  font-weight: 600; font-size: 14px; cursor: pointer;
  transition: all var(--duration-fast) var(--ease-standard);
}
.slot:hover:not(.disabled) { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }
.slot.active { background: var(--primary); color: var(--on-primary); border-color: var(--primary); box-shadow: var(--shadow-glow); }
.slot.disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

/* ---- Toast ---- */
.toast-stack {
  position: fixed; top: 16px; right: 16px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px; max-width: 90vw;
}
.toast {
  min-width: 260px; max-width: 380px;
  background: var(--surface-bright); color: var(--on-surface);
  border: 1px solid var(--outline-variant);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 14px 18px; font-size: 14px;
  box-shadow: var(--shadow-lg);
  animation: toastIn var(--duration-normal) var(--ease-decelerate);
}
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
@keyframes toastIn { from { transform: translateX(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---- Spinner ---- */
.spinner {
  width: 18px; height: 18px;
  border: 2px solid color-mix(in srgb, currentColor 25%, transparent);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block; vertical-align: -3px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Modal ---- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex; align-items: center; justify-content: center;
  z-index: 90; padding: 16px;
  backdrop-filter: blur(4px);
  animation: fadeIn var(--duration-fast) var(--ease-standard);
}
.modal {
  background: var(--surface-bright);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-xl);
  width: 100%; max-width: 520px; max-height: 90vh; overflow: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn var(--duration-normal) var(--ease-decelerate);
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--outline-variant);
}
.modal-body { padding: 20px; }
.modal-actions {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 0 20px 20px;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
  .modal { max-height: 96vh; border-radius: var(--radius-lg); margin: 8px; }
  .modal-actions { flex-direction: column-reverse; gap: 8px; }
  .modal-actions .btn { width: 100%; margin: 0; }
  .toast-stack { top: 8px; right: 8px; left: 8px; max-width: none; }
  .toast { min-width: 0; max-width: none; }
}

/* ---- Step Indicator ---- */
.steps {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 24px; padding: 0 4px;
}
.step-item {
  display: flex; align-items: center; gap: 0;
  flex: 1;
}
.step-circle {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  border: 2px solid var(--outline);
  color: var(--on-surface-variant);
  background: var(--surface-container);
  transition: all var(--duration-normal) var(--ease-standard);
  flex-shrink: 0;
}
.step-circle.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
  animation: stepPulse 2s ease-in-out infinite;
}
.step-circle.completed {
  border-color: var(--success);
  background: var(--success);
  color: #fff;
}
.step-line {
  flex: 1; height: 3px;
  background: var(--outline-variant);
  border-radius: 2px;
  margin: 0 8px;
  position: relative;
  overflow: hidden;
}
.step-line-fill {
  position: absolute; top: 0; left: 0;
  height: 100%; width: 0;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--duration-slow) var(--ease-standard);
}
.step-line-fill.filled { width: 100%; }
.step-label {
  font-size: 11px; font-weight: 600;
  color: var(--on-surface-variant);
  margin-top: 6px; text-align: center;
  letter-spacing: 0.02em;
}
.step-label.active { color: var(--primary); }
.step-label.completed { color: var(--success); }
@keyframes stepPulse { 0%, 100% { box-shadow: 0 0 0 4px var(--primary-glow); } 50% { box-shadow: 0 0 0 8px var(--primary-glow); } }

/* ---- Step Content Animation ---- */
.step-content {
  animation: stepContentIn var(--duration-normal) var(--ease-decelerate);
}
@keyframes stepContentIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---- Animated Service Icons (Breathing) ---- */
.svc-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  animation: breathe 3.5s ease-in-out infinite;
  flex-shrink: 0;
}
.svc-icon svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; stroke-width: 1.5; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

.card-selected .svc-icon {
  background: var(--primary);
  animation: none;
}
.card-selected .svc-icon svg { stroke: var(--on-primary); }

/* ---- Navigation (Admin Sidebar) ---- */
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius);
  color: var(--on-surface-variant); font-weight: 500; font-size: 14px;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-standard);
}
.nav-item:hover { background: var(--surface-container-high); color: var(--on-surface); }
.nav-item.active { background: var(--primary-50); color: var(--primary); font-weight: 600; }

/* ---- Admin Drawer (Mobile) ---- */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-standard);
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 81;
  width: 280px; max-width: 80vw;
  background: var(--surface-bright);
  border-right: 1px solid var(--outline-variant);
  transform: translateX(-100%);
  transition: transform var(--duration-normal) var(--ease-decelerate);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }

/* ---- Horizontal Scroll (Staff Schedule) ---- */
.h-scroll {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll-item {
  scroll-snap-align: start;
  flex-shrink: 0;
  min-width: 120px;
}

/* ---- Skeleton Loading ---- */
.skel {
  background: linear-gradient(90deg, var(--surface-container), var(--surface-container-high), var(--surface-container));
  background-size: 200% 100%;
  animation: shine 1.4s linear infinite;
  border-radius: var(--radius);
}
@keyframes shine { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---- Empty State ---- */
.empty { text-align: center; padding: 48px 20px; color: var(--on-surface-variant); }
.empty .empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.empty .empty-text { font-size: 15px; }

/* ---- Table ---- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 500px; }
.table-wrap th { font-size: 12px; font-weight: 600; color: var(--on-surface-variant); text-transform: uppercase; letter-spacing: 0.04em; }
.table-wrap th, .table-wrap td { padding: 12px; text-align: left; border-bottom: 1px solid var(--outline-variant); }
.table-wrap tbody tr:hover { background: var(--surface-container); }

/* ---- Page Transition ---- */
.page-enter { animation: pageIn var(--duration-normal) var(--ease-decelerate); }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- Compact Density (Staff/Admin) ---- */
.density-compact .card-pad { padding: 16px; }
.density-compact .field { margin-bottom: 12px; }
.density-compact .stat { padding: 12px 16px; }
.density-compact .stat .stat-val { font-size: 20px; }
.density-compact .btn { min-height: 38px; padding: 8px 16px; }
.density-compact .input, .density-compact .select { min-height: 40px; padding: 8px 12px; font-size: 14px; }

/* ---- Button Base ---- */
.btn-primary { background: var(--primary); color: var(--on-primary); border: none; }

/* ---- Responsive ---- */
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
  .card-pad { padding: 16px; }
  .card-pad-lg { padding: 20px; }
  .stat .stat-val { font-size: 20px; }
  .steps { margin-bottom: 16px; }
  .step-circle { width: 32px; height: 32px; font-size: 12px; }
  .step-label { font-size: 10px; }
}
@media (min-width: 768px) {
  .hide-desktop { display: none !important; }
}
@media (max-width: 1023px) {
  .hide-tablet-down { display: none !important; }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--outline); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--on-surface-variant); }

/* ---- Selection ---- */
::selection { background: var(--primary-glow); color: var(--on-surface); }

/* ---- Focus Visible ---- */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: var(--radius-sm); }

/* ---- Action Dropdown Menu ---- */
.action-trigger {
  position: relative;
  display: inline-flex;
}
.action-menu {
  position: absolute; right: 0; top: calc(100% + 4px);
  background: var(--surface-bright);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 4px;
  min-width: 160px;
  z-index: 50;
  animation: modalIn 150ms var(--ease-decelerate);
}
.action-menu button {
  display: flex; align-items: center; gap: 8px;
  width: 100%; text-align: left;
  padding: 9px 12px; font-size: 13px; font-weight: 500;
  border-radius: var(--radius-sm);
  border: none; background: none; cursor: pointer;
  color: var(--on-surface);
  font-family: var(--font-family);
  transition: background var(--duration-fast);
}
.action-menu button:hover { background: var(--surface-container); }
.action-menu button.danger { color: var(--danger); }
.action-menu button.danger:hover { background: var(--danger-bg); }
.action-menu-divider {
  height: 1px; background: var(--outline-variant);
  margin: 4px 0;
}
/* ---- Date Input Full Click Area ---- */
input[type="date"],
input[type="time"] {
  cursor: pointer;
  position: relative;
}
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* ---- Utility Classes ---- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start !important; }
.justify-between { justify-content: space-between !important; }
.justify-center { justify-content: center !important; }

/* ---- Form Feedback ---- */
.input-error {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 2px var(--danger-bg) !important;
}

.w-full { width: 100%; }
.max-w-md { max-width: 448px; }

.gap-xs { gap: 4px; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }

.text-center { text-align: center; }
.text-left { text-align: left; }