/*
 * OFFRAMP Account Access UI v1.0.2
 * 只在未登录 My Account 页面加载。
 */

body.offramp-account-ui-active {
    overflow-x: hidden;
}

body.offramp-account-ui-hide-page-title .entry-title,
body.offramp-account-ui-hide-page-title .page-title,
body.offramp-account-ui-hide-page-title .woocommerce-breadcrumb,
body.offramp-account-ui-hide-page-title .breadcrumbs,
body.offramp-account-ui-hide-page-title .breadcrumb {
    display: none !important;
}

body.offramp-account-ui-active .offramp-account-access,
body.offramp-account-ui-active .offramp-account-access *,
body.offramp-account-ui-active .offramp-account-access *::before,
body.offramp-account-ui-active .offramp-account-access *::after {
    box-sizing: border-box;
}

body.offramp-account-ui-active .offramp-account-access {
    position: relative;
    isolation: isolate;
    width: 100vw;
    max-width: none;
    min-height: var(--oaui-page-min-height);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: var(--oaui-pad-top) var(--oaui-pad-side) var(--oaui-pad-bottom);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--oaui-bg-color);
    background-image: var(--oaui-bg-image);
    background-position: var(--oaui-bg-position);
    background-size: var(--oaui-bg-size);
    background-repeat: no-repeat;
    background-attachment: var(--oaui-bg-attachment);
    color: var(--oaui-login-body);
    font-size: var(--oaui-body-size);
}

body.offramp-account-ui-active .offramp-account-access::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: var(--oaui-overlay-color);
    opacity: var(--oaui-overlay-opacity);
    pointer-events: none;
}

body.offramp-account-ui-active .offramp-account-access[data-offramp-active-panel="register"] {
    min-height: auto;
    align-items: flex-start;
    background-color: var(--oaui-register-page-bg);
    background-image: none;
    color: var(--oaui-register-body);
}

body.offramp-account-ui-active .offramp-account-access[data-offramp-active-panel="register"]::before {
    display: none;
}

body.offramp-account-ui-active .offramp-account-access #customer_login {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--oaui-content-max);
    margin: 0 auto;
    padding: 0;
    border: 0;
}

body.offramp-account-ui-active .offramp-account-access[data-offramp-active-panel="login"] #customer_login {
    display: grid;
    grid-template-columns: minmax(0, var(--oaui-login-width)) minmax(0, var(--oaui-promo-width));
    justify-content: var(--oaui-layout-justify);
    align-items: stretch;
    gap: var(--oaui-layout-gap);
}

body.offramp-account-ui-active .offramp-account-access[data-offramp-active-panel="register"] #customer_login {
    display: block;
    max-width: var(--oaui-register-width);
}

body.offramp-account-ui-active .offramp-account-access #customer_login > .u-column1,
body.offramp-account-ui-active .offramp-account-access #customer_login > .u-column2,
body.offramp-account-ui-active .offramp-account-access #customer_login > .col-1,
body.offramp-account-ui-active .offramp-account-access #customer_login > .col-2 {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
}

/* Login panel */
body.offramp-account-ui-active .offramp-login-panel {
    min-height: var(--oaui-login-min-height);
    padding: var(--oaui-login-padding);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--oaui-login-body);
    background: var(--oaui-login-bg);
    border: var(--oaui-login-border-width) solid var(--oaui-login-border);
    border-radius: var(--oaui-login-radius);
}

body.offramp-account-ui-active .offramp-login-panel > h2,
body.offramp-account-ui-active .offramp-register-panel > h2 {
    margin: 0 0 28px;
    padding: 0;
    border: 0;
    text-transform: uppercase;
    line-height: 1.02;
    letter-spacing: var(--oaui-heading-spacing);
    font-weight: var(--oaui-heading-weight);
}

body.offramp-account-ui-active .offramp-login-panel > h2 {
    max-width: 560px;
    color: var(--oaui-login-heading);
    font-size: var(--oaui-login-heading-size);
}

body.offramp-account-ui-active .offramp-login-form,
body.offramp-account-ui-active .offramp-register-form {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.offramp-account-ui-active .offramp-login-form .form-row {
    margin: 0 0 25px;
    padding: 0;
}

body.offramp-account-ui-active .offramp-login-form label,
body.offramp-account-ui-active .offramp-login-form .woocommerce-form__label {
    color: var(--oaui-label-login);
}

/* Promo panel */
body.offramp-account-ui-active .offramp-ui-promo-panel {
    min-height: var(--oaui-login-min-height);
    padding: var(--oaui-promo-padding);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--oaui-login-body);
    background: var(--oaui-promo-bg);
    border: var(--oaui-promo-border-width) solid var(--oaui-promo-border);
    border-radius: var(--oaui-promo-radius);
}

body.offramp-account-ui-active .offramp-ui-promo-panel h2 {
    margin: 0 0 18px;
    color: var(--oaui-login-heading);
    font-size: clamp(34px, 4vw, var(--oaui-login-heading-size));
    line-height: 1.03;
    letter-spacing: var(--oaui-heading-spacing);
    font-weight: var(--oaui-heading-weight);
    text-transform: uppercase;
}

body.offramp-account-ui-active .offramp-ui-promo-panel p {
    margin: 0 0 34px;
    font-size: var(--oaui-body-size);
    line-height: 1.6;
}

body.offramp-account-ui-active .offramp-account-access[data-offramp-active-panel="register"] .offramp-ui-promo-panel {
    display: none !important;
}

/* Register panel */
body.offramp-account-ui-active .offramp-register-panel {
    padding: var(--oaui-register-padding);
    color: var(--oaui-register-body);
    background: var(--oaui-register-panel-bg);
    border: var(--oaui-register-border-width) solid var(--oaui-register-border);
    border-radius: var(--oaui-register-radius);
}

body.offramp-account-ui-active .offramp-register-panel > h2 {
    color: var(--oaui-register-heading);
    font-size: var(--oaui-register-heading-size);
    text-align: center;
}

body.offramp-account-ui-active .offramp-register-form {
    display: grid;
    grid-template-columns: repeat(var(--oaui-register-columns), minmax(0, 1fr));
    column-gap: var(--oaui-register-column-gap);
    row-gap: var(--oaui-register-row-gap);
    color: var(--oaui-register-body);
}

body.offramp-account-ui-active .offramp-register-form > div.offramp-registration-step {
    display: contents;
}

body.offramp-account-ui-active .offramp-register-form > .offramp-registration-step > h3,
body.offramp-account-ui-active .offramp-register-form > .offramp-registration-step > .offramp-registration-note,
body.offramp-account-ui-active .offramp-register-form > .woocommerce-privacy-policy-text,
body.offramp-account-ui-active .offramp-register-form > .offramp-account-switch,
body.offramp-account-ui-active .offramp-register-form > [class*="turnstile"],
body.offramp-account-ui-active .offramp-register-form p:has(button[name="register"]),
body.offramp-account-ui-active .offramp-register-form p:has(input[type="checkbox"]) {
    grid-column: 1 / -1;
}

body.offramp-account-ui-active .offramp-register-form h3 {
    margin: 24px 0 0;
    color: var(--oaui-register-heading);
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.offramp-account-ui-active .offramp-register-form .form-row {
    width: 100%;
    margin: 0;
    padding: 0;
}

body.offramp-account-ui-active .offramp-register-form label {
    color: var(--oaui-label-register);
}

/* Fields */
body.offramp-account-ui-active .offramp-account-access label {
    display: block;
    margin: 0 0 9px;
    font-size: var(--oaui-label-size);
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
}

body.offramp-account-ui-active .offramp-account-access input[type="text"],
body.offramp-account-ui-active .offramp-account-access input[type="email"],
body.offramp-account-ui-active .offramp-account-access input[type="password"],
body.offramp-account-ui-active .offramp-account-access input[type="tel"],
body.offramp-account-ui-active .offramp-account-access input[type="number"],
body.offramp-account-ui-active .offramp-account-access select,
body.offramp-account-ui-active .offramp-account-access textarea {
    width: 100%;
    min-height: var(--oaui-field-height);
    margin: 0;
    padding: 10px 16px;
    color: var(--oaui-field-text);
    background: var(--oaui-field-bg);
    border: var(--oaui-field-border-width) solid var(--oaui-field-border);
    border-radius: var(--oaui-field-radius);
    outline: none;
    box-shadow: none;
    font-size: var(--oaui-field-font-size);
    line-height: 1.3;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

body.offramp-account-ui-active .offramp-account-access select {
    height: var(--oaui-field-height);
}

body.offramp-account-ui-active .offramp-account-access textarea {
    min-height: calc(var(--oaui-field-height) * 2);
    resize: vertical;
}

body.offramp-account-ui-active .offramp-account-access input::placeholder,
body.offramp-account-ui-active .offramp-account-access textarea::placeholder {
    color: var(--oaui-field-placeholder);
    opacity: 1;
}

body.offramp-account-ui-active .offramp-account-access input:focus,
body.offramp-account-ui-active .offramp-account-access select:focus,
body.offramp-account-ui-active .offramp-account-access textarea:focus {
    border-color: var(--oaui-field-focus);
    box-shadow: 0 0 0 1px var(--oaui-field-focus);
}

/* Buttons */
body.offramp-account-ui-active .offramp-account-access button.button,
body.offramp-account-ui-active .offramp-account-access button[type="submit"],
body.offramp-account-ui-active .offramp-ui-promo-button {
    width: min(100%, var(--oaui-button-width));
    min-height: var(--oaui-button-height);
    padding: 10px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--oaui-button-text) !important;
    background: var(--oaui-button-bg) !important;
    border: var(--oaui-button-border-width) solid var(--oaui-button-border) !important;
    border-radius: var(--oaui-button-radius) !important;
    box-shadow: none !important;
    font-size: var(--oaui-button-font-size) !important;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: var(--oaui-button-spacing);
    text-transform: uppercase;
    text-decoration: none !important;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

body.offramp-account-ui-active .offramp-account-access button.button:hover,
body.offramp-account-ui-active .offramp-account-access button[type="submit"]:hover,
body.offramp-account-ui-active .offramp-ui-promo-button:hover {
    color: var(--oaui-button-hover-text) !important;
    background: var(--oaui-button-hover-bg) !important;
    border-color: var(--oaui-button-hover-border) !important;
}

body.offramp-account-ui-active .offramp-ui-promo-button {
    align-self: flex-start;
}

/* Login details and links */
body.offramp-account-ui-active .offramp-account-access a {
    color: var(--oaui-link);
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.offramp-account-ui-active .offramp-account-access a:hover {
    color: var(--oaui-link-hover);
}

body.offramp-account-ui-active .offramp-login-form .woocommerce-LostPassword {
    margin: -14px 0 28px;
    text-align: right;
    font-size: 13px;
}

body.offramp-account-ui-active .offramp-login-form .woocommerce-form-login__rememberme {
    margin: 0 0 22px;
    text-transform: none;
    font-weight: 500;
}

body.offramp-account-ui-active .offramp-account-switch {
    margin: 18px 0 0;
    font-size: 13px;
    line-height: 1.5;
}

body.offramp-account-ui-active .offramp-register-panel .offramp-account-switch,
body.offramp-account-ui-active .offramp-register-panel .offramp-account-switch a {
    color: var(--oaui-register-body);
}

/* Woo notices */
body.offramp-account-ui-active .woocommerce-error,
body.offramp-account-ui-active .woocommerce-message,
body.offramp-account-ui-active .woocommerce-info {
    max-width: var(--oaui-content-max);
    margin-left: auto;
    margin-right: auto;
}

/* Tablet */
@media (max-width: 1024px) {
    body.offramp-account-ui-active .offramp-account-access[data-offramp-active-panel="login"] #customer_login {
        max-width: 720px;
        grid-template-columns: 1fr;
    }

    body.offramp-account-ui-active:not(.offramp-account-ui-mobile-promo) .offramp-ui-promo-panel {
        display: none !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    body.offramp-account-ui-active .offramp-account-access {
        min-height: auto;
        padding: 44px var(--oaui-mobile-page-pad);
        background-attachment: scroll;
    }

    body.offramp-account-ui-active .offramp-login-panel,
    body.offramp-account-ui-active .offramp-ui-promo-panel,
    body.offramp-account-ui-active .offramp-register-panel {
        min-height: auto;
        padding: var(--oaui-mobile-panel-pad);
    }

    body.offramp-account-ui-active .offramp-login-panel > h2,
    body.offramp-account-ui-active .offramp-register-panel > h2,
    body.offramp-account-ui-active .offramp-ui-promo-panel h2 {
        font-size: var(--oaui-mobile-heading);
    }

    body.offramp-account-ui-active .offramp-register-form {
        grid-template-columns: 1fr;
    }

    body.offramp-account-ui-active .offramp-account-access input[type="text"],
    body.offramp-account-ui-active .offramp-account-access input[type="email"],
    body.offramp-account-ui-active .offramp-account-access input[type="password"],
    body.offramp-account-ui-active .offramp-account-access input[type="tel"],
    body.offramp-account-ui-active .offramp-account-access input[type="number"],
    body.offramp-account-ui-active .offramp-account-access select {
        min-height: var(--oaui-mobile-field);
        height: var(--oaui-mobile-field);
    }

    body.offramp-account-ui-active .offramp-account-access button.button,
    body.offramp-account-ui-active .offramp-account-access button[type="submit"],
    body.offramp-account-ui-active .offramp-ui-promo-button {
        width: 100%;
    }
}

/* =========================================================
   v1.0.1 Theme Compatibility Layer
   Fixes live-theme sidebar/column rules that do not exist
   inside the simulated admin preview.
   ========================================================= */

body.offramp-account-ui-active .offramp-ui-host-reset {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.offramp-account-ui-active .offramp-account-access {
    width: 100vw !important;
    max-width: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.offramp-account-ui-active .offramp-account-access #customer_login {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: var(--oaui-content-max) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.offramp-account-ui-active .offramp-account-access[data-offramp-active-panel="login"] #customer_login {
    display: grid !important;
    width: 100% !important;
    max-width: min(
        var(--oaui-content-max),
        calc(var(--oaui-login-width) + var(--oaui-promo-width) + var(--oaui-layout-gap))
    ) !important;
    grid-template-columns:
        minmax(0, var(--oaui-login-width))
        minmax(0, var(--oaui-promo-width)) !important;
    justify-content: var(--oaui-layout-justify) !important;
    align-items: stretch !important;
    gap: var(--oaui-layout-gap) !important;
}

body.offramp-account-ui-active .offramp-account-access[data-offramp-active-panel="register"] #customer_login {
    display: block !important;
    width: 100% !important;
    max-width: var(--oaui-register-width) !important;
}

/* Reset theme column and sidebar dimensions. */
body.offramp-account-ui-active .offramp-login-panel,
body.offramp-account-ui-active .offramp-register-panel,
body.offramp-account-ui-active .offramp-ui-promo-panel {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    align-self: stretch !important;
    box-sizing: border-box !important;
}

body.offramp-account-ui-active .offramp-ui-promo-panel {
    position: relative !important;
    inset: auto !important;
    overflow: visible !important;
}

body.offramp-account-ui-active .offramp-ui-promo-panel h2,
body.offramp-account-ui-active .offramp-ui-promo-panel p,
body.offramp-account-ui-active .offramp-ui-promo-panel .offramp-ui-promo-button {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    clear: none !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

body.offramp-account-ui-active .offramp-login-panel > h2 {
    width: auto !important;
    max-width: 100% !important;
    color: var(--oaui-login-heading) !important;
    font-size: var(--oaui-login-heading-size) !important;
    line-height: 1.02 !important;
    font-weight: var(--oaui-heading-weight) !important;
    letter-spacing: var(--oaui-heading-spacing) !important;
}

body.offramp-account-ui-active .offramp-ui-promo-panel h2 {
    color: var(--oaui-login-heading) !important;
    font-size: clamp(34px, 4vw, var(--oaui-login-heading-size)) !important;
    line-height: 1.03 !important;
    font-weight: var(--oaui-heading-weight) !important;
    letter-spacing: var(--oaui-heading-spacing) !important;
}

body.offramp-account-ui-active .offramp-login-form,
body.offramp-account-ui-active .offramp-register-form,
body.offramp-account-ui-active .offramp-login-form .form-row,
body.offramp-account-ui-active .offramp-register-form .form-row {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

body.offramp-account-ui-active .offramp-account-access input[type="text"],
body.offramp-account-ui-active .offramp-account-access input[type="email"],
body.offramp-account-ui-active .offramp-account-access input[type="password"],
body.offramp-account-ui-active .offramp-account-access input[type="tel"],
body.offramp-account-ui-active .offramp-account-access input[type="number"],
body.offramp-account-ui-active .offramp-account-access select,
body.offramp-account-ui-active .offramp-account-access textarea {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

body.offramp-account-ui-active .offramp-login-form .woocommerce-form-login__rememberme {
    width: auto !important;
    max-width: 100% !important;
    margin: 0 0 22px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    float: none !important;
    clear: both !important;
    white-space: normal !important;
    text-transform: none !important;
    line-height: 1.4 !important;
}

body.offramp-account-ui-active .offramp-login-form .woocommerce-form-login__rememberme input[type="checkbox"] {
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 16px !important;
}

body.offramp-account-ui-active .offramp-ui-remember-caption {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--oaui-label-login) !important;
    font-size: var(--oaui-body-size) !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

@media (max-width: 1024px) {
    body.offramp-account-ui-active .offramp-account-access[data-offramp-active-panel="login"] #customer_login {
        width: 100% !important;
        max-width: 720px !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* =========================================================
   v1.0.2 Stable Live Form Layout
   ========================================================= */

/* Closed promo: one-column grid and automatic centering. */
body.offramp-account-ui-active
.offramp-account-access.offramp-ui-promo-disabled[data-offramp-active-panel="login"]
#customer_login {
    width: 100% !important;
    max-width: var(--oaui-login-width) !important;
    grid-template-columns: minmax(0, var(--oaui-login-width)) !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Ensure the visible promo border survives theme resets and overlays. */
body.offramp-account-ui-active .offramp-ui-promo-panel {
    position: relative !important;
    z-index: 2 !important;
    border: var(--oaui-promo-border-width) solid var(--oaui-promo-border) !important;
    outline: var(--oaui-promo-border-width) solid var(--oaui-promo-border) !important;
    outline-offset: calc(-1 * var(--oaui-promo-border-width)) !important;
    box-shadow:
        inset 0 0 0 var(--oaui-promo-border-width) var(--oaui-promo-border) !important;
    background-clip: padding-box !important;
}

/* Rebuilt login options/action rows. */
body.offramp-account-ui-active .offramp-ui-login-options {
    width: 100% !important;
    margin: 0 0 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    float: none !important;
    clear: both !important;
}

body.offramp-account-ui-active
.offramp-ui-login-options
.woocommerce-form-login__rememberme {
    width: auto !important;
    max-width: 55% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 0 1 auto !important;
    float: none !important;
    clear: none !important;
    white-space: normal !important;
    color: var(--oaui-label-login) !important;
    text-transform: none !important;
}

body.offramp-account-ui-active
.offramp-ui-login-options
.woocommerce-form-login__rememberme
input[type="checkbox"] {
    position: static !important;
    inset: auto !important;
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 16px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.offramp-account-ui-active .offramp-ui-remember-caption {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline !important;
    color: var(--oaui-label-login) !important;
    font-size: var(--oaui-body-size) !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

body.offramp-account-ui-active
.offramp-ui-login-options
.offramp-ui-lost-password {
    width: auto !important;
    max-width: 45% !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 1 auto !important;
    float: none !important;
    clear: none !important;
    text-align: right !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

body.offramp-account-ui-active
.offramp-ui-login-options
.offramp-ui-lost-password a {
    display: inline !important;
    white-space: normal !important;
}

body.offramp-account-ui-active .offramp-ui-login-submit {
    width: 100% !important;
    margin: 0 0 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    float: none !important;
    clear: both !important;
}

body.offramp-account-ui-active
.offramp-ui-login-submit
button[name="login"] {
    position: static !important;
    inset: auto !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    transform: none !important;
}

body.offramp-account-ui-active .offramp-ui-login-switch {
    width: 100% !important;
    margin: 0 !important;
    display: block !important;
    float: none !important;
    clear: both !important;
}

body.offramp-account-ui-active
.offramp-ui-login-switch
.offramp-account-switch {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
    text-align: left !important;
}

body.offramp-account-ui-active .offramp-ui-hidden-native-row {
    min-height: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

/* Cancel old placement rules after the elements have been moved. */
body.offramp-account-ui-active
.offramp-login-form
.woocommerce-LostPassword.offramp-ui-lost-password {
    margin: 0 !important;
    text-align: right !important;
}

/* Extra common theme host cleanup to reduce the white block below the access area. */
body.offramp-account-ui-active .offramp-ui-host-reset {
    min-height: 0 !important;
    height: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.offramp-account-ui-active .main-page-wrapper.offramp-ui-host-reset,
body.offramp-account-ui-active .content-layout-wrapper.offramp-ui-host-reset,
body.offramp-account-ui-active .page-wrapper.offramp-ui-host-reset,
body.offramp-account-ui-active #primary.offramp-ui-host-reset,
body.offramp-account-ui-active #main-content.offramp-ui-host-reset {
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

@media (max-width: 767px) {
    body.offramp-account-ui-active .offramp-ui-login-options {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    body.offramp-account-ui-active
    .offramp-ui-login-options
    .woocommerce-form-login__rememberme,
    body.offramp-account-ui-active
    .offramp-ui-login-options
    .offramp-ui-lost-password {
        max-width: 100% !important;
        text-align: left !important;
    }

    body.offramp-account-ui-active .offramp-ui-login-submit {
        justify-content: stretch !important;
    }

    body.offramp-account-ui-active
    .offramp-ui-login-submit
    button[name="login"] {
        width: 100% !important;
    }
}
