/* ==========================================================
   AMAZON FLEX PLATFORM – Estilos personalizados
   ==========================================================
   Este archivo complementa Bootstrap 5 y añade identidad visual.
   Soporta modo claro/oscuro con data-bs-theme.
   ========================================================== */

/* ==========================================
   1. VARIABLES CSS (Custom Properties)
   ========================================== */
:root,
[data-bs-theme="light"] {
  /* Colores principales */
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --primary-light: #e8f0fe;
  --primary-gradient: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
  
  --secondary: #5f6368;
  --success: #34a853;
  --danger: #ea4335;
  --warning: #fbbc04;
  --info: #4285f4;
  
  /* Fondo y texto */
  --bg-body: #f0f2f5;
  --bg-white: #ffffff;
  --bg-sidebar: #1a1a2e;
  --bg-sidebar-hover: #2a2a4a;
  --bg-sidebar-active: rgba(26, 115, 232, 0.15);
  
  --text-dark: #202124;
  --text-muted: #5f6368;
  --text-light: #9aa0a6;
  --text-white: #ffffff;
  
  /* Bordes y sombras */
  --border-color: #dadce0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-sidebar: 2px 0 12px rgba(0, 0, 0, 0.15);
  
  /* Radios y transiciones */
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 20px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-sidebar: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-theme: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  
  /* Tipografía */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  /* Dimensiones del sidebar */
  --sidebar-width: 280px;
  --sidebar-collapsed: 0px;
  --header-height: 72px;
}

/* ==========================================
   2. MODO OSCURO (activado con data-bs-theme="dark")
   ========================================== */
[data-bs-theme="dark"] {
  --primary: #4285f4;
  --primary-dark: #2b6ed3;
  --primary-light: #1a2a4a;
  --primary-gradient: linear-gradient(135deg, #4285f4 0%, #0d47a1 100%);
  
  --bg-body: #121212;
  --bg-white: #1e1e1e;
  --bg-sidebar: #0d0d1a;
  --bg-sidebar-hover: #2a2a3e;
  --bg-sidebar-active: rgba(66, 133, 244, 0.2);
  
  --text-dark: #e8eaed;
  --text-muted: #9aa0a6;
  --text-light: #7a7f85;
  --text-white: #f1f3f4;
  
  --border-color: #3c4043;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-sidebar: 2px 0 12px rgba(0, 0, 0, 0.4);
}

/* Transición suave al cambiar de tema */
body,
header,
footer,
.card,
.login-card,
.sidebar,
.alert,
.table,
.form-control,
.btn,
.nav-link,
.input-group-text,
.dropdown-menu,
.sidebar-toggle {
  transition: var(--transition-theme);
}

/* ==========================================
   3. RESET Y BASE
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  background-color: var(--bg-body);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

/* ==========================================
   4. LAYOUT PRINCIPAL (con sidebar)
   ========================================== */
.wrapper {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* Contenido principal (a la derecha del sidebar) */
#content {
  flex: 1;
  margin-left: var(--sidebar-width);
  transition: var(--transition-sidebar);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-body);
}

/* Cuando el sidebar está colapsado en móvil */
#content.expanded {
  margin-left: 0;
}

/* ==========================================
   5. SIDEBAR
   ========================================== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  z-index: 1050;
  transition: var(--transition-sidebar), background-color 0.3s ease;
  box-shadow: var(--shadow-sidebar);
  overflow-y: auto;
  overflow-x: hidden;
}

/* Scroll personalizado para el sidebar */
.sidebar::-webkit-scrollbar {
  width: 4px;
}
.sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}
[data-bs-theme="dark"] .sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
}

