﻿#confirm-dialog-wrapper .modal-overlay {
    /* Higher z-index to appear above the main modal */
    z-index: 2000;
}

/* The overlay is the same as the main modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.confirm-content {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 400px;
    text-align: center;
}

    .confirm-content h2 {
        margin-top: 0;
    }

.confirm-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* A specific style for the danger/confirm button */
.btn-danger {
    background-color: #b71c1c; /* Dark red */
    color: white;
    border: 1px solid #b71c1c;
}

.btn-danger:hover {
    background-color: #c62828;
}
