/* 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;
}

.pcs-delete-address-modal {
    max-width: 440px;
    text-align: left;
}

.pcs-delete-address-modal h3 {
    text-align: center;
}

.pcs-delete-address-lead {
    text-align: center;
    margin-bottom: 18px;
}

.pcs-delete-address-preview {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 24px;
    text-align: left;
}

.pcs-delete-address-preview p {
    margin: 0 0 6px;
    font-size: 0.98em;
    line-height: 1.45;
    color: #334155;
}

.pcs-delete-address-preview p:last-child {
    margin-bottom: 0;
}

.pcs-delete-address-name {
    margin-bottom: 8px !important;
    color: #0f172a !important;
}