/* Brand / Logo */
.sidebar-brand {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.sidebar-brand a {
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.25rem;
}
.sidebar-brand a span.text-primary {
  color: var(--primary) !important;
}
.sidebar-brand .sidebar-close {
  color: var(--text-light);
  font-size: 1.5rem;
  padding: 0;
  line-height: 1;
  border: none;
  background: none;
  transition: var(--transition);
}
.sidebar-brand .sidebar-close:hover {
  color: var(--text-white);
  transform: rotate(90deg);
}

/* Perfil de usuario en sidebar */
.sidebar-user {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.user-info .fw-semibold {
  color: var(--text-white);
  font-size: 0.95rem;
}
.user-info .text-muted {
  color: var(--text-light) !important;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Navegación del sidebar */
.sidebar-nav {
  flex: 1;
  padding: 16px 12px 20px;
  list-style: none;
  margin: 0;
}
.nav-item {
  margin-bottom: 2px;
}
.nav-link {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition), background-color 0.2s;
  gap: 12px;
  text-decoration: none;
  position: relative;
}
.nav-link:hover {
  background: var(--bg-sidebar-hover);
  color: var(--text-white);
}
.nav-link.active {
  background: var(--bg-sidebar-active);
  color: var(--primary);
}
.nav-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--primary);
  border-radius: 0 3px 3px 0;
}
.nav-link .nav-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}
.nav-link.text-danger {
  color: #ef5350 !important;
}
.nav-link.text-danger:hover {
  background: rgba(239, 83, 80, 0.15);
  color: #ef5350 !important;
}
[data-bs-theme="dark"] .nav-link.text-danger {
  color: #ff8a80 !important;
}
[data-bs-theme="dark"] .nav-link.text-danger:hover {
  background: rgba(255, 138, 128, 0.15);
}

/* Divisor del menú */
.nav-divider {
  padding: 12px 16px 6px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-light);
  font-weight: 600;
  opacity: 0.6;
  pointer-events: none;
}

/* Footer del sidebar */
.sidebar-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  font-size: 0.75rem;
  text-align: center;
  flex-shrink: 0;
}
.sidebar-footer .badge {
  font-size: 0.65rem;
  padding: 3px 8px;
}

/* Sidebar en móvil (oculto por defecto) */
@media (max-width: 991.98px) {
  .sidebar {
    transform: translateX(-100%);
    width: var(--sidebar-width);
  }
  .sidebar.active {
    transform: translateX(0);
  }
  #content {
    margin-left: 0;
  }
  /* Overlay cuando el sidebar está abierto */
  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
    backdrop-filter: blur(2px);
    transition: opacity 0.3s ease;
  }
  .sidebar-overlay.show {
    display: block;
  }
  [data-bs-theme="dark"] .sidebar-overlay {
    background: rgba(0, 0, 0, 0.7);
  }
}

/* ==========================================
   6. HEADER (barra superior)
   ========================================== */
header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1030;
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 24px;
  flex-shrink: 0;
  transition: var(--transition-theme);
}
header .container-fluid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  height: 100%;
}

/* ===== LOGO EN HEADER (efecto hover) ===== */
.logo-header:hover .text-primary {
  color: var(--primary-dark) !important;
  transition: var(--transition);
}
.logo-header .text-primary,
.logo-header .text-dark {
  transition: var(--transition);
}

/* ===== BOTÓN TOGGLE DEL SIDEBAR ===== */
.sidebar-toggle {
  padding: 6px 8px !important; /* Ajuste para alinear con sidebar-brand */
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-toggle:hover {
  background: var(--bg-body);
  color: var(--primary);
}

/* Ocultar el botón toggle en desktop (sidebar siempre visible) */
@media (min-width: 992px) {
  .sidebar-toggle {
    display: none;
  }
}

/* ===== SEPARADOR SUTIL ENTRE ELEMENTOS DEL HEADER ===== */
.header-separator {
  width: 1px;
  height: 28px;
  background: var(--border-color);
  margin: 0 4px;
  flex-shrink: 0;
}

/* ===== ESTILOS PARA LA BARRA DE BÚSQUEDA ===== */
header .input-group-text {
  background: transparent;
  border: 1px solid var(--border-color);
  border-right: none;
  color: var(--text-muted);
}
header .form-control {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  border-left: none;
}
header .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}
header .btn-outline-primary {
  border-color: var(--border-color);
}
header .btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Ajustes en modo oscuro para la búsqueda */
[data-bs-theme="dark"] header .input-group-text {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-muted);
}
[data-bs-theme="dark"] header .form-control {
  background: var(--bg-white);
  color: var(--text-dark);
  border-color: var(--border-color);
}
[data-bs-theme="dark"] header .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.25);
}
[data-bs-theme="dark"] header .btn-outline-primary {
  border-color: var(--border-color);
  color: var(--text-muted);
}
[data-bs-theme="dark"] header .btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ===== ESTILOS ADICIONALES PARA HEADER ===== */
/* Avatar pequeño en header */
.avatar-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.avatar-initials-sm {
  text-transform: uppercase;
}

