/* Alerts Animations and Progress */
.toast-enter {
  animation: toastIn 240ms ease-out both;
}
.toast-exit {
  animation: toastOut 180ms ease-in both;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(-6px) scale(0.98); }
}

.toast-progress {
  animation: toastProgress var(--toast-duration, 4000ms) linear forwards;
  transform-origin: left;
}
@keyframes toastProgress {
  from { width: 100%; }
  to   { width: 0%; }
}
