/* Modal de pago PSE / Bre-B — estilo ETB */

#payment-modal,
#payment-processing {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000000;
}

#payment-modal.visible,
#payment-processing.visible {
    display: flex;
}

#payment-modal {
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    padding: 16px;
}

#payment-processing {
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    flex-direction: column;
}

.payment-modal-box {
    background: #fff;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    padding: 24px;
}

.payment-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.payment-modal-header h3 {
    color: #0092bc;
    font-family: DINPro, arial;
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
}

.payment-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0 4px;
}

.payment-modal-method {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.payment-modal-method img {
    height: 36px;
    width: auto;
}

.payment-modal-method span {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.pay-field {
    margin-bottom: 14px;
}

.pay-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4a4a4a;
    margin-bottom: 4px;
}

.pay-field input,
.pay-field select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #d1d1d1;
    border-radius: 8px;
    font-size: 15px;
    font-family: DINPro, arial;
    box-sizing: border-box;
}

.pay-field input:focus,
.pay-field select:focus {
    outline: none;
    border-color: #0092bc;
}

.pay-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 520px) {
    .pay-field-grid {
        grid-template-columns: 1fr;
    }
}

.payment-modal-actions {
    margin-top: 18px;
}

.btn-pay-continue {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: #0092bc;
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    font-family: DINPro, arial;
}

.btn-pay-continue:hover {
    background: #ff5c39;
}

#ventPago .pago_container.disabled-pay {
    opacity: 0.45;
    pointer-events: none;
    filter: grayscale(0.4);
}

#payment-processing .proc-logo {
    width: 80px;
    margin-bottom: 20px;
}

#payment-processing .proc-text {
    font-family: DINPro, arial;
    color: #0092bc;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

#payment-processing .proc-dots {
    color: #0092bc;
    font-size: 24px;
    font-weight: 700;
    margin-top: 8px;
}

#breb-method-hint-etb {
    font-size: 12px;
    color: #666;
    margin: 8px 0 0;
    line-height: 1.4;
}
