/* اعلان‌های لحظه‌ای (nb-notify.js) — مشترک بین سایت و پنل‌ها */
#nb-toasts { position: fixed; top: 16px; left: 16px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; width: min(360px, calc(100vw - 32px)); pointer-events: none; }
.nb-toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #fff; color: #1f2933; text-decoration: none;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .18); border-inline-start: 4px solid var(--nb-primary); opacity: 0; transform: translateY(-10px); transition: opacity .3s, transform .3s; font-family: inherit; }
.nb-toast.show { opacity: 1; transform: none; }
.nb-toast:hover { color: #1f2933; text-decoration: none; }
.nb-toast-important { border-inline-start-color: #e5484d; animation: nb-toast-pulse 1.4s ease-in-out 3; }
.nb-toast-icon { font-size: 20px; line-height: 1.2; }
.nb-toast-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.nb-toast-text strong { font-size: 14px; }
.nb-toast-text small { font-size: 12.5px; color: #52606d; line-height: 1.7; }
.nb-toast-close { border: 0; background: transparent; font-size: 20px; line-height: 1; color: #9aa5b1; cursor: pointer; padding: 0 2px; }
@keyframes nb-toast-pulse { 50% { box-shadow: 0 10px 30px rgba(229, 72, 77, .45); } }

#nb-push-banner { position: fixed; bottom: 16px; right: 16px; left: 16px; margin: 0 auto; max-width: 560px; z-index: 1990; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px; background: #0f172a; color: #fff; box-shadow: 0 12px 30px rgba(15, 23, 42, .3); font-family: inherit; }
.nb-push-banner-icon { font-size: 22px; }
.nb-push-banner-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nb-push-banner-text strong { font-size: 14px; }
.nb-push-banner-text small { font-size: 12px; opacity: .8; }
.nb-push-banner-ok { border: 0; border-radius: 10px; padding: 8px 14px; background: var(--nb-primary); color: #fff; cursor: pointer; font-family: inherit; white-space: nowrap; }
.nb-push-banner-close { border: 0; background: transparent; color: #fff; opacity: .7; font-size: 22px; cursor: pointer; }
/* روی موبایل نوار چسبان «افزودن به سبد» پایین صفحه است */
@media (max-width: 640px) { #nb-push-banner { bottom: 84px; } #nb-toasts { top: 10px; left: 10px; right: 10px; width: auto; } }

[data-theme="dark"] .nb-toast, .dark-style .nb-toast { background: #2f3349; color: #e1e4ee; }
[data-theme="dark"] .nb-toast-text small, .dark-style .nb-toast-text small { color: #b6bee3; }
