/* Toast notifications (assets/js/toast.js), used by every form on the site, the admin area and the legacy pages.
   White card with a teal (success) or red (error) edge, so it stands out on the dark hero and on white sections. Position: top right, below the header (set by toast.js). */
/* top-right; toast.js moves it just below the header */
.app-toasts{position:fixed;top:16px;right:24px;z-index:2147483000;display:flex;flex-direction:column;gap:10px;width:min(360px,calc(100vw - 32px));pointer-events:none}
.app-toast{position:relative;box-sizing:border-box;font-family:Geist,"Hanken Grotesk",system-ui,-apple-system,"Segoe UI",sans-serif;text-align:left;overflow:hidden;display:flex;align-items:flex-start;gap:12px;padding:14px 12px 16px 16px;border-radius:14px;background:#fff;color:#14213D;border:1px solid #D7E4F0;border-left:4px solid #2EC4B6;box-shadow:0 18px 44px rgba(10,18,40,.35),0 2px 6px rgba(10,18,40,.12);pointer-events:auto;opacity:0;transform:translateX(24px);transition:opacity .25s ease,transform .25s ease}
.app-toast.is-in{opacity:1;transform:none}
.app-toast__ic{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#E6F8F6;color:#0E9F8E}
.app-toast--err{border-left-color:#E5484D}.app-toast--err .app-toast__ic{background:#FDECEC;color:#C62828}
.app-toast__ic svg{width:20px;height:20px}
.app-toast__tx{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0;line-height:1.45}
.app-toast__tx b{font-weight:600;font-size:.98rem}
.app-toast__tx small{font-size:.88rem;color:#4A5568}
.app-toast__x{flex:none;display:grid;place-items:center;width:28px;height:28px;margin:-4px 0 0;border:1px solid #D7E4F0;border-radius:8px;background:#F7FAFD;color:#14213D;cursor:pointer}
.app-toast__x:hover,.app-toast__x:focus-visible{background:#EEF5FB;border-color:#007CC2;outline:0}
.app-toast__x svg{width:14px;height:14px}
/* countdown bar */
.app-toast__bar{position:absolute;left:0;bottom:0;height:3px;width:100%;background:#2EC4B6;transform-origin:left;animation:app-toast-bar var(--t,3s) linear forwards}
.app-toast--err .app-toast__bar{background:#E5484D}
.app-toast:hover .app-toast__bar{animation-play-state:paused}
@keyframes app-toast-bar{to{transform:scaleX(0)}}
@media (max-width:600px){.app-toasts{right:16px;width:calc(100vw - 32px)}}
@media (prefers-reduced-motion:reduce){.app-toast{transition:none;transform:none}.app-toast__bar{animation:none;display:none}}
