/* Checkout "must login / register" screen */

.woocommerce-info-login-required {
    box-sizing: border-box;
    width: 100%;
    max-width: 520px;
    margin: 48px auto;
    padding: 48px 28px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 4px;
    text-align: center;
}

.woocommerce-info-login-required > p {
    max-width: 460px;
    margin: 0 auto 22px;
    color: #fff;
    font-size: 15px;
    line-height: 1.9;
}

.woocommerce-info-login-required .woocommerce-login-required-btn {
    display: inline-block;
    width: 100%;
    max-width: 460px;
    box-sizing: border-box;
    padding: 14px 20px;
    background: #fff;
    color: #1C2434;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.woocommerce-info-login-required .woocommerce-login-required-btn:hover {
    opacity: .85;
    color: #1C2434;
}

@media (max-width: 500px) {
    .woocommerce-info-login-required {
        margin: 24px auto;
        padding: 32px 16px;
    }
}

/* Stretch the checkout area to the full page height (between header and
   footer) and vertically center the login-required card in it, instead of
   leaving the theme's default ~360px minimum content height mostly empty. */
body.checkout-login-required .wd-page-wrapper.website-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.checkout-login-required .wd-page-wrapper.website-wrapper > header,
body.checkout-login-required .wd-page-wrapper.website-wrapper > .wd-prefooter,
body.checkout-login-required .wd-page-wrapper.website-wrapper > footer {
    flex-shrink: 0;
}

body.checkout-login-required .wd-page-content.main-page-wrapper,
body.checkout-login-required .wd-content-area.site-content,
body.checkout-login-required .wd-content-layout,
body.checkout-login-required article.entry-content,
body.checkout-login-required .woocommerce {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    min-height: 0;
}

body.checkout-login-required .woocommerce {
    justify-content: center;
}
