/* ==========================================================================
   Design Tokens — Sistema de Gestión de Transporte UNAB
   Extraído fielmente del prototipo Figma (8pt grid, Poppins + Serif)
   ========================================================================== */
:root {
  /* Superficies */
  --bg-canvas: #EEF4FA;
  --bg-surface: #FFFFFF;
  --bg-surface-hover: #F8FAFC;
  --bg-table-head: #EAEEF2;
  --bg-overlay: rgba(15, 23, 42, 0.45);

  /* Marca UNAB Transporte */
  --brand-primary: #006B99;
  --brand-primary-hover: #00567B;
  --brand-primary-active: #004462;
  --brand-soft: #E6F3F9;
  --brand-border: #006B99;

  /* Texto */
  --text-primary: #1E2328;
  --text-secondary: #5A6572;
  --text-muted: #626F7C;
  --text-inverse: #FFFFFF;

  /* Acentos de estado y gráficos */
  --accent-orange: #E86C3A;
  --accent-green: #16A36D;
  --accent-amber: #E89B1B;
  --accent-gray: #94A3B8;

  --status-urgent-bg: #1E2328;
  --status-urgent-text: #FFFFFF;
  --status-info-border: #006B99;
  --status-info-text: #006B99;
  --status-ok-bg: #E2E8F0;
  --status-ok-text: #334155;
  --status-danger: #DC2626;
  --status-danger-bg: #FEF2F2;
  --status-success: #15803D;
  --status-success-bg: #DCFCE7;

  /* Bordes */
  --border-subtle: #E2E8F0;
  --border-input: #CBD5E1;
  --border-divider: #E5E7EB;

  /* Tipografía */
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', 'Times New Roman', Georgia, serif;

  /* Espaciado (8pt grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;

  /* Radios */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Sombras sutiles (surface layering) */
  --shadow-card: 0 2px 10px rgba(15, 23, 42, 0.04);
  --shadow-modal: 0 20px 45px rgba(15, 23, 42, 0.16);
  --shadow-focus: 0 0 0 3px rgba(0, 107, 153, 0.22);

  /* Layout */
  --sidebar-width: 248px;
  --topbar-height: 72px;

  /* Transiciones */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
}

.hidden {
  display: none !important;
}
