/* Unified popup, modal and toast polish for client pages. */
.swal2-popup {
    border-radius: 20px !important;
    padding: 22px !important;
    border: 1px solid #ffe0d5 !important;
    box-shadow: 0 24px 70px rgba(20, 31, 54, .18) !important;
    font-family: Inter, Arial, sans-serif !important;
}

.swal2-title {
    color: #16233a !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
}

.swal2-html-container {
    color: #60708a !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
}

.swal2-icon {
    margin-top: 8px !important;
}

.swal2-confirm,
.swal2-cancel,
.swal2-deny {
    border-radius: 12px !important;
    min-height: 42px !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    box-shadow: none !important;
}

.swal2-confirm {
    background: linear-gradient(90deg, #ff9f0a, #ff671f) !important;
}

.swal2-cancel,
.swal2-deny {
    background: #eef3f9 !important;
    color: #526079 !important;
}

.swal2-actions {
    gap: 8px !important;
}

.swal2-toast {
    border-radius: 16px !important;
    border: 1px solid #ffe0d5 !important;
    box-shadow: 0 16px 40px rgba(20, 31, 54, .16) !important;
}

.toast,
#toast {
    border-radius: 16px !important;
    box-shadow: 0 16px 40px rgba(20, 31, 54, .18) !important;
}

.modal-alert {
    background: rgba(15, 23, 42, .42) !important;
    backdrop-filter: blur(5px);
}

.modal-alert-content,
.modal-content {
    border-radius: 20px !important;
    border: 1px solid #ffe0d5 !important;
    box-shadow: 0 24px 70px rgba(20, 31, 54, .18) !important;
}

.modal-header {
    border-bottom-color: #f1f4f8 !important;
}

.modal-footer {
    border-top-color: #f1f4f8 !important;
}

@media (max-width: 640px) {
    .swal2-popup {
        width: calc(100% - 24px) !important;
        padding: 18px !important;
        border-radius: 18px !important;
    }

    .swal2-title {
        font-size: 18px !important;
    }

    .swal2-confirm,
    .swal2-cancel,
    .swal2-deny {
        min-height: 40px !important;
        font-size: 12px !important;
    }
}
