/* ----------------------------------------------------------
   Sistema de diseño WPAS: variables comunes
   Lo cargan coordinador, conductor, almacén y páginas PHP antes de su CSS propio.
   Solo variables: las reglas viven en cada hoja de estilos.
   ---------------------------------------------------------- */
:root {
  /* Paleta */
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-muted: #f1f5f9;
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;
  --color-control-off: #64748b;
  --color-text: #0f172a;
  --color-text-muted: #556274;
  --color-primary: #0f766e;
  --color-primary-strong: #115e59;
  --color-primary-soft: #e8f4f2;
  --color-success-soft: #dcfce7;
  --color-success-text: #166534;
  --color-warning-soft: #fef3c7;
  --color-warning-text: #92400e;
  --color-danger: #b91c1c;
  --color-danger-soft: #fee2e2;
  --color-danger-text: #991b1b;
  --color-info-soft: #e0f2fe;
  --color-info-text: #0f3d72;
  --color-route: #2563eb;
  --color-brand: #003e7e;
  --focus-ring: #0f766e;

  /* Tipografía */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --text-xs: 0.8rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.35rem;
  --text-2xl: 1.75rem;
  --leading-tight: 1.2;
  --leading-normal: 1.5;

  /* Radios */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-pill: 999px;

  /* Espaciado (base 4 px) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;

  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 8px 20px rgba(15, 23, 42, 0.08);
}
