/* src/styles/ConfirmationModal.css */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    /* Make sure it's above other UI elements */
}

.modal-content {
    background-color: #fff;
    padding: 1.5rem;
    width: 400px;
    max-width: 90%;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-title {
    margin-top: 0;
    margin-bottom: 1rem;
}

.modal-message {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #333;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.confirm-button,
.cancel-button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 3px;
    font-size: 0.9rem;
    cursor: pointer;
}

.confirm-button {
    background-color: #4caf50;
    color: #fff;
}

.confirm-button.danger {
    background-color: #f44336;
    /* Red for destructive actions */
    color: #fff;
}

.cancel-button {
    background-color: #ccc;
    color: #333;
}