/* toastr and SweetAlert2 dressed in the system's colours (light and dark). */
#toast-container { z-index: 2000; }
#toast-container > div { opacity: 1; width: 360px; max-width: calc(100vw - 24px); padding: 14px 16px 14px 52px; border-radius: 12px;
  box-shadow: 0 16px 36px -14px rgba(8, 20, 22, .45); background-position: 16px center; font-family: "Instrument Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: .92rem; line-height: 1.4; }
#toast-container > div:hover { box-shadow: 0 18px 40px -12px rgba(8, 20, 22, .55); }
#toast-container > .toast-success { background-color: #1F8A70; }
#toast-container > .toast-error { background-color: #B42318; }
#toast-container > .toast-info { background-color: #0F5B66; }
#toast-container > .toast-warning { background-color: #A96A12; }
#toast-container .toast-title { font-weight: 700; margin-bottom: 2px; }
#toast-container .toast-progress { background: rgba(255, 255, 255, .9); opacity: .35; height: 3px; }
#toast-container .toast-close-button { opacity: .75; text-shadow: none; font-weight: 400; right: -4px; top: -6px; }
#toast-container.toast-top-right, #toast-container.toast-top-left { top: 76px; }
#toast-container.toast-top-right { right: 16px; } #toast-container.toast-top-left { left: 16px; }
html[dir="rtl"] #toast-container > div { padding: 14px 52px 14px 16px; background-position: calc(100% - 16px) center; text-align: right; }
html[dir="rtl"] #toast-container .toast-close-button { right: auto; left: -4px; float: left; }
@media (max-width: 575.98px) { #toast-container > div { width: calc(100vw - 24px); } #toast-container.toast-top-right, #toast-container.toast-top-left { top: 64px; right: 12px; left: 12px; } }

.swal2-container { z-index: 2100; }
.pm-swal { border-radius: 18px !important; padding: 26px 24px 22px !important; font-family: "Instrument Sans", -apple-system, "Segoe UI", Roboto, sans-serif; background: #fff; color: #14232E; width: min(440px, 92vw) !important; }
.pm-swal .swal2-title { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.4rem; color: #14232E; padding-top: 4px; }
.pm-swal .swal2-html-container { color: #4B5D6B; font-size: .98rem; line-height: 1.5; margin-top: 8px; }
.pm-swal .swal2-icon { transform: scale(.82); margin: 6px auto 0; }
.pm-swal .swal2-icon.swal2-question { border-color: #9DC3E6; color: #0F5B66; }
.pm-swal .swal2-icon.swal2-warning { border-color: #F3C98B; color: #A96A12; }
.pm-swal-actions { gap: 10px; margin-top: 22px !important; width: 100%; }
.pm-swal-ok, .pm-swal-cancel { min-width: 130px; height: 44px; padding: 0 18px; border-radius: 10px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; }
.pm-swal-ok { background: #0F5B66; color: #fff; box-shadow: 0 8px 18px -10px rgba(15, 91, 102, .8); }
.pm-swal-ok:hover { background: #0B4651; }
.pm-swal-ok.is-danger { background: #B42318; box-shadow: 0 8px 18px -10px rgba(180, 35, 24, .8); }
.pm-swal-ok.is-danger:hover { background: #912018; }
.pm-swal-cancel { background: #fff; color: #14232E; border-color: #D5DEE3; }
.pm-swal-cancel:hover { background: #F4F7F8; }
.pm-swal-ok:focus-visible, .pm-swal-cancel:focus-visible { outline: 3px solid rgba(15, 91, 102, .35); outline-offset: 2px; }
html[data-theme="dark"] .pm-swal { background: #12232A; color: #E6EEF0; }
html[data-theme="dark"] .pm-swal .swal2-title { color: #E6EEF0; }
html[data-theme="dark"] .pm-swal .swal2-html-container { color: #A9BBC4; }
html[data-theme="dark"] .pm-swal-cancel { background: #18323A; color: #E6EEF0; border-color: #2A4650; }
html[data-theme="dark"] .pm-swal-ok { background: #1F7C88; }
html[data-theme="dark"] .swal2-container.swal2-backdrop-show { background: rgba(0, 0, 0, .55); }
