/* Modal de confirmación de pago */
.p-overlay-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.p-dialog {
    background: white;
    box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2),
                0 24px 38px 3px rgba(0, 0, 0, 0.14),
                0 9px 46px 8px rgba(0, 0, 0, 0.12);
    max-height: 90vh;
    overflow: auto;
}

.p-dialog-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #dee2e6;
}

.p-dialog-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.p-dialog-close-button {
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #6c757d;
    transition: background-color 0.2s, color 0.2s;
}

.p-dialog-close-button:hover {
    background-color: #e9ecef;
    color: #495057;
}

.p-dialog-content {
    padding: 1.5rem;
}

/* Animación de entrada del modal */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.p-dialog {
    animation: fadeIn 0.3s ease-out;
}

.p-overlay-mask {
    animation: fadeIn 0.3s ease-out;
}