/* Added to card message */
.woocommerce-message {
    border: none;
    border-top: 2px solid var(--custom-yellow);
    background-color: var(--custom-light);
    box-shadow: none;
    outline: none;
}

.woocommerce-message li {
    list-style: none;
}

/* Style for the button */
a.button.wc-forward {
    background-color: var(--custom-yellow);
    color: var(--custom-dark);
    border-radius: .3rem;
    text-decoration: none;
    display: inline-block;
    border: 2px solid var(--custom-yellow);
    transition: ease-in-out;
    transition-duration: .2s;
}

.woocommerce-message:focus {
    outline: none !important;
    box-shadow: none !important;
}


/* Hover state */
a.button.wc-forward:hover {
    background-color: transparent;
}


.left-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Make form fields full-width and stack label above input */
.woocommerce form .form-row {
    display: block;
}

.woocommerce form .form-row label {
    display: block;
    margin-bottom: 0.5rem;
}

.woocommerce form .form-row .woocommerce-input-wrapper {
    display: block;
}

.woocommerce .form-row-first,
.woocommerce .form-row-last {
    width: 100%;
    float: none;
}

/* Input field styling */
.woocommerce input.input-text {
    border: 1px solid transparent !important;
    border-radius: .6rem;
    background-color: var(--custom-light);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    width: 100%;
}

/* Hover effect on input */
.woocommerce input.input-text:hover {
    border-color: var(--custom-yellow) !important;
}

/* Focus effect on input */
.woocommerce input.input-text:focus {
    border-color: var(--custom-yellow) !important;
    outline: none;
}


#payment_method_heading {
    margin-top: .5rem;
    margin-bottom: 2.5rem;
}

/* Payment methods background */
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background-color: var(--custom-light);
}

/* Layout for individual payment method list item */
.wc_payment_method {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

/* Payment method label styling */
.payment_method_mollie_wc_gateway_ideal label {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 4rem;
    cursor: pointer;
    font-size: var(--font-size-lg);
    margin-bottom: 0;
}

/* Radio input styling */
.wc_payment_method input[type="radio"] {
    display: inline-block !important;
    appearance: none;
    -webkit-appearance: none;
    background-color: white;
    border: 3px solid var(--custom-gray-light);
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    flex-shrink: 0;
    order: 2;
}

/* Checked radio circle */
.wc_payment_method input[type="radio"]:checked::before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: var(--custom-primary);
    border-radius: 50%;
    border: 2px solid var(--custom-gray-light);
    position: absolute;
    top: 0;
    left: 0;
}

/* Icon next to payment method text */
.mollie-gateway-icon {
    height: 2rem;
    width: 2rem;
    border: 3px solid var(--custom-gray-light);
    border-radius: .3rem;
    padding: .2rem;
    object-fit: contain;
    order: -1;
}

/* Container for all payment methods */
.wc_payment_methods {
    display: flex;
    flex-direction: column;
    width: 100%;
}


/* Free payment method block */
.free-payment-method {
    margin-top: -1.5rem;
    background-color: var(--custom-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: .6rem;
    padding: 1.5rem 2rem;
    font-size: var(--font-size-lg);

    .circle {
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 50%;
        background-color: var(--custom-primary);
        border: .3rem solid var(--custom-gray-light);
    }
}

@media (max-width: 768px) {
    .left-content {
        order: 0;
        width: 100%;
    }
}

@media (max-width: 575px) {
    .woocommerce .form-row.form-row-first,
    .woocommerce .form-row.form-row-last {
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }
}



