/* alertas: estilos propios del artefacto. */

/* ---- Traído de compartidos/layaout/layaout.css (F5) ---- */
/* =========================================================
   DROPDOWN ALERTAS
   ========================================================= */
.alerta-dropdown {
  position: absolute;
  top: 56px;
  right: 20px;
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
  border: 1px solid #e8edf5;
  z-index: 99999;
  overflow: hidden;
}
.alerta-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px 10px;
  border-bottom: 1px solid #e8edf5;
}
.alerta-dropdown-titulo {
  font-size: var(--texto-etiqueta);
  font-weight: var(--peso-medio);
  color: #0B1F3A;
}
.alerta-dropdown-cerrar {
  background: none;
  border: none;
  font-size: 18px;
  color: #888;
  cursor: pointer;
  line-height: 1;
}
.alerta-dropdown-cerrar:hover { color: #0B1F3A; }
.alerta-lista {
  max-height: 340px;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.alerta-card {
  background: #f7f8fa;
  border: 1px solid #e8edf5;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: background 0.15s;
}
.alerta-card:hover {
  background: #eef1f7;
}
.alerta-card-texto {
  flex: 1;
  font-size: var(--texto-chico);
  font-weight: var(--peso-normal);
  color: #0B1F3A;
  line-height: 1.5;
}
.alerta-card-leida {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}
.alerta-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0B1F3A;
  transition: background 0.15s;
}
.alerta-card-leida:hover .alerta-dot {
  background: #e63946;
}
.alerta-loading,
.alerta-empty {
  font-size: var(--texto-chico);
  font-weight: var(--peso-normal);
  color: #888;
  text-align: center;
  padding: 16px 8px;
}
