.confirmation-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-system-dialog, 2147483000);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 18, 32, .68);
    backdrop-filter: blur(2px);
}

.confirmation-dialog {
    position: relative;
    width: min(100%, 480px);
    padding: 34px 36px 30px;
    border-radius: 16px;
    background: #fff;
    color: #0f1b2d;
    text-align: center;
    box-shadow: 0 24px 70px rgba(15, 27, 45, .28);
    animation: confirmation-pop .18s ease-out both;
}

@keyframes confirmation-pop {
    from { opacity: 0; transform: translateY(12px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.confirmation-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f0f4f8;
    color: #52677d;
}

.confirmation-close:hover { background: #e2e9f1; color: #0f1b2d; }

.confirmation-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin-bottom: 20px;
    border-radius: 50%;
    font-size: 26px;
}

.confirmation-danger .confirmation-icon { color: #b91c1c; background: #fee2e2; }
.confirmation-warning .confirmation-icon { color: #b45309; background: #fef3c7; }
.confirmation-primary .confirmation-icon { color: #1d4ed8; background: #dbeafe; }

.confirmation-dialog h2 { margin: 0 34px 10px; font-size: 1.25rem; font-weight: 700; }
.confirmation-dialog p { margin: 0; color: #60758a; line-height: 1.55; white-space: pre-line; }

.confirmation-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.confirmation-actions .btn { min-width: 130px; }
.confirmation-danger .confirmation-submit { color: #fff; background: #b91c1c; border-color: #b91c1c; }
.confirmation-danger .confirmation-submit:hover { background: #991b1b; border-color: #991b1b; }
.confirmation-warning .confirmation-submit { color: #fff; background: #b45309; border-color: #b45309; }
.confirmation-warning .confirmation-submit:hover { background: #92400e; border-color: #92400e; }
.confirmation-primary .confirmation-submit { color: #fff; background: #2563eb; border-color: #2563eb; }
.confirmation-primary .confirmation-submit:hover { background: #1d4ed8; border-color: #1d4ed8; }

@media (max-width: 520px) {
    .confirmation-dialog { padding: 30px 22px 24px; }
    .confirmation-actions { flex-direction: column-reverse; }
    .confirmation-actions .btn { width: 100%; }
}
