#toast-root {
  position: fixed;
  bottom: 1rem;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
  max-width: min(90vw, 28rem);
}

.toast {
  pointer-events: auto;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-family: "Zain", sans-serif;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  animation: toast-in 0.25s ease;
}

.toast--info {
  background: #1e3a5f;
  color: #fff;
}
.toast--success {
  background: #14532d;
  color: #fff;
}
.toast--error {
  background: #7f1d1d;
  color: #fff;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
