.nora-toasts{position:fixed;top:24px;left:50%;transform:translateX(-50%);z-index:100000;display:flex;flex-direction:column;gap:12px;width:min(460px,calc(100% - 32px));pointer-events:none;font-family:var(--nora-font-family,'Vazirmatn',sans-serif)}
.nora-toast{--toast-color:#5843e4;--toast-tint:#f0edff;position:relative;display:flex;align-items:flex-start;gap:12px;padding:18px 16px 22px;border:1px solid #e8e9f0;border-radius:18px;background:#fff;color:#334155;box-shadow:0 12px 40px #1e293b24;overflow:hidden;pointer-events:auto;animation:nora-toast-in .22s ease-out}
.nora-toast[data-type="error"]{--toast-color:#dc3545;--toast-tint:#fff0f1}
.nora-toast[data-type="success"]{--toast-color:#059669;--toast-tint:#ecfdf5}
.nora-toast[data-type="warning"]{--toast-color:#b77913;--toast-tint:#fffbeb}
.nora-toast__icon{display:flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;border-radius:10px;background:var(--toast-tint);color:var(--toast-color)}
.nora-toast__icon svg{width:20px;height:20px}
.nora-toast__message{flex:1;margin:3px 0 0;font-size:13px;line-height:1.9;overflow-wrap:anywhere;text-align:right}
.nora-toast__close{flex:none;display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:8px;background:transparent;color:#94a3b8;cursor:pointer}
.nora-toast__close:hover{background:#f1f5f9;color:#334155}
.nora-toast__close:focus-visible{outline:2px solid var(--toast-color);outline-offset:2px}
.nora-toast__close svg{width:16px;height:16px}
.nora-toast__progress{position:absolute;bottom:0;right:0;left:0;height:3px;background:var(--toast-color);transform-origin:right;animation:nora-toast-progress var(--toast-duration,3000ms) linear forwards}
.nora-toast.is-paused .nora-toast__progress{animation-play-state:paused}
.nora-toast.is-leaving{opacity:0;transform:translateY(-8px);transition:opacity .18s,transform .18s}
@keyframes nora-toast-in{from{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:translateY(0)}}
@keyframes nora-toast-progress{to{transform:scaleX(0)}}
@media(max-width:640px){.nora-toasts{top:max(12px,env(safe-area-inset-top))}.nora-toast{padding:14px 12px 18px;gap:10px;border-radius:14px}}
@media(prefers-reduced-motion:reduce){.nora-toast{animation:none}.nora-toast.is-leaving{transition:none}.nora-toast__progress{display:none}}
@media print{.nora-toasts{display:none}}
