/**
 * Randu SweetAlert2 skin — visual only.
 * Perilaku (teks OK/Cancel, redirect, dll.) tetap dari pemanggil.
 */

.swal2-container {
    z-index: 100080 !important;
}

.swal2-container.swal2-backdrop-show,
.swal2-container.swal2-noanimation {
    background: rgba(30, 47, 87, 0.28);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .swal2-container.swal2-backdrop-show {
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
    }
}

.swal2-popup:not(.swal2-toast) {
    border-radius: 20px;
    padding: 1.65rem 1.5rem 1.4rem;
    border: 1px solid rgba(47, 70, 122, 0.08);
    box-shadow: 0 20px 60px rgba(30, 47, 87, 0.22);
    font-family: inherit;
}

.swal2-popup:not(.swal2-toast) .swal2-title {
    color: #1e2f57 !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    padding: 0.15rem 0.5rem 0;
}

.swal2-popup:not(.swal2-toast) .swal2-html-container {
    color: #64748b !important;
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
    padding: 0.35rem 0.35rem 0;
}

.swal2-popup:not(.swal2-toast) .swal2-icon {
    margin: 0.15rem auto 0.35rem;
    border-width: 3px;
    transform: scale(0.92);
}

.swal2-popup:not(.swal2-toast) .swal2-actions {
    gap: 0.5rem;
    margin: 1.15rem auto 0;
    width: 100%;
}

.swal2-popup:not(.swal2-toast) .swal2-styled {
    border-radius: 10px !important;
    padding: 0.58rem 1.15rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    min-width: 5.5rem;
}

.swal2-popup:not(.swal2-toast) .swal2-styled:focus {
    box-shadow: 0 0 0 3px rgba(47, 70, 122, 0.18) !important;
}

.swal2-popup:not(.swal2-toast) .swal2-styled.swal2-cancel {
    font-weight: 500 !important;
}

.swal2-popup:not(.swal2-toast) .swal2-footer {
    border-top: 1px solid #eef2f7;
    color: #64748b;
    font-size: 0.8rem;
    margin-top: 0.85rem;
}

.swal2-popup.swal2-toast {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 28px rgba(47, 70, 122, 0.14);
}

html.app-skin-dark .swal2-popup:not(.swal2-toast) {
    background: #1a2744;
    border-color: rgba(255, 255, 255, 0.08);
}

html.app-skin-dark .swal2-popup:not(.swal2-toast) .swal2-title {
    color: #f8fafc !important;
}

html.app-skin-dark .swal2-popup:not(.swal2-toast) .swal2-html-container {
    color: #94a3b8 !important;
}

@media (max-width: 576px) {
    .swal2-popup:not(.swal2-toast) {
        width: calc(100% - 1.5rem);
        margin: 0.75rem;
        padding: 1.35rem 1.15rem 1.2rem;
    }
}
