/*================================================================================
  PAGE: Flash toasts
  TEMPLATE: templates/includes/alerts.html
  FILE: core/static/css/components/alerts.css
  LOADED BY: included from base.html / login / register
  Edit THIS file (not collected /static/). Then collectstatic in production.
================================================================================*/

.site-toast-stack {
  position: fixed;
  top: 96px;
  right: 12px;
  left: 12px;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
  max-width: 420px;
  margin-left: auto;
}
@media (min-width: 576px) {
  .site-toast-stack {
    left: auto;
    width: min(420px, calc(100vw - 24px));
  }
}
.site-toast-stack .site-toast {
  pointer-events: auto;
  width: 100%;
  margin: 0;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.18);
  animation: siteToastIn 0.28s ease-out;
}
.site-toast__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-right: 4px;
}
.site-toast__text {
  flex: 1;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.4;
}
.site-toast.site-toast--hiding {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
@keyframes siteToastIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
