/* ==========================================================================
   TOAST — the small pop-up message at the bottom after sending the form
   .is-visible → shown      .is-error → error style
   ========================================================================== */

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 800;
  display: flex; align-items: center; gap: 12px;
  max-width: min(92vw, 460px); padding: 14px 20px 14px 14px; border-radius: 16px;
  background: var(--navy); color: var(--cream);
  box-shadow: 0 24px 50px -16px color-mix(in srgb, var(--navy-dark) 80%, transparent);
  border: 1px solid color-mix(in srgb, var(--cream) 12%, transparent);
  transform: translate(-50%, 140%); opacity: 0; pointer-events: none;
  transition: transform .6s var(--ease), opacity .4s var(--ease);
}
[dir="rtl"] .toast { padding: 14px 14px 14px 20px; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast__icon { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--orange); }
.toast__icon svg { width: 18px; height: 18px; fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.toast__text { font-size: .92rem; font-weight: 600; line-height: 1.45; }
.toast.is-error .toast__icon { background: var(--cream); }
.toast.is-error .toast__icon svg { stroke: var(--error-color); }
