/*
 * SweetAlert2 theming - dark navy card with a cyan glow border, matching
 * the admin panel's tables/cards. Self-contained (no CSS variables) since
 * it's shared with the login page, which uses a different color scheme for
 * everything else on the page.
 */

.swal2-popup.rwm-swal-popup {
    background: #1E3A6B !important;
    color: #fff !important;
    border: 2px solid #2DD4EE;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35), 0 0 24px rgba(45,212,238,0.25);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
.swal2-popup.rwm-swal-popup .swal2-title,
.swal2-popup.rwm-swal-popup .swal2-html-container {
    color: #fff !important;
}
.swal2-popup.rwm-swal-popup .swal2-close { color: rgba(255,255,255,0.7); }
.swal2-popup.rwm-swal-popup .swal2-close:hover { color: #fff; }

/* Toasts get a slightly smaller, flatter treatment than full dialogs */
.swal2-popup.rwm-swal-popup.swal2-toast {
    border-width: 1px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3), 0 0 14px rgba(45,212,238,0.2);
}

/* The app's global reset zeroes out <button> margin, and its root
   font-size (10px, for a rem-based scale used elsewhere) makes SweetAlert2's
   own em-based button padding collapse - so padding/margin/font-size are
   all set here in fixed px, not left to inherit, to keep these buttons a
   comfortable size and properly spaced regardless of that surrounding scale. */
.rwm-swal-confirm,
.rwm-swal-cancel {
    padding: 13px 30px !important;
    margin: 0 6px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
}

.rwm-swal-confirm {
    background: #2563EB !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}
.rwm-swal-confirm:hover { background: #1D4ED8 !important; }
.rwm-swal-confirm:focus { box-shadow: 0 0 0 3px rgba(37,99,235,0.35) !important; }

.rwm-swal-cancel {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid #2DD4EE !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}
.rwm-swal-cancel:hover { background: rgba(45,212,238,0.12) !important; }

.swal2-icon.swal2-warning { border-color: #EF4444; color: #EF4444; }
.swal2-icon.swal2-error { border-color: #EF4444; color: #EF4444; }
.swal2-icon.swal2-success .swal2-success-ring { border-color: rgba(16,185,129,0.4); }
.swal2-icon.swal2-success [class^='swal2-success-line'] { background-color: #10B981; }
.swal2-icon.swal2-info { border-color: #2563EB; color: #2563EB; }
.swal2-timer-progress-bar { background: #2DD4EE !important; }
.swal2-loading .swal2-title { color: #fff !important; }
