/* Confirmation dialog */
.confirm-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    padding: 1.5rem;
    max-width: 360px;
    width: 100%;
}

.confirm-dialog::backdrop {
    background: rgba(0, 0, 0, .6);
}

.confirm-dialog__message {
    font-size: 1rem;
    margin-bottom: .4rem;
    overflow-wrap: anywhere;
}

.confirm-dialog__subtext {
    color: var(--text-muted);
    font-size: .875rem;
    line-height: 1.45;
    margin-bottom: 1.25rem;
}

.confirm-dialog__actions {
    display: flex;
    gap: .75rem;
    justify-content: flex-end;
}

.confirm-dialog__actions .btn {
    width: auto;
    padding: .5rem 1.25rem;
    font-size: .875rem;
}

.btn--blue {
    background: #4a8fff;
    color: #fff;
}

.btn--blue:hover { opacity: .75; }

.btn--success {
    background: #50c878;
    color: #07150c;
}

.btn--success:hover { opacity: .85; }

.btn--xs {
    display: inline-flex;
    width: auto;
    padding: .25rem .75rem;
    font-size: .75rem;
}

.btn--danger {
    background: var(--red);
    color: #fff;
}
