/* Payment Options Styles - LIYU Design Guidelines */

.payment-methods {
    margin-bottom: 2rem;
}

.stripe-payment-only {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid #000000;
    border-radius: 2px;
    background: #FFFFFF;
}

.stripe-logo-large {
    width: 120px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.payment-method-header {
    margin-bottom: 1rem;
    font-family: 'Futura PT', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    color: #000000;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.payment-option {
    border: 1px solid #000000;
    border-radius: 2px;
    padding: 1.25rem 1rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    background: #FFFFFF;
    position: relative;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.payment-option:hover {
    border-color: #BA775B;
    background: #FFFFFF;
    transition: all 0.2s ease;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option i {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.2s ease;
}

.payment-option .payment-label {
    font-family: 'Futura PT', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.payment-option.selected {
    border-color: #000000;
    background: #FFFFFF;
    border-width: 2px;
}

.payment-option.selected:hover {
    border-color: #BA775B;
}

/* Minimalist styling - no shadows, no transforms */
.payment-option:active {
    transform: none;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .payment-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .payment-option {
        padding: 1rem 0.75rem;
        min-height: 70px;
    }
    
    .payment-option i {
        font-size: 1.25rem;
        margin-bottom: 0.375rem;
    }
    
    .payment-option .payment-label {
        font-size: 11px;
    }
}

/* Payment method icons - monochrome with brand colors */
.payment-option .fa-credit-card {
    color: #000000;
}

.payment-option.selected .fa-credit-card {
    color: #000000;
}

.payment-option .fa-apple {
    color: #000000;
}

.payment-option.selected .fa-apple {
    color: #BA775B;
}

.payment-option .fa-google-pay {
    color: #000000;
}

.payment-option.selected .fa-google-pay {
    color: #BA775B;
}

.payment-option .fa-link {
    color: #000000;
}

.payment-option.selected .fa-link {
    color: #BA775B;
}

/* Stripe Logo Styling */
.stripe-logo {
    width: 80px;
    height: auto;
    margin-bottom: 0.5rem;
}

.stripe-logo-small {
    width: 60px;
    height: auto;
}

.payment-option.stripe-branded {
    border-color: #635bff;
}

.payment-option.stripe-branded:hover {
    border-color: #635bff;
    background: #f7f6ff;
}

.payment-option.stripe-branded.selected {
    border-color: #635bff;
    border-width: 2px;
    background: #f7f6ff;
}

.payment-option.stripe-branded.selected:hover {
    border-color: #BA775B;
}

/* Stripe Payment Element Container - LIYU Styling */
#payment-element.payment-element-wrapper,
#payment-element {
    border: 1px solid #000000;
    border-radius: 2px;
    background: #FFFFFF;
    padding: 1.5rem;
    min-height: 200px;
    position: relative;
}

/* Empty mount container for Stripe (shown after loading, must stay visible) */
#payment-element-mount {
    min-height: 180px;
}

/* Ensure Stripe Elements are visible */
#payment-element .StripeElement,
#payment-element-mount .StripeElement {
    min-height: 50px;
}

#payment-element iframe,
#payment-element-mount iframe {
    min-height: 180px;
}

/* Loading state */
#payment-element.loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Credit card icon styling */
.fa-credit-card {
    color: #000000;
}

/* Payment message styling */
#payment-message {
    font-family: 'Futura PT', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    color: #000000;
    margin-top: 1rem;
    padding: 0.75rem;
    border: 1px solid #000000;
    background: #FFFFFF;
    border-radius: 2px;
}

#payment-message.error {
    color: #000000;
    border-color: #000000;
    background: #FFFFFF;
}
