/* ========================================
   DESIGN TOKENS (Variables Globales)
   Sistema de Gestión Bioingeniería
   ======================================== */

:root {
  /* --- PALETA INSTITUCIONAL (Hospitalaria) --- */
  --primary-color: #1e3a8a;       /* Azul Oscuro (Institucional) */
  --primary-hover: #1e40af;
  --primary-light: #3b82f6;       /* Azul Claro (Acciones) */
  --primary-bg: #eff6ff;          /* Fondos suaves */

  --secondary-color: #64748b;     /* Gris Azulado */
  --secondary-hover: #475569;

  /* --- ESTADOS SEMÁNTICOS --- */
  --success-color: #059669;       /* Verde Éxito */
  --success-bg: #d1fae5;
  
  --warning-color: #d97706;       /* Ambar Advertencia */
  --warning-bg: #fef3c7;
  
  --danger-color: #dc2626;        /* Rojo Error/Peligro */
  --danger-bg: #fee2e2;

  /* --- COLORES ESPECÍFICOS DE DOMINIO --- */
  /* Inventario */
  --stock-main: #3b82f6;          /* Depósito Principal */
  --stock-cash: #8b5cf6;          /* Caja Chica (Violeta) */
  --stock-total: #10b981;         /* Total Consolidado */
  
  /* Catálogo */
  --cat-bienes: #991b1b;          /* Rojo oscuro */
  --cat-servicios: #92400e;       /* Marrón/Dorado */
  --cat-insumos: #1e40af;         /* Azul */

  /* Kibbo / Equipos */
  --kibbo-brand: #8b5cf6;
  --kibbo-light: #f5f3ff;

  /* --- NEUTROS & SUPERFICIES --- */
  --bg-color: #f3f4f6;            /* Fondo General (Body) */
  --card-bg: #ffffff;             /* Fondo Tarjetas */
  --border-color: #e5e7eb;
  --text-main: #1f2937;           /* Texto Principal (Casi negro) */
  --text-secondary: #6b7280;      /* Texto Secundario (Gris) */
  --text-muted: #9ca3af;

  /* --- TIPOGRAFÍA --- */
  --font-inter: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Monaco', 'Consolas', monospace;

  /* --- ESPACIADO Y TAMAÑOS --- */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* --- SOMBRAS (Elevation) --- */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);

  /* --- TRANSICIONES --- */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
}
