/* Toast de mensaje temporal (éxito, error, aviso) */
.mensaje-temporal-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 99999;
  max-width: 90%;
  width: 360px;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
  opacity: 0;
  transition: transform 0.32s ease-out, opacity 0.32s ease-out;
  pointer-events: none;
}

.mensaje-temporal-toast-texto {
  display: block;
  word-break: break-word;
}

.mensaje-temporal-toast-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mensaje-temporal-toast-oculto {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
}

/* Colores según clase Bootstrap que se pase */
.mensaje-temporal-toast.alert-danger {
  background: #c62828;
  color: #fff;
  border: none;
}

.mensaje-temporal-toast.alert-success {
  background: #2e7d32;
  color: #fff;
  border: none;
}

.mensaje-temporal-toast.alert-warning,
.mensaje-temporal-toast.alert-info {
  background: #f9a825;
  color: #1a1a1a;
  border: none;
}

.mensaje-temporal-toast.alert-info {
  background: #1565c0;
  color: #fff;
}

.mensaje-temporal-toast.alert-primary {
  background: #0d47a1;
  color: #fff;
  border: none;
}
