#hcil-payment-methods {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    align-items: center;
}

#hcil-payment-methods .pm-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
}

.pm-icon {
    width: 28px;
    height: 18px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 5px;
}

.pm-paypal {
    background-image: url('https://www.paypalobjects.com/webstatic/icon/pp258.png');
}

.pm-stripe {
    background-image: url('https://stripe.com/img/v3/home/twitter.png');
}

/* Payment button wrapper for both Stripe and PayPal SDK buttons */
#hcil-payment-action {
    width: 100%;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Unified style for Stripe and PayPal buttons */
#stripe-checkout-btn,
#wpforms-paypal-commerce-single-submit-button-4367,
#hcil-payment-action .paypal-buttons {
    width: 100%;
    max-width: 340px;
    min-height: 56px;
    height: 56px;
    border-radius: 30px;
    margin: 16px 0;
    padding: 0 12px;
    font-size: 17px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: box-shadow .2s, background .2s;
    box-shadow: 0 2px 8px rgba(20,30,30,0.07);
    cursor: pointer;
    user-select: none;
    background: #0070BA !important;
    color: #fff !important;
    border: none !important;
    box-sizing: border-box;
}

/* For PayPal iframes: ensure button height matches Stripe */
#wpforms-paypal-commerce-single-submit-button-4367 iframe {
    min-height: 56px !important;
    border-radius: 30px !important;
    box-sizing: border-box;
}

/* SDKS: ensure no extra spacing inside PayPal wrapper */
#wpforms-paypal-commerce-single-submit-button-4367 > div,
#wpforms-paypal-commerce-single-submit-button-4367 > .paypal-buttons {
    min-height: 56px !important;
    border-radius: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box;
}

#stripe-checkout-btn:hover,
#wpforms-paypal-commerce-single-submit-button-4367:hover,
#hcil-payment-action .paypal-buttons:hover {
    box-shadow: 0 4px 12px rgba(20,30,30,0.15);
    filter: brightness(1.05);
}

/* Icon alignment in radio options */
.pm-option .pm-icon {
    margin-right: 8px;
}

/* Responsive: full width buttons on smaller screens */
@media (max-width: 720px) {
    #hcil-payment-methods {
        flex-direction: row;
        gap: 8px;
    }
    #stripe-checkout-btn,
    #wpforms-paypal-commerce-single-submit-button-4367,
    #hcil-payment-action .paypal-buttons {
        width: 100%;
        max-width: 100%;
        font-size: 16px;
        min-height: 46px;
        height: 46px;
    }
}

