/* Toast notifications: white rounded cards with a coloured icon badge, title, accent edge and countdown bar (Notyf, loaded after /lib/notyf/notyf.min.css). */
.notyf { z-index: var(--z-dropdown, 1000); font-family: var(--font-sans, inherit); padding: 1rem; }
.notyf__toast.toast-card {
  --tone: var(--navy-700); --tone-bg: var(--info-bg); --life: 5s;
  position: relative; overflow: hidden; max-width: min(27rem, calc(100vw - 2rem));
  background: var(--tone-bg) !important; color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--tone) 28%, transparent); border-left: 5px solid var(--tone); border-radius: 1rem;
  box-shadow: 0 12px 32px rgba(11, 31, 63, .18), 0 2px 6px rgba(11, 31, 63, .08);
  animation: toast-in .28s cubic-bezier(.2, .8, .3, 1.1) both;
}
.notyf__toast.toast-success { --tone: var(--success); --tone-bg: var(--success-bg); --life: 4.5s; }
.notyf__toast.toast-error { --tone: var(--danger);  --tone-bg: var(--danger-bg);  --life: 8s; }
.notyf__toast.toast-warning { --tone: var(--warning-bar); --tone-bg: var(--warning-bg); --life: 7s; }
.notyf__toast.toast-info { --tone: var(--navy-700); --tone-bg: var(--info-bg); --life: 5s; }
.notyf__toast.toast-card .notyf__wrapper { padding: .95rem 2.4rem .95rem 1rem; align-items: center; }
.notyf__toast.toast-card .notyf__icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; flex: none; margin-right: .85rem; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1px color-mix(in srgb, var(--tone) 25%, transparent); }
.notyf__toast.toast-card .notyf__icon i { font-size: 1.15rem; line-height: 1; color: var(--tone) !important; text-shadow: 0 0 .5px var(--tone); }
.notyf__toast.toast-card .notyf__message { display: flex; flex-direction: column; gap: .1rem; padding: 0; color: var(--ink); line-height: 1.4; overflow-wrap: anywhere; }
.toast-title { font-size: var(--fs-sm, .9rem); font-weight: 700; color: var(--navy-900); }
.toast-text { font-size: var(--fs-sm, .875rem); font-weight: 400; color: var(--ink-2); }
.notyf__toast.toast-card .notyf__dismiss { right: .6rem; top: 50%; transform: translateY(-50%); height: auto; width: auto; }
.notyf__toast.toast-card .notyf__dismiss-btn { position: static; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: rgba(255,255,255,.75); opacity: 1; transition: background .15s; }
.notyf__toast.toast-card .notyf__dismiss-btn:hover { background: var(--white); }
.notyf__toast.toast-card .notyf__dismiss-btn::before, .notyf__toast.toast-card .notyf__dismiss-btn::after { background: var(--navy-700); height: 55%; top: 22%; }
.notyf__toast.toast-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--tone); opacity: .55; transform-origin: left; animation: toast-life var(--life) linear forwards; }
.notyf__toast.toast-card:hover::after { animation-play-state: paused; }
@keyframes toast-in { from { opacity: 0; transform: translateX(1.5rem) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toast-life { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (max-width: 575.98px) { .notyf { left: 0; right: 0; } .notyf__toast.toast-card { max-width: none; width: 100%; } }
@media (prefers-reduced-motion: reduce) { .notyf__toast.toast-card, .notyf__toast.toast-card::after { animation: none !important; } }