/* Switch de tema (modo oscuro/claro) */
.theme-switch {
  cursor: pointer;
  width: 40px;
  height: 20px;
  background-color: var(--border-color);
  border: none;
  border-radius: 20px;
  transition: var(--transition-theme);
  position: relative;
  appearance: none;
  -webkit-appearance: none;
}
.theme-switch:checked {
  background-color: var(--primary);
}
.theme-switch:focus {
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.25);
}
.theme-switch::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.theme-switch:checked::before {
  transform: translateX(20px);
}
.theme-icon {
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.theme-switch:checked + .form-check-label .theme-icon {
  color: var(--primary);
}

/* Ajuste en móvil para el switch */
@media (max-width: 575.98px) {
  .theme-switch {
    width: 34px;
    height: 18px;
  }
  .theme-switch::before {
    width: 14px;
    height: 14px;
  }
  .theme-switch:checked::before {
    transform: translateX(16px);
  }
}
/* ===== FIN ESTILOS ADICIONALES HEADER ===== */

/* ==========================================
   7. USUARIO EN HEADER (estilos existentes)
   ========================================== */
.header-user {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-user .user-dropdown {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.header-user .user-dropdown:hover {
  background: var(--bg-body);
}
.header-user .user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}
.header-user .user-name {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.header-user .user-role {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

@media (max-width: 767.98px) {
  header {
    padding: 0 16px;
    height: 60px;
  }
  .header-user .user-name,
  .header-user .user-role {
    display: none;
  }
}

/* ==========================================
   8. FOOTER
   ========================================== */
footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
  margin-top: auto;
  flex-shrink: 0;
  transition: var(--transition-theme);
}
footer .container-fluid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 24px;
}
footer .copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}
footer .footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
footer .footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}
footer .footer-links a:hover {
  color: var(--primary);
}

/* ==========================================
   9. CARDS, FORMULARIOS, BOTONES
   ========================================== */
.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-theme);
}
.card:hover {
  box-shadow: var(--shadow-md);
}
.card-header {
  background: transparent;
  border-bottom: 1px solid var(--border-color);
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
}
.card-body {
  padding: 24px;
}
.card-footer {
  background: transparent;
  border-top: 1px solid var(--border-color);
  padding: 16px 24px;
}

/* Formularios */
.form-control,
.form-select {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: var(--transition-theme);
  font-size: 0.95rem;
  background: var(--bg-white);
  color: var(--text-dark);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}
[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.25);
}
.form-label {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 4px;
  font-size: 0.9rem;
}
.form-text {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Botones mejorados */
.btn {
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 0.95rem;
}
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}

/* ==========================================
   10. TABLAS
   ========================================== */
.table {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  color: var(--text-dark);
}
.table thead th {
  background: var(--bg-body);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border-color);
  padding: 12px 16px;
}
.table tbody td {
  padding: 12px 16px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-color);
}
.table tbody tr:hover {
  background: var(--primary-light);
}
.table-responsive {
  border-radius: var(--radius-sm);
  overflow-x: auto;
}

