/* ---- toasts ---- */
.toast-contenedor {
  position: fixed;
  top: .75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  width: calc(100% - 1.5rem);
  max-width: 480px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1rem;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
  animation: toast-in .28s cubic-bezier(.34, 1.56, .64, 1) both, toast-out .25s ease var(--toast-espera, 2.6s) forwards;
}
.toast.ok { background: var(--verde-claro); }
.toast.error { background: var(--rojo); }
.toast.cerrando { animation: toast-out .25s ease forwards; }
.toast-texto { flex: 1; }
.toast-cerrar {
  flex-shrink: 0;
  border: none;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  border-radius: 50%;
  width: 1.4rem;
  height: 1.4rem;
  font-size: .7rem;
  line-height: 1;
  cursor: pointer;
}
