/* Custom Toastr overrides: center on screen + slightly larger (keep timing/behavior unchanged) */

#toast-container.toast-center-center {
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
}

#toast-container.toast-center-center > .toast {
  width: 92vw !important;
  max-width: 520px !important;
  box-sizing: border-box !important;
  padding: 16px 20px !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
}

#toast-container.toast-center-center > .toast .toast-message {
  font-size: 16px !important;
  line-height: 1.35 !important;
}

/* Keep toasts above the UI (including many modals) */
#toast-container {
  z-index: 999999 !important;
}

@media (max-width: 576px) {
  #toast-container.toast-center-center > .toast {
    width: 92vw !important;
    padding: 14px 16px !important;
    font-size: 15px !important;
  }

  #toast-container.toast-center-center > .toast .toast-message {
    font-size: 15px !important;
  }
}
