/* ==========================================================================
   PALETA DE COLORIMETRÍA INSTITUCIONAL "EL SISTEMA"
   Gradiente Eléctrico: Azul Cyan Cobalto (#0072FF / #00A6FF) -> Verde Neón / Menta (#00E676 / #00F5A0)
   ========================================================================== */

:root {
  --primary-blue: #0070F3;
  --cyan-accent: #00C6FF;
  --neon-green: #00E676;
  --mint-accent: #00F5A0;
  
  --gradient-brand: linear-gradient(135deg, #0070F3 0%, #00C6FF 45%, #00E676 100%);
  --gradient-brand-subtle: linear-gradient(135deg, rgba(0, 112, 243, 0.08) 0%, rgba(0, 230, 118, 0.08) 100%);
  --gradient-navbar: linear-gradient(135deg, #091428 0%, #0F2347 60%, #082937 100%);
  --gradient-card-header: linear-gradient(90deg, rgba(0, 112, 243, 0.12) 0%, rgba(0, 230, 118, 0.12) 100%);
  --gradient-btn: linear-gradient(135deg, #0070F3 0%, #00B4D8 50%, #00E676 100%);
  --gradient-btn-hover: linear-gradient(135deg, #0056B3 0%, #0096C7 50%, #00C853 100%);

  --bg-page: #F0F4F8;
  --bg-card: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --border-glow: rgba(0, 230, 118, 0.35);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(0, 112, 243, 0.08), 0 4px 12px -2px rgba(0, 230, 118, 0.06);
  --shadow-lg: 0 16px 36px -6px rgba(0, 112, 243, 0.14), 0 8px 18px -4px rgba(0, 230, 118, 0.1);
  --shadow-glow: 0 0 20px rgba(0, 230, 118, 0.3);
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

html {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: clip !important;
  overflow-x: hidden !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: clip !important;
  overflow-x: hidden !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Forzar que todos los contenedores principales respeten el 100vw exacto */
#root, main, footer, .row {
  width: 100% !important;
  max-width: 100vw !important;
}

nav, .navbar, .navbar-custom-theme, .navbar .container-fluid, .dropdown, .nav-item.dropdown, .collapse.navbar-collapse {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

.d-flex, .navbar-brand, .row > * {
  min-width: 0 !important;
}

/* Control Estricto de Logos para evitar agrandamientos */
.navbar-brand img, .logo-box img {
  height: 36px !important;
  width: auto !important;
  max-height: 36px !important;
  max-width: 140px !important;
  object-fit: contain !important;
}
.card-body img, .custom-card img {
  height: 44px !important;
  width: auto !important;
  max-height: 44px !important;
  max-width: 160px !important;
  object-fit: contain !important;
}
footer img {
  height: 24px !important;
  width: auto !important;
  max-height: 24px !important;
  object-fit: contain !important;
}


/* CONTROL CRÍTICO DE OFFCANVAS / DRAWER MÓVIL:
   Evita que el menú oculto con translateX(100%) ensanche el canvas horizontal */
.offcanvas:not(.show) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: none !important;
}

.offcanvas.show {
  display: flex !important;
  visibility: visible !important;
  pointer-events: auto !important;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1055 !important;
  max-width: 85vw !important;
  width: 310px !important;
  transform: none !important;
}

@media (max-width: 768px) {
  .container-fluid {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .custom-card {
    border-radius: 16px !important;
  }
  .logo-box {
    padding: 3px 6px !important;
  }
  .logo-box img {
    height: 28px !important;
  }
  .brand-text-main {
    font-size: 0.82rem !important;
    letter-spacing: 0.2px !important;
    line-height: 1.15 !important;
  }
  .brand-text-sub {
    font-size: 0.55rem !important;
    line-height: 1 !important;
  }
  .navbar-toggler {
    padding: 4px 8px !important;
    font-size: 0.9rem !important;
  }
}




/* ==========================================================================
   MICRO-ANIMACIONES Y EFECTOS VISUALES
   ========================================================================== */

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

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(0, 230, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-fade-in {
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ==========================================================================
   NAVBAR CON IDENTIDAD VISUAL ARMONIOSA Y RESPONSIVA ("EL SISTEMA")
   ========================================================================== */

.navbar-custom-theme {
  background: linear-gradient(90deg, #00E676 0%, #00C6FF 60%, #0070F3 100%) !important;
  border-bottom: none !important;
  box-shadow: 0 4px 20px rgba(0, 112, 243, 0.15);
  backdrop-filter: blur(12px);
  z-index: 1030;
}

.brand-text-main {
  font-size: 1.12rem;
  line-height: 1.1;
  letter-spacing: 0.5px;
  color: #05182E !important;
  font-weight: 900;
}

.brand-text-sub {
  font-size: 0.65rem;
  letter-spacing: 0.7px;
  color: #092E56 !important;
  font-weight: 800;
}

.nav-btn-item {
  color: #061F38 !important;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nav-btn-item:hover {
  background: rgba(255, 255, 255, 0.85);
  color: #020D1A !important;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-btn-item.active {
  background: #091B33 !important;
  color: #00E676 !important;
  border-color: #091B33;
  box-shadow: 0 4px 12px rgba(9, 27, 51, 0.25);
}

/* Botón Descargar Excel en Navbar */
.btn-excel-top {
  background: #091B33 !important;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.84rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 0.48rem 0.85rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-excel-top:hover {
  background: #0F2D54 !important;
  color: #00E676 !important;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(9, 27, 51, 0.35);
}

/* Botón Admin en Navbar */
.btn-admin-top {
  background: #091B33 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 0.48rem 0.65rem;
  transition: all 0.2s ease;
}

.btn-admin-top:hover {
  background: #0F2D54 !important;
  transform: translateY(-1.5px);
}

/* Botón de Perfil de Usuario en Desktop */
.user-pill-btn {
  background: rgba(9, 27, 51, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 0.35rem 0.75rem !important;
  transition: all 0.2s ease;
}

.user-pill-btn:hover {
  background: #0F2D54 !important;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(9, 27, 51, 0.35);
}

.user-avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #00E676, #00C6FF);
  color: #091B33;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.user-pill-name {
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
}

.user-pill-role {
  color: #00E676;
  font-size: 0.65rem;
  font-weight: 600;
}

.user-dropdown-menu {
  min-width: 220px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
}

/* Mobile Offcanvas Drawer */
.mobile-drawer {
  max-width: 320px;
  background: #FFFFFF;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  background: #EDF2F7;
  color: var(--primary-blue);
  transform: translateX(3px);
}

.mobile-nav-link.active {
  background: linear-gradient(135deg, #09172E 0%, #102A54 100%);
  color: #00E676 !important;
  border-color: #09172E;
  box-shadow: 0 4px 12px rgba(9, 23, 46, 0.2);
}

.mobile-nav-link i {
  font-size: 1.15rem;
}

/* Animación de Título Institucional Brillante */
.brand-title-animated {
  font-weight: 900 !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: linear-gradient(120deg, #FFFFFF 0%, #00E676 30%, #00D4FF 60%, #FFFFFF 90%, #00E676 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineGlow 4s ease-in-out infinite;
  display: inline-block;
  filter: drop-shadow(0 2px 10px rgba(0, 230, 118, 0.45));
}

@keyframes shineGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.sound-equalizer {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.sound-equalizer .sound-bar {
  display: inline-block;
  width: 3.5px;
  border-radius: 3px;
  animation: soundWave 1.2s ease-in-out infinite alternate;
}

.sound-equalizer .sound-bar:nth-child(1) {
  background: #00E676;
  animation-duration: 0.8s;
  animation-delay: 0.1s;
}

.sound-equalizer .sound-bar:nth-child(2) {
  background: #00D4FF;
  animation-duration: 1.1s;
  animation-delay: 0.3s;
}

.sound-equalizer .sound-bar:nth-child(3) {
  background: #00E676;
  animation-duration: 0.9s;
  animation-delay: 0.2s;
}

@keyframes soundWave {
  0% { height: 4px; opacity: 0.6; }
  100% { height: 18px; opacity: 1; }
}

/* KPI Card Interactive Effect */
.stat-card-interactive {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.stat-card-interactive:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 112, 243, 0.16);
  border-color: rgba(0, 230, 118, 0.5);
}

.stat-card-interactive:active {
  transform: scale(0.98);
}



/* ==========================================================================
   ANIMACIONES ESPECTACULARES PARA EL LOGIN
   ========================================================================== */

.login-page-wrapper {
  position: relative;
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, #0F2347 0%, #060F1E 60%, #030810 100%);
}

/* Esferas de luz animadas en el fondo */
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  animation: floatAurora 14s infinite alternate ease-in-out;
}

.aurora-blob-1 {
  width: 450px;
  height: 450px;
  background: linear-gradient(135deg, #00E676, #00C6FF);
  top: -100px;
  left: 10%;
  animation-duration: 16s;
}

.aurora-blob-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #0070F3, #00E676);
  bottom: -120px;
  right: 10%;
  animation-duration: 20s;
  animation-delay: -5s;
}

.aurora-blob-3 {
  width: 300px;
  height: 300px;
  background: #00D4FF;
  top: 40%;
  right: 30%;
  animation-duration: 12s;
  animation-delay: -2s;
}

@keyframes floatAurora {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.15) rotate(25deg); }
  100% { transform: translate(-40px, -50px) scale(0.95) rotate(-20deg); }
}

/* Tarjeta Login Glassmorphism 3D */
.login-card-animated {
  background: rgba(13, 27, 49, 0.78) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 28px !important;
  border: 1px solid rgba(0, 230, 118, 0.25) !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7),
              0 0 35px rgba(0, 230, 118, 0.15),
              inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
  position: relative;
  overflow: hidden;
  animation: loginCardEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.login-card-animated:hover {
  border-color: rgba(0, 212, 255, 0.45) !important;
  box-shadow: 0 30px 70px -12px rgba(0, 0, 0, 0.8),
              0 0 45px rgba(0, 212, 255, 0.25),
              inset 0 1px 2px rgba(255, 255, 255, 0.25) !important;
}

@keyframes loginCardEntrance {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Línea de luz brillante en el borde superior */
.login-card-animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00E676, #00D4FF, transparent);
  animation: lightSweep 4s infinite linear;
}

@keyframes lightSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Ecualizador Musical Animado */
.sound-equalizer {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.sound-bar {
  width: 3px;
  background: linear-gradient(to top, #00E676, #00D4FF);
  border-radius: 3px;
  animation: equalizerBounce 1.2s infinite ease-in-out alternate;
}

.sound-bar:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.sound-bar:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.sound-bar:nth-child(3) { height: 18px; animation-delay: 0.15s; }
.sound-bar:nth-child(4) { height: 10px; animation-delay: 0.45s; }
.sound-bar:nth-child(5) { height: 16px; animation-delay: 0.2s; }
.sound-bar:nth-child(6) { height: 8px; animation-delay: 0.35s; }
.sound-bar:nth-child(7) { height: 12px; animation-delay: 0.05s; }

@keyframes equalizerBounce {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1.1); }
}

/* Inputs con interactividad neón */
.input-animated {
  background: rgba(15, 23, 42, 0.75) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
}

.input-animated:focus {
  background: rgba(15, 23, 42, 0.95) !important;
  border-color: #00E676 !important;
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.35) !important;
  color: #FFFFFF !important;
}

/* Botón con efecto de onda pulsante */
.btn-login-pulse {
  background: linear-gradient(90deg, #00E676 0%, #00D4FF 100%) !important;
  color: #061B33 !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
  border: none !important;
  border-radius: 14px !important;
  padding: 0.85rem !important;
  box-shadow: 0 8px 24px rgba(0, 230, 118, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
}

.btn-login-pulse:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 230, 118, 0.6), 0 0 20px rgba(0, 212, 255, 0.4);
  filter: brightness(1.08);
}

.btn-login-pulse:active {
  transform: translateY(1px);
}

/* ==========================================================================
   TARJETAS Y COMPONENTES MODERNOS
   ========================================================================== */

.custom-card {
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.custom-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 112, 243, 0.25);
}

.custom-card-header {
  background: var(--gradient-card-header);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 1.75rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.section-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 112, 243, 0.12) 0%, rgba(0, 230, 118, 0.15) 100%);
  color: #0070F3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-right: 0.85rem;
  border: 1px solid rgba(0, 230, 118, 0.25);
  box-shadow: 0 4px 10px rgba(0, 112, 243, 0.08);
}

/* ==========================================================================
   KPI & OUTPUT METRIC CARDS
   ========================================================================== */

.stat-card {
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: white;
  padding: 1.5rem 1.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 230, 118, 0.4);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--stat-gradient, var(--gradient-brand));
}

.stat-value {
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--stat-gradient, var(--gradient-brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.stat-icon-bg {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gradient-brand-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* ==========================================================================
   SWITCHES Y CONTROLES INTERACTIVOS (SELECCIÓN VISUAL)
   ========================================================================== */

.switch-box {
  background: #F8FAFC;
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 0.95rem 1.15rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.switch-box:hover {
  background: #FFFFFF;
  border-color: #94A3B8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.switch-box.active-switch {
  background: linear-gradient(135deg, rgba(0, 112, 243, 0.04) 0%, rgba(0, 230, 118, 0.08) 100%);
  border-color: var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.18);
}

.form-check-input {
  cursor: pointer;
  width: 2.6em;
  height: 1.35em;
  transition: all 0.25s ease;
}

.form-check-input:checked {
  background-color: #00E676;
  border-color: #00E676;
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.4);
}

.form-check-input:focus {
  border-color: var(--cyan-accent);
  box-shadow: 0 0 0 0.25rem rgba(0, 198, 255, 0.25);
}

.form-control, .form-select {
  border-radius: 12px;
  border: 1.5px solid var(--border-color);
  padding: 0.75rem 1rem;
  transition: all 0.25s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.25rem rgba(0, 112, 243, 0.15);
  background-color: #FFFFFF;
}

/* ==========================================================================
   BOTONES CON GRADIENTE DINÁMICO
   ========================================================================== */

.btn-brand-primary {
  background: var(--gradient-btn);
  background-size: 200% auto;
  color: white !important;
  border: none;
  font-weight: 700;
  padding: 0.8rem 1.75rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 112, 243, 0.3), 0 2px 6px rgba(0, 230, 118, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-brand-primary:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 112, 243, 0.4), 0 4px 10px rgba(0, 230, 118, 0.3);
}

.btn-brand-gradient {
  background: linear-gradient(135deg, #00E676 0%, #00C6FF 100%);
  color: #061B30 !important;
  font-weight: 700;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 230, 118, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-brand-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.5);
  filter: brightness(1.05);
}

/* ==========================================================================
   TABLAS Y FORMATO U ESTILIZADO
   ========================================================================== */

.table-formato-u {
  font-size: 0.88rem;
}

.table-formato-u thead th {
  background: #091B38;
  color: #FFFFFF;
  font-weight: 700;
  vertical-align: middle;
  border-color: #1E293B;
  letter-spacing: 0.3px;
}

.table-formato-u .sub-header th {
  background: #0E356A;
  color: #00F5A0;
  font-size: 0.78rem;
  font-weight: 600;
  border-color: #1E293B;
}

.table-formato-u tbody tr:nth-of-type(even) {
  background-color: #F8FAFC;
}

.table-formato-u tbody tr:hover {
  background-color: rgba(0, 112, 243, 0.05);
}

.table-formato-u .totales-row td {
  background: linear-gradient(90deg, #E6F7ED 0%, #E3F2FD 100%);
  font-weight: 800;
  color: #0F172A;
  border-top: 2px solid #0070F3;
  border-bottom: 3px double #00E676;
}

/* Footer */
footer {
  margin-top: auto;
  background-color: #061122;
  color: #94A3B8;
  border-top: 1px solid #132746;
  padding: 1.75rem 0;
  font-size: 0.85rem;
}
