/* Overlay background */
.pcs-confirmation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Transparent black overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it's on top of other content */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pcs-confirmation-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Modal content box */
.pcs-confirmation-modal {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.pcs-confirmation-overlay.show .pcs-confirmation-modal {
    transform: translateY(0);
}

/* Modal header/title */
.pcs-confirmation-modal h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.5em;
    margin-bottom: 20px;
}

/* Modal message */
.pcs-confirmation-modal p {
    color: #555;
    font-size: 1.1em;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Button container */
.pcs-confirmation-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Buttons */
.pcs-confirmation-modal-buttons button {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.pcs-confirmation-modal-buttons button:active {
    transform: translateY(1px);
}

.pcs-confirmation-modal-buttons .pcs-confirm-button {
    background-color: #dc3545; /* Red for destructive action */
    color: #fff;
}

.pcs-confirmation-modal-buttons .pcs-confirm-button:hover {
    background-color: #c82333;
}

.pcs-confirmation-modal-buttons .pcs-cancel-button {
    background-color: #6c757d; /* Gray for cancel */
    color: #fff;
}

.pcs-confirmation-modal-buttons .pcs-cancel-button:hover {
    background-color: #5a6268;
}
