/* Shared SweetAlert confirmations across the panels, POS and storefront. */
body .swal2-container { --nc-dialog-surface:#fff; --nc-dialog-ink:#263248; --nc-dialog-muted:#778197; --nc-dialog-line:#e4e9f1; --nc-dialog-accent:#5146d9; z-index:11000; }
body .swal2-container.swal2-backdrop-show { background:rgba(15,23,42,.48); }
body .swal2-container .swal2-popup:not(.swal2-toast) {
    width:430px; max-width:calc(100vw - 32px); padding:28px;
    border:1px solid var(--nc-dialog-line); border-radius:18px;
    background:var(--nc-dialog-surface) !important; color:var(--nc-dialog-ink) !important;
    box-shadow:0 24px 72px rgba(15,23,42,.2);
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body .swal2-popup:not(.swal2-toast) .swal2-title {
    padding:0; margin:16px 0 0; font-size:22px; line-height:1.35; font-weight:650;
    color:var(--nc-dialog-ink) !important; background:transparent !important; overflow-wrap:anywhere;
}
body .swal2-popup:not(.swal2-toast) :is(.swal2-html-container,.swal2-content) { margin:12px 0 0; padding:0; font-size:14px; line-height:1.65; color:var(--nc-dialog-muted); overflow-wrap:anywhere; }
body .swal2-popup:not(.swal2-toast) .swal2-icon { margin:0 auto; width:60px; height:60px; box-sizing:content-box; border-width:2px; }
body .swal2-popup:not(.swal2-toast) .swal2-icon-content { display:flex !important; align-items:center; justify-content:center; font-size:38px; font-weight:400; }
body .swal2-popup:not(.swal2-toast) .swal2-warning { border-color:#f4d9aa; background:#fff8eb; color:#b77718; }
body .swal2-popup:not(.swal2-toast) :is(.swal2-info,.swal2-question) { border-color:#d9d4fb; background:#f1efff; color:#6e5dd8; }
body .swal2-popup:not(.swal2-toast) .swal2-error { border-color:#f3ccd4; color:#c64a61; }
body .swal2-popup:not(.swal2-toast) .swal2-success { color:#24815c; border-color:#d4eade; }
body .swal2-popup:not(.swal2-toast) .swal2-actions { width:100%; margin:24px 0 0; gap:10px; flex-wrap:wrap; }
body .swal2-popup:not(.swal2-toast) .swal2-actions button {
    flex:1 1 120px; min-height:44px; margin:0; padding:11px 18px;
    border-radius:10px; font-family:inherit; font-size:14px; font-weight:600;
    box-shadow:none !important; line-height:1.4; background-image:none !important;
}
body .swal2-popup:not(.swal2-toast) .swal2-confirm { background:var(--nc-dialog-accent) !important; border:1px solid var(--nc-dialog-accent) !important; color:white !important; }
body .swal2-popup:not(.swal2-toast) .swal2-cancel { background:var(--nc-dialog-surface) !important; border:1px solid var(--nc-dialog-line) !important; color:var(--nc-dialog-ink) !important; }
body .swal2-popup:not(.swal2-toast) .swal2-deny { background:#bd4258 !important; border:1px solid #bd4258 !important; color:white !important; }
body .swal2-popup:not(.swal2-toast) .swal2-actions button:hover { filter:brightness(.96); }
body .swal2-popup:not(.swal2-toast) .swal2-actions button:focus-visible { outline:3px solid #b9aff4; outline-offset:3px; }
body .swal2-popup:not(.swal2-toast) .swal2-actions button:disabled { opacity:.5; cursor:not-allowed; }
body .swal2-popup:not(.swal2-toast) .swal2-close { color:var(--nc-dialog-muted); border-radius:8px; margin:8px; width:32px; height:32px; font-size:26px; }
body .swal2-popup:not(.swal2-toast) :is(.swal2-input,.swal2-select,.swal2-textarea) { margin:18px 0 0; width:100%; border:1px solid var(--nc-dialog-line); border-radius:9px; background:var(--nc-dialog-surface); color:var(--nc-dialog-ink); box-shadow:none; }
body .swal2-popup:not(.swal2-toast) .swal2-validation-message { margin:16px 0 0; border-radius:8px; padding:10px; background:#fff1f3; color:#b63e55; font-size:13px; }
body .swal2-popup:not(.swal2-toast) .swal2-footer { border-color:var(--nc-dialog-line); color:var(--nc-dialog-muted); font-size:12px; }
.dark body .swal2-container { --nc-dialog-surface:#1d2638; --nc-dialog-ink:#e6ecf8; --nc-dialog-muted:#a8b5ca; --nc-dialog-line:#354158; --nc-dialog-accent:#7361df; }
.dark body .swal2-popup:not(.swal2-toast) .swal2-warning { background:#3e3528; border-color:#695637; color:#edc478; }
.dark body .swal2-popup:not(.swal2-toast) :is(.swal2-info,.swal2-question) { background:#322e50; border-color:#514777; color:#b2a5ff; }
@media(max-width:575.98px) { body .swal2-container .swal2-popup:not(.swal2-toast) { padding:24px 20px; } body .swal2-popup:not(.swal2-toast) .swal2-title { font-size:20px; } }
@media(prefers-reduced-motion:reduce) { body .swal2-popup,body .swal2-icon,body .swal2-icon * { animation:none !important; transition:none !important; } }
body .swal2-popup:not(.swal2-toast) .swal2-icon { font-size:12px; }
