div:where(.swal2-container) {
    font-family: "Roboto", sans-serif !important;
}
div:where(.swal2-popup) {
    border-radius: 20px !important;
    padding: 2em !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    transition:
        background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.4s ease !important;
}
div:where(.swal2-title) {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
}
div:where(.swal2-html-container) {
    color: #64748b !important;
    font-size: 0.95rem !important;
}
div:where(.swal2-actions) {
    gap: 12px !important;
}
.swal2-confirm,
.swal2-cancel,
.swal2-deny {
    border-radius: 50px !important;
    padding: 10px 28px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}
.swal2-confirm {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    border: none !important;
    color: #ffffff !important;
}
.swal2-confirm:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px -8px rgba(37, 99, 235, 0.5) !important;
    filter: brightness(1.1) !important;
}
.swal2-cancel {
    background: #f1f5f9 !important;
    color: #64748b !important;
}
.swal2-cancel:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    transform: translateY(-2px) !important;
}

/* Swal Dark Mode */
body.dark-mode div:where(.swal2-popup) {
    background-color: #111827 !important;
    border: 1px solid #1f2937 !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;
}
body.dark-mode div:where(.swal2-title) {
    color: #ffffff !important;
}
body.dark-mode div:where(.swal2-html-container) {
    color: #cbd5e1 !important;
}
body.dark-mode .swal2-cancel {
    background: #1f2937 !important;
    color: #94a3b8 !important;
}
body.dark-mode .swal2-cancel:hover {
    background: #374151 !important;
    color: #ffffff !important;
}
body.dark-mode div:where(.swal2-icon).swal2-success {
    border-color: rgba(16, 185, 129, 0.5) !important;
    color: #34d399 !important;
}
body.dark-mode
    div:where(.swal2-icon).swal2-success
    [class^="swal2-success-line"] {
    background-color: #34d399 !important;
}
body.dark-mode div:where(.swal2-icon).swal2-success .swal2-success-ring {
    border-color: rgba(16, 185, 129, 0.2) !important;
}