/* ==========================================
   11. LOGIN / REGISTER (páginas externas)
   ========================================== */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - var(--header-height) - 80px);
  padding: 40px 20px;
}
.login-card {
  max-width: 420px;
  width: 100%;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  border: none;
  transition: var(--transition-theme);
}
.login-header {
  text-align: center;
  margin-bottom: 32px;
}
.login-icon {
  font-size: 3rem;
  color: var(--primary);
  background: var(--primary-light);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: var(--transition-theme);
}
.login-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
}
.login-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.login-card .form-control {
  padding: 12px 16px;
}
.login-card .btn {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
}
.login-footer {
  text-align: center;
  margin-top: 24px;
  color: var(--text-muted);
}
.login-footer a {
  font-weight: 600;
}

/* ==========================================
   12. ALERTAS Y BADGES
   ========================================== */
.alert {
  border-radius: var(--radius-sm);
  border-left: 4px solid transparent;
  padding: 14px 20px;
  transition: var(--transition-theme);
}
.alert-success {
  background: #e6f4ea;
  border-color: var(--success);
  color: #1e7e34;
}
.alert-danger {
  background: #fce8e6;
  border-color: var(--danger);
  color: #c62828;
}
.alert-warning {
  background: #fef7e0;
  border-color: var(--warning);
  color: #b65c00;
}
.alert-info {
  background: #e3f2fd;
  border-color: var(--info);
  color: #0d47a1;
}
[data-bs-theme="dark"] .alert-success {
  background: #1a3a2a;
  color: #81c784;
}
[data-bs-theme="dark"] .alert-danger {
  background: #3a1a1a;
  color: #ef9a9a;
}
[data-bs-theme="dark"] .alert-warning {
  background: #3a2a0a;
  color: #ffd54f;
}
[data-bs-theme="dark"] .alert-info {
  background: #1a2a4a;
  color: #90caf9;
}

.badge {
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
}

/* ==========================================
   13. UTILIDADES PERSONALIZADAS
   ========================================== */
.text-primary {
  color: var(--primary) !important;
}
.bg-primary-light {
  background: var(--primary-light) !important;
}
.bg-sidebar-dark {
  background: var(--bg-sidebar) !important;
}
.shadow-hover {
  transition: var(--transition);
}
.shadow-hover:hover {
  box-shadow: var(--shadow-md);
}
.rounded-custom {
  border-radius: var(--radius);
}
.transition {
  transition: var(--transition);
}
.cursor-pointer {
  cursor: pointer;
}
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================
   14. ANIMACIONES
   ========================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  animation: fadeIn 0.3s ease-out;
}

@keyframes slideInLeft {
  from { transform: translateX(-20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.slide-in-left {
  animation: slideInLeft 0.3s ease-out;
}

/* ==========================================
   15. RESPONSIVE EXTRA (pequeños ajustes)
   ========================================== */
@media (max-width: 575.98px) {
  .login-card {
    padding: 28px 20px;
  }
  .sidebar {
    width: 100% !important;
  }
  footer .container-fluid {
    flex-direction: column;
    text-align: center;
  }
  footer .footer-links {
    justify-content: center;
  }
}

/* ==========================================
   ICONOS CIRCULARES EN CARDS
   ========================================== */
.icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bg-primary-light {
  background: var(--primary-light);
}
.bg-success-light {
  background: #e6f4ea;
}
.bg-warning-light {
  background: #fef7e0;
}
.bg-info-light {
  background: #e3f2fd;
}
[data-bs-theme="dark"] .bg-primary-light {
  background: #1a2a4a;
}
[data-bs-theme="dark"] .bg-success-light {
  background: #1a3a2a;
}
[data-bs-theme="dark"] .bg-warning-light {
  background: #3a2a0a;
}
[data-bs-theme="dark"] .bg-info-light {
  background: #1a2a4a;
}

/* ==========================================
   EFECTO HOVER EN TARJETAS
   ========================================== */
.hover-lift {
  transition: var(--transition);
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md) !important;
}

/* ==========================================
   BADGE DE GRADIENTE EN BIENVENIDA
   ========================================== */
.bg-gradient-primary {
  background: var(--primary-gradient) !important;
}