.payment-options-wrapper {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
}

.payment-section h3 {
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    font-size: 18px;
}

.payment-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.stripe-form-wrapper {
    background: white;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    margin-top: 15px;
}

.stripe-card-element {
    border: 1px solid #dee2e6;
    padding: 10px 12px;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    min-height: 40px;
    box-sizing: border-box;
}

.stripe-card-element.StripeElement--focus {
    border-color: #0066cc;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.stripe-card-element.StripeElement--invalid {
    border-color: #fa755a;
}

.stripe-errors {
    color: #fa755a;
    margin: 10px 0;
    font-size: 14px;
    display: none;
}

.stripe-errors:not(:empty) {
    display: block;
    padding: 10px;
    background-color: #fff5f5;
    border-left: 4px solid #fa755a;
    border-radius: 2px;
}

.payment-section .btn {
    width: auto;
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
}

.payment-section .btn-primary {
    background-color: #007bff;
    color: white;
}

.payment-section .btn-primary:hover {
    background-color: #0056b3;
}

.payment-section .btn-primary:disabled {
    background-color: #6c757d;
    opacity: 0.6;
    cursor: not-allowed;
}

/* Botón bankwire — mismo estilo que .stripe-submit-button */
.pg-bankwire-btn {
    position: relative;
    display: inline-block;
    padding: 5px 12px 5px 28px;
    font-weight: bold;
    color: #fff !important;
    cursor: pointer;
    background-color: #5b9bd5;
    background-image: url('../../../stripe_official/views/img/lock-locked.png');
    background-repeat: no-repeat;
    background-position: 7px center;
    background-size: 12px 17px;
    border: 1px solid rgba(77, 96, 113, 0.63);
    border-radius: 3px;
    text-decoration: none;
}

.pg-bankwire-btn:hover,
.pg-bankwire-btn:focus {
    background-color: #4a87c0;
    color: #fff !important;
    text-decoration: none;
}

.stripe-loading {
    opacity: 0.6;
    pointer-events: none;
}

.stripe-loading::after {
    content: " ";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"></circle></svg>') center no-repeat;
    background-size: contain;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .payment-options-wrapper {
        padding: 15px;
        margin: 15px 0;
    }

    .payment-section .btn {
        padding: 10px 15px;
        font-size: 14px;
    }

    .payment-section h3 {
        font-size: 16px;
    }
}

/* Ocultar secciones por defecto */
#stripe-payment {
    display: none;
}

#redsys-payment {
    display: none;
}

/* Cuando la opción está seleccionada */
#stripe-payment.active,
#redsys-payment.active {
    display: block;
}