@charset "UTF-8";
/* Estilos corporativos para el BaseLayout */
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fcfcfd;
  color: #2b2b2b;
}

.app-bar {
  background-color: #084e88;
  color: #fdcf33;
  padding: 15px 10px 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
  max-width: 200px;
}

.responsive-logo {
  width: 100%;
  height: auto;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}

.main-container {
  max-width: 1100px;
  margin: 20px auto;
}

@media (max-width: 600px) {
  .logo-container {
    max-width: 160px;
  }
  a {
    -webkit-tap-highlight-color: transparent; /* Elimina el destello en móviles (iOS/Android) */
    outline: none; /* Elimina el borde de enfoque predeterminado */
  }
  a:focus,
  a:active {
    outline: none; /* Evita que se marque al hacer clic o mantener presionado */
  }
  .main-container {
    padding: 0 10px;
  }
}
/* ==========================================================================
   SECCIÓN: SISTEMA DE NOTIFICACIONES RESPONSIVO PARA SMARTPHONES Y WEB
   ========================================================================== */
/* Alinea la campana y el menú en una sola línea limpia sin cortarse */
.actions-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.notif-badge-wrapper {
  position: relative;
  display: inline-block;
}

.boton-campana-trigger {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  position: relative;
  padding: 4px;
}

.badge-numero-rojo {
  position: absolute;
  top: -2px;
  right: -4px;
  background-color: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 9999px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Dropdown Adaptativo: Se amolda como tarjeta flotante premium */
.dropdown-notif-contenido {
  position: absolute;
  right: -50px;
  top: 40px;
  background-color: #ffffff;
  width: 320px;
  max-width: 90vw; /* En teléfonos no rompe el ancho de la pantalla */
  max-height: 400px;
  overflow-y: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.panel-notificaciones-header {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  background-color: #FDCF33; /* Tu azul corporativo */
}

.panel-notificaciones-header h3 {
  margin: 0;
  font-size: 14px;
  color: #084e88;
}

.notif-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f8fafc;
  gap: 8px;
}

.notif-nueva {
  background-color: #f0f7ff; /* Fondo sutil para las no leídas */
  border-left: 4px solid #fdcf33;
}

.notif-leida {
  background-color: #ffffff;
  opacity: 0.7;
}

.notif-titulo {
  font-weight: bold;
  font-size: 13px;
  color: #1f2937;
  display: block;
}

.notif-mensaje {
  margin: 4px 0 0 0;
  font-size: 12px;
  color: #4b5563;
}

.btn-check-leer {
  background-color: #f1f5f9;
  color: #084e88;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
}

.btn-check-leer:hover {
  background-color: #084e88;
  color: #ffffff;
}

.notif-vacia {
  padding: 20px;
  text-align: center;
  color: #6b7280;
  font-size: 13px;
}

/* ==========================================================================
   MÓDULO: BANDEJA DE ALERTAS ADMIN EVOLUCIONADA (MOBILE-FIRST)
   ========================================================================== */
.panel-notif-titulos-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 8px;
}

.btn-cerrar-notif-panel {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  padding: 4px 8px;
  transition: opacity 0.2s ease;
}

.btn-cerrar-notif-panel:hover {
  opacity: 0.7;
}

.btn-marcar-todas-leer {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-marcar-todas-leer:hover {
  background-color: #fdcf33; /* Tu amarillo corporativo */
  color: #084e88;
  border-color: #fdcf33;
}

.notif-titulo {
  font-weight: 700;
  font-size: 13px;
  color: #1f2937;
  display: flex;
  align-items: center;
}

.punto-activo {
  color: #ef4444;
  font-size: 18px;
  margin-right: 4px;
  line-height: 0;
}

.app-bar-help-trigger {
  background: none;
  border: none;
  color: #ffffff; /* Blanco idéntico al logo */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.app-bar-help-trigger:hover {
  background-color: rgba(255, 255, 255, 0.15); /* Efecto sutil al pasar el mouse */
}

.app-bar-help-trigger .material-icons {
  font-size: 24px;
}

/* ============================================================================
   ESTILOS: global_loading_overlay 
   ============================================================================ */
.global-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(8, 78, 136, 0.75); /* Azul Corporativo 0xFF084e88 transparente */
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* HTMX oculta esto por defecto, pero aseguramos que no bloquee clics estando invisible */
  pointer-events: none;
}

/* HTMX añade la clase .htmx-request automáticamente al procesar.
   Aquí activamos el bloqueo real de la pantalla. */
.global-loading-overlay.htmx-request {
  pointer-events: all;
}

.spinner-amarillo {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(253, 207, 51, 0.2); /* Rastro sutil del giro */
  border-top-color: #fdcf33; /* Spinner amarillo 0xFFfdcf33 */
  border-radius: 50%;
  animation: girar-spinner 1s linear infinite;
  margin-bottom: 20px;
}

.loading-texto {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0;
  text-align: center;
  text-decoration: none;
}

@keyframes girar-spinner {
  to {
    transform: rotate(360deg);
  }
}/*# sourceMappingURL=index.css.map */