/* SweetAlert2 theme: matches the dark glass look of the site (loaded after sweetalert2.min.css) */
.swal2-container { z-index: 400; padding: 0.75rem; }
/* dim + blur the page only behind real dialogs; toasts must never touch the page */
body:not(.swal2-toast-shown) .swal2-container.swal2-backdrop-show, body:not(.swal2-toast-shown) .swal2-container.swal2-noanimation { background: rgba(2, 4, 12, 0.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
body.swal2-toast-shown .swal2-container, body.swal2-toast-shown .swal2-container.swal2-backdrop-show { background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; pointer-events: none; }
body.swal2-toast-shown .swal2-container .swal2-popup { pointer-events: auto; }
.swal-site.swal2-popup { width: min(26rem, calc(100vw - 1.5rem)); padding: 1.6rem 1.3rem 1.3rem; border: 1px solid var(--line, rgba(255, 255, 255, 0.14)); border-radius: 1.6rem; background: #0a0d18; color: var(--ink, #e8ecf7); font-family: inherit; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); }
.swal-site__title.swal2-title { padding: 0.4rem 0 0; color: inherit; font-size: 1.3rem; font-weight: 600; line-height: 1.35; }
.swal-site__text.swal2-html-container { margin: 0.6rem 0 0; padding: 0; color: var(--ink-dim, #aab3cf); font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; }
.swal-site__text ul { margin: 0; padding-left: 1.2rem; text-align: left; } .swal-site__text li + li { margin-top: 0.3rem; }
.swal-site__actions.swal2-actions { gap: 0.6rem; margin-top: 1.3rem; width: 100%; }
.swal-btn { flex: 1 1 0; min-height: 2.8rem; padding: 0.5rem 1.2rem; border: 1px solid var(--line, rgba(255, 255, 255, 0.18)); border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--ink, #e8ecf7); font: inherit; font-size: 1rem; font-weight: 500; cursor: pointer; transition: filter .15s, transform .15s, background .15s; }
.swal-btn:hover { background: rgba(255, 255, 255, 0.12); }
.swal-btn:active { transform: scale(0.97); }
.swal-btn:focus-visible { outline: 2px solid var(--accent, #4aa8ff); outline-offset: 2px; box-shadow: none; }
.swal-btn--primary { border-color: transparent; background: #fff; color: #0a0f24; font-weight: 600; }
.swal-btn--primary:hover { background: #fff; filter: brightness(0.94); }
.swal-btn--danger { border-color: transparent; background: #ff5d73; color: #fff; font-weight: 600; }
.swal-btn--danger:hover { background: #ff5d73; filter: brightness(1.08); }
.swal-btn--small { flex: none; min-height: 2rem; padding: 0.2rem 0.9rem; font-size: 0.9rem; }
/* icons: keep the library's geometry, restyle the colours for the dark surface */
.swal-site .swal2-icon { margin: 0.4rem auto 0.8rem; border-width: 0.2rem; }
.swal-site .swal2-icon.swal2-success { border-color: #2fd48a; color: #2fd48a; }
.swal-site .swal2-icon.swal2-success [class^='swal2-success-line'] { background-color: #2fd48a; }
.swal-site .swal2-icon.swal2-success .swal2-success-ring { border-color: rgba(47, 212, 138, 0.3); }
.swal-site .swal2-icon.swal2-success [class^='swal2-success-circular-line'], .swal-site .swal2-icon.swal2-success .swal2-success-fix { background: #0a0d18; }
.swal-site .swal2-icon.swal2-error { border-color: #ff7a8a; color: #ff7a8a; }
.swal-site .swal2-icon.swal2-error [class^='swal2-x-mark-line'] { background-color: #ff7a8a; }
.swal-site .swal2-icon.swal2-warning { border-color: #ffc94a; color: #ffc94a; }
.swal-site .swal2-icon.swal2-info, .swal-site .swal2-icon.swal2-question { border-color: var(--accent, #4aa8ff); color: var(--accent, #4aa8ff); }
.swal-site .swal2-timer-progress-bar { background: var(--accent, #4aa8ff); }
/* toasts */
.swal2-container.swal2-top, .swal2-container.swal2-top-end { padding-top: calc(0.75rem + env(safe-area-inset-top, 0px)); }
.swal-toast.swal2-popup.swal2-toast { width: auto; max-width: min(26rem, calc(100vw - 1.5rem)); padding: 0.7rem 0.9rem; border-radius: 1rem; align-items: center; }
.swal-toast .swal2-title { margin: 0 0.4rem; font-size: 0.97rem; font-weight: 500; text-align: left; }
.swal-toast .swal2-icon { margin: 0 0.3rem 0 0; width: 1.8rem; min-width: 1.8rem; height: 1.8rem; border-width: 0.15rem; }
.swal-toast .swal2-icon .swal2-icon-content { font-size: 1.2rem; }
.swal-close.swal2-close { color: var(--ink-dim, #aab3cf); font-size: 1.5rem; } .swal-close.swal2-close:hover { color: var(--ink, #fff); background: transparent; }
@media (prefers-reduced-motion: reduce) { .swal-site, .swal2-container { animation: none !important; transition: none !important; } }
