/* HydraPower: acesso normal WooCommerce + Google como alternativa. */
body.woocommerce-account:not(.logged-in) #customer_login .hp-account-auth-switcher {
    display: flex !important;
}

body.woocommerce-account:not(.logged-in) #customer_login > .u-column1,
body.woocommerce-account:not(.logged-in) #customer_login:not(.is-registering) > .u-column1 {
    display: block !important;
}

body.woocommerce-account:not(.logged-in) #customer_login:not(.is-registering) > .u-column2,
body.woocommerce-account:not(.logged-in) #customer_login.is-registering > .u-column1 {
    display: none !important;
}

body.woocommerce-account:not(.logged-in) #customer_login.is-registering > .u-column2 {
    display: block !important;
}

body.woocommerce-account:not(.logged-in) #customer_login > .u-column1 > h2,
body.woocommerce-account:not(.logged-in) #customer_login > .u-column2 > h2 {
    display: none !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login > .woocommerce-form-row,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login > .woocommerce-LostPassword,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login > .woocommerce-button,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register > .form-row,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register > .woocommerce-button {
    display: block !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login label,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register label {
    color: #173447 !important;
    font-weight: 650 !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login input,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register input {
    width: 100% !important;
    min-height: 46px !important;
    border: 1px solid #cfdae3 !important;
    border-radius: 10px !important;
    background: #fff !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login .woocommerce-form-login__submit,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register .woocommerce-form-register__submit {
    width: 100% !important;
    min-height: 46px !important;
    margin-top: 8px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #087eea !important;
    color: #fff !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login .mo-openid-app-icons {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    margin: 16px 0 0 !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login .mo-openid-app-icons:first-of-type {
    display: none !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login .mo_btn-google {
    width: min(100%, 320px) !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login .woocommerce-LostPassword {
    margin: 15px 0 0 !important;
    text-align: center !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register .woocommerce-privacy-policy-text {
    color: #617284 !important;
    font-size: .8rem !important;
    line-height: 1.5 !important;
}

/* Acesso em tela inteira: formulário à esquerda e identidade visual à direita. */
body.woocommerce-account:not(.logged-in):not(.woocommerce-lost-password) .wp-site-blocks > main {
    min-height: 100dvh !important;
    padding: 0 !important;
}

body.woocommerce-account:not(.logged-in) .hp-account-auth-shell {
    grid-template-columns: minmax(0, 52%) minmax(0, 48%) !important;
    width: 100% !important;
    min-height: 100dvh !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.woocommerce-account:not(.logged-in) .hp-account-auth-content {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-content: center !important;
    min-height: 100dvh !important;
    padding: 88px clamp(28px, 6vw, 110px) !important;
}

body.woocommerce-account:not(.logged-in) .hp-account-auth-content > #customer_login.u-columns {
    width: min(100%, 460px) !important;
}

body.woocommerce-account:not(.logged-in) .hp-account-auth-visual {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-height: 100dvh !important;
    background-image: url("../images/hydrapower-account-blue-box.png") !important;
    background-position: 72% center !important;
    background-size: cover !important;
}

body.woocommerce-account:not(.logged-in) .hp-account-auth-back {
    top: 26px !important;
    left: 26px !important;
    border-color: #c9e3fa !important;
    background: #edf6ff !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .hp-account-google-separator {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 26px 0 16px !important;
    color: #64788b !important;
    font-size: .82rem !important;
    text-align: center !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .hp-account-google-separator::before,
body.woocommerce-account:not(.logged-in) #customer_login .hp-account-google-separator::after {
    flex: 1;
    border-top: 1px solid #d8e3ed;
    content: "";
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login .mo-openid-app-icons.hp-google-login-after-password {
    display: flex !important;
    justify-content: center !important;
    margin: 0 !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login .mo_btn-google {
    width: min(100%, 320px) !important;
}

@media (max-width: 700px) {
    body.woocommerce-account:not(.logged-in):not(.woocommerce-lost-password) .wp-site-blocks > main {
        min-height: 100dvh !important;
        padding: 0 !important;
    }

    body.woocommerce-account:not(.logged-in) .hp-account-auth-shell {
        position: relative !important;
        inset: auto !important;
        grid-template-columns: 1fr !important;
        min-height: 100dvh !important;
        overflow: visible !important;
    }

    body.woocommerce-account:not(.logged-in) .hp-account-auth-content {
        grid-column: 1 !important;
        grid-row: 1 !important;
        min-height: 100dvh !important;
        padding: 86px 28px 44px !important;
    }

    body.woocommerce-account:not(.logged-in) .hp-account-auth-visual {
        grid-column: 1 !important;
        grid-row: 2 !important;
        min-height: 180px !important;
        background-position: 72% 52% !important;
    }
}
