/* Stripe Payment Request Buttons (Google Pay, Apple Pay) */

#stripe-payment-buttons-wrapper {
    display: none;
    margin: 20px 0;
    padding: 0;
}

#stripe-payment-buttons-wrapper.visible {
    display: block;
}

/* Payment Request Button Container */
#stripe-payment-request-button {
    margin-bottom: 15px;
}

/* Divider between payment methods */
.payment-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

.payment-divider::before,
.payment-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.payment-divider span {
    padding: 0 15px;
    background: #f8f9fa;
}

/* Styling for payment buttons section */
.payment-buttons-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.payment-buttons-section h4 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Ensure buttons are full width */
#stripe-payment-request-button iframe {
    width: 100% !important;
    min-height: 48px;
}

/* Mobile responsiveness */
@media (max-width: 767px) {
    #stripe-payment-buttons-wrapper {
        margin: 15px 0;
    }
    
    .payment-buttons-section {
        padding: 15px;
    }
    
    .payment-buttons-section h4 {
        font-size: 16px;
    }
}

/* Loading state */
.stripe-button-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Error message styling */
.stripe-payment-error {
    background-color: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.3);
    color: #ff4d4d;
    padding: 12px 15px;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 14px;
    display: none;
}

.stripe-payment-error.show {
    display: block;
}
