.alert {
  padding: 5px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-block !important;
}

.alert-success {
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #badbcc;
}

.alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}


/*Esto sirve para alinear el texto Inscripcion y el boton descargar lista*/

.title-download {
  display: flex;
  gap: 10px;
  font-family: Lato;
  line-height: 40px;
  font-weight: normal;
  font-size: 38px;
  margin: 0.67em 0;
}

.title-download .btn {
  height: min-content;
  align-self: flex-end;
}

.statuses-links {
  border: 1px solid #ddd;
  padding: 10px;
  background-color: #f8f9fa;
  display: flex;
  text-align: center;
  justify-content: space-between;
  align-items: center;
}

.statuses-links a {
  color: #0073aa;
  text-decoration: none;
  flex: 1;
  padding: 5px;
  border-radius: 5px;
}
.statuses-links a:hover {
  background-color: #0073aa;
  color: #fff;
}
.statuses-links a.active-filter {
  background-color: #005177;
  color: #fff;
}

.main-status-btn {
  font-size: 16px;
  padding: 0.7em 2em;
  border: 3px solid #90caf9;
  border-radius: 6px;
  background: #fff;
  color: #4a5a6a;
  box-shadow: 0 1px 4px rgba(80, 120, 180, 0.04);
  cursor: pointer;
}

/* Botón activo */
.main-status-btn.active {
  background: #00AEE4;
  color: white;
  transform: translateY(-2px) scale(1.03);
}

/* Estado inactivo: hover sólo si NO está activo */
.main-status-btn:not(.active):hover {
  background: #f4f8fb;
  color: #1976d2;
  border-color: #b6d4fa;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(0, 124, 240, 0.16);
}

#productos-botones {
  display: flex;
  gap: 20px;
}

@media (max-width: 500px) {
  .main-status-btn {
    font-size: 1em;
    padding: 0.75em 1.2em;
  }
  #productos-botones {
    flex-direction: column;
    gap: 0.7em;
  }
}

.custom-tooltip {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2d3748;
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  width: 300px;
  text-align: left;
  z-index: 100;
}

.info-icon {
  position: relative;
  display: inline-block;
}

.info-icon:hover .custom-tooltip {
  display: block;
}