/* notify.css - styling hooks for BTNotify (Toastify base CSS is loaded first). Same colours as the previous toasts. */
.toastify.bt-toast {
  z-index: 2000;                         /* above sticky header (1020) and Bootstrap modals (1055) */
  max-width: min(420px, calc(100vw - 24px));
  padding: 0.75rem 2rem 0.75rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.2);
  font-size: 0.95rem;
  line-height: 1.45;
  overflow-wrap: anywhere;               /* long Bangla words / URLs must wrap */
  cursor: pointer;
}
.toastify.bt-toast .toast-close { opacity: 0.85; padding: 0 0 0 0.75rem; }
.bt-toast__title { display: block; margin-bottom: 0.25rem; }
.bt-toast__list { margin: 0; padding-left: 1.1rem; }

@media (max-width: 575.98px) {            /* phones: full-width toasts */
  .toastify.bt-toast { left: 12px !important; right: 12px !important; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .toastify.bt-toast { transition: none; } }

/* Fallback container (only used if the Toastify CDN is unreachable) */
.bt-toast-fallback { position: fixed; top: 12px; right: 12px; z-index: 2000; display: flex; flex-direction: column; gap: 8px; max-width: min(420px, calc(100vw - 24px)); }
.bt-toast-fallback__item { position: relative; padding: 0.75rem 2rem 0.75rem 1rem; border-radius: 0.5rem; color: #fff; box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.2); overflow-wrap: anywhere; }
.bt-toast-fallback__item--success { background: #059669; }
.bt-toast-fallback__item--error { background: #dc2626; }
.bt-toast-fallback__item--warning { background: #d97706; }
.bt-toast-fallback__item--info { background: #2563eb; }
.bt-toast-fallback__close { position: absolute; top: 4px; right: 8px; background: none; border: 0; color: inherit; font-size: 1.25rem; line-height: 1; cursor: pointer; }
