
:root {
  /* Tipografia */
  --font-family-base: 'Inter', 'Poppins', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-mono: 'Consolas', 'Monaco', 'Courier New', monospace;
  
  /* Colores primarios y principales  */
  --color-primary: #0056b3;
  --color-primary-dark: #084a96;
  --color-primary-light: #1a6fcc;
  --color-primary-hover: #0a4a9a;
  
  /* Colores secundarios  */
  --color-blue-50: #f0f7ff;
  --color-blue-100: #e6f3ff;
  --color-blue-200: #b3d7ff;
  --color-blue-300: #80bbff;
  --color-blue-500: #0056b3;
  --color-blue-700: #003d7a;
  --color-blue-900: #002366;
  
  /* Grises claros y neutros */
  --color-gray-50: #fafafa;
  --color-gray-100: #f8f9fa;
  --color-gray-200: #e9ecef;
  --color-gray-300: #dee2e6;
  --color-gray-400: #ced4da;
  --color-gray-500: #adb5bd;
  --color-gray-600: #6c757d;
  --color-gray-700: #495057;
  --color-gray-800: #343a40;
  --color-gray-900: #212529;
  
  /* Colores semánticos utilizados para los botones  */
  --color-success: #28a745;
  --color-success-dark: #218838;
  --color-success-light: #d4edda;
  
  --color-danger: #dc3545;
  --color-danger-dark: #c82333;
  --color-danger-light: #f8d7da;
  
  --color-warning: #ffc107;
  --color-warning-dark: #e0a800;
  --color-warning-light: #fff3cd;
  
  --color-info: #17a2b8;
  --color-info-dark: #138496;
  --color-info-light: #d1ecf1;
  
  /* Colores definidos para fondos */
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #002366;
  
  /* Colores de texto */
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --text-muted: #adb5bd;
  --text-white: #ffffff;
  --text-link: #0c58b3;
  
  /* Sombras */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.12);
  --shadow-primary: 0 4px 14px rgba(12, 88, 179, 0.2);
  --shadow-success: 0 4px 14px rgba(40, 167, 69, 0.2);
  --shadow-danger: 0 4px 14px rgba(220, 53, 69, 0.2);
  
  /* Bordes redondeados */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 50%;
  --radius-pill: 50px;
  
  /* Transiciones */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.35s ease;
  
  /* Escala de Z-Index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 1000;
  --z-modal: 1050;
  --z-popover: 1100;
  --z-tooltip: 1200;
}

/*Tipografia Globale*/
body {
  font-family: var(--font-family-base);
}

/* Animaciones de entrada, salida y hover */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scaleOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Clases de utilidad para animaciones */
.animate-fade-in { animation: fadeIn var(--transition-normal) forwards; }
.animate-fade-up { animation: fadeUp var(--transition-normal) forwards; }
.animate-fade-out { animation: fadeOut var(--transition-normal) forwards; }
.animate-slide-in-right { animation: slideInRight var(--transition-normal) forwards; }
.animate-slide-in-left { animation: slideInLeft var(--transition-normal) forwards; }
.animate-scale-in { animation: scaleIn var(--transition-fast) forwards; }
.animate-pulse { animation: pulse 0.6s ease-in-out; }
.animate-shake { animation: shake 0.5s ease-in-out; }
.animate-spin { animation: spin 1s linear infinite; }



.text-primary { color: var(--color-primary) !important; }
.text-success { color: var(--color-success) !important; }
.text-danger { color: var(--color-danger) !important; }
.text-warning { color: var(--color-warning-dark) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: var(--text-white) !important; }

.bg-primary { background-color: var(--color-primary) !important; }
.bg-success { background-color: var(--color-success) !important; }
.bg-danger { background-color: var(--color-danger) !important; }
.bg-warning { background-color: var(--color-warning) !important; }
.bg-light { background-color: var(--bg-light) !important; }
.bg-white { background-color: var(--bg-white) !important; }

.border-primary { border-color: var(--color-primary) !important; }
.border-success { border-color: var(--color-success) !important; }
.border-danger { border-color: var(--color-danger) !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-none { box-shadow: none !important; }

.transition-all { transition: all var(--transition-normal); }
.transition-fast { transition: all var(--transition-fast); }

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: var(--color-gray-100);
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--color-gray-400);
  border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray-500);
}
