/**
 * Styles the custom express checkout html in cart.
 * @inc/assets/js/express-checkout.js.
*/

.woocommerce-cart a.checkout-button.button.alt.wc-forward{
    width: 100%;
    font-size: 16px;
}

/* Hide until expresscheckout buttons appear. */
.rn-express-checkout-wrapper,
.rn-express-checkout-or-wrapper{
    display: none;
}

/* Set class rn-is-visible via js. */
.rn-express-checkout-or-wrapper.rn-is-visible{
    display: flex;
    clear: both;
    align-items: center;
    padding-top: 2em;
    padding-bottom: 1em;
}

.rn-express-checkout-or-wrapper.rn-is-visible .rn-or-line{
    background-color: #eee;
    height: 1px;
    width: 100%;
}

.rn-express-checkout-or-wrapper.rn-is-visible .rn-or{
    padding: 0 16px;
}

.rn-express-checkout-wrapper.rn-is-visible{
    display: block;
    text-align: left;
    margin: 16px 0;
}

.rn-express-checkout-wrapper.rn-is-visible .rn-express-checkout-general-information-wrapper,
.rn-express-checkout-wrapper.rn-is-visible .rn-express-checkout-checkbox-wrapper{
    margin: 16px 0;
}

.rn-express-checkout-wrapper.rn-is-visible .rn-express-checkout-checkbox-wrapper a{
    color: #0af;
}

.rn-express-checkout-wrapper.rn-is-visible .rn-express-checkout-checkbox-wrapper a:hover{
    color: #9df;
}

#wc-stripe-express-checkout-element.rn-express-checkout-disabled{
    position: relative;
}

#wc-stripe-express-checkout-element.rn-express-checkout-disabled::after{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 9999;
    cursor: not-allowed;
    background: #fff;
    opacity: 0.4;
}

#top .rn-express-checkout-wrapper.rn-is-visible .rn-express-checkout-error{
    margin: 24px 0;
    padding: 32px 40px;
}