/* Food Handlers Fast - Modern Checkout */

#checkout-form {
    max-width: 820px;
    margin: 0 auto;
}

/* Main order card */
#checkout-form .basic > .border {
    border: 0 !important;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,.08);
}

/* Order header */
#checkout-form .basic > .border > .fw-bold {
    background: #f7f8fa !important;
}

/* Checkout sections */
#checkout-form .checkout-section {
    border-radius: 14px;
}

#checkout-form .checkout-section > .bg-light {
    background: #f7f8fa !important;
    padding: 14px 18px !important;
    border-radius: 14px 14px 0 0;
    color: #222 !important;
    font-size: 17px;
}

/* Payment choices */
#checkout-form .payment-op {
    background: #fff;
    padding: 16px 18px !important;
    border-color: #e2e5e9 !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}

#checkout-form .payment-op:hover {
    border-color: #aeb5bd !important;
}

#checkout-form .payment-op:has(input[type="radio"]:checked) {
    border-color: #555 !important;
    box-shadow: 0 0 0 1px #555;
}

#checkout-form .payment-op .form-check {
    min-height: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#checkout-form .payment-op .form-check-input {
    width: 19px;
    height: 19px;
    margin-top: 0;
}

#checkout-form .payment-op .form-check-label {
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* Payment logos */
#checkout-form .payment-op .icon img {
    max-height: 27px;
    width: auto;
    margin-left: 6px;
}

/* Express Checkout */
#fhf-express-wallet {
    border-radius: 12px;
    margin: 12px 0 18px;
    padding: 18px !important;
    background: #fafbfc;
}

#fhf-express-wallet > .fw-bold {
    font-size: 17px;
}

/* Cardholder field */
#card-name-element {
    max-width: 100% !important;
    height: 46px;
    border-radius: 8px;
}

/* Prepaid field */
#checkout-form .form-control {
    min-height: 46px;
    border-radius: 8px;
}

/* Final order button */
#checkout-form .checkout-section.pt-4 button[type="submit"] {
    min-height: 54px;
    border-radius: 9px !important;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(0,0,0,.12);
}

/* Better overall spacing */
#checkout-form .row.pb-5.pt-5 {
    padding-top: 32px !important;
}

/* Mobile */
@media (max-width: 576px) {
    #checkout-form .row.pb-5.pt-5 {
        padding-top: 18px !important;
    }

    #checkout-form .payment-op {
        padding: 14px !important;
    }

    #checkout-form .payment-op .icon {
        text-align: left !important;
        margin-top: 8px;
        padding-left: 36px;
    }

    #checkout-form .payment-feilds {
        padding: 18px 8px 8px !important;
    }
}

/* Stronger Course / Price header */
#checkout-form .basic > .border > .fw-bold {
    font-weight: 800 !important;
    font-size: 17px;
    color: #212529 !important;
}

#checkout-form .basic > .border > .fw-bold .col-8,
#checkout-form .basic > .border > .fw-bold .col-4 {
    font-weight: 800 !important;
}

/* Stronger Course / Price header */
#checkout-form .basic > .border > .fw-bold {
    font-weight: 800 !important;
    font-size: 17px;
    color: #212529 !important;
}

#checkout-form .basic > .border > .fw-bold .col-8,
#checkout-form .basic > .border > .fw-bold .col-4 {
    font-weight: 800 !important;
}

/* Bold all course information and prices in order summary */
#checkout-form .basic > .border > .row:not(.fw-bold) .col-8,
#checkout-form .basic > .border > .row:not(.fw-bold) .col-4 {
    font-weight: 700 !important;
    color: #212529 !important;
}

/* Bold course/bundle name and price in order summary */
#checkout-form .basic .col-sm-10 > .p-2 {
    font-weight: 700 !important;
    color: #212529 !important;
}

#checkout-form .basic > .border > div > .row.g-0 > .col-sm-4 > .border-bottom > .p-2 {
    font-weight: 700 !important;
    color: #212529 !important;
}
