/* Shared theme for server-generated and JavaScript SweetAlert2 dialogs. */
body .swal2-container { z-index: 200000; font-family: 'Segoe UI', Arial, sans-serif; }
body .swal2-popup { background: #fffdf7 !important; color: #655141; border: 1px solid #d8b567; border-radius: 16px !important; box-shadow: 0 24px 80px #34080e40; padding: 28px 24px; }
body .swal2-popup:not(.swal2-toast) { width: 32em; max-width: calc(100vw - 32px); }
body .swal2-title { color: #710e16 !important; font: 600 26px/1.3 'Segoe UI', Arial, sans-serif; padding-top: 12px; }
body .swal2-html-container, body .swal2-content { color: #8a725d !important; font-size: 14px; line-height: 1.7; }
body .swal2-actions { gap: 10px; margin-top: 24px; }
body .swal2-actions button.swal2-styled { min-width: 100px; margin: 0; padding: 12px 22px; border-radius: 8px; font: 600 13px/1.4 'Segoe UI', Arial, sans-serif; transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, box-shadow 0.5s ease-in-out; }
body .swal2-actions button.swal2-confirm { background: #710e16 !important; color: #fff0c8 !important; border: 1px solid #710e16 !important; box-shadow: 0 4px 12px #710e161a; }
body .swal2-actions button.swal2-confirm:hover { background: #edc565 !important; color: #710e16 !important; border-color: #d6a338 !important; }
body .swal2-actions button.swal2-cancel { background: #f1e8d8 !important; color: #7d654d !important; border: 1px solid #ddc8a5 !important; }
body .swal2-actions button.swal2-cancel:hover { background: #e5d4b7 !important; color: #573a27 !important; }
body .swal2-actions button.swal2-deny { background: #a12838 !important; color: #fff5e7 !important; border: 1px solid #a12838 !important; }
body .swal2-actions button.swal2-styled:focus, body .swal2-close:focus-visible { outline: 2px solid #d6a338 !important; outline-offset: 3px; box-shadow: 0 0 0 4px #edc56544 !important; }
body .swal2-close { color: #947756 !important; transition: color 0.5s ease-in-out; }
body .swal2-close:hover { color: #710e16 !important; }
body .swal2-footer { border-color: #eadcc4; color: #9c825f; font-size: 12px; }
body .swal2-footer a { color: #710e16; }
body .swal2-input, body .swal2-textarea, body .swal2-select { background: #fffaf0; border: 1px solid #deceb7; border-radius: 8px; color: #654d39; }
body .swal2-input:focus, body .swal2-textarea:focus, body .swal2-select:focus { border-color: #710e16; box-shadow: 0 0 0 3px #edc56544; }
body .swal2-icon.swal2-warning { border-color: #d6a338; color: #b08731; }
body .swal2-icon.swal2-info, body .swal2-icon.swal2-question { border-color: #d4b56e; color: #947129; }
body .swal2-icon.swal2-success .swal2-success-circular-line-left,
body .swal2-icon.swal2-success .swal2-success-circular-line-right,
body .swal2-icon.swal2-success .swal2-success-fix { background-color: #fffdf7 !important; }
body .swal2-popup.swal2-toast { padding: 14px 18px; border-radius: 10px !important; }
body .swal2-popup.swal2-toast .swal2-title { font-size: 14px; padding-top: 0; }
body .swal2-timer-progress-bar { background: #d6a338; }
@media (prefers-reduced-motion: reduce) { body .swal2-actions button.swal2-styled, body .swal2-close { transition: none; } }
