#nm-header,#nm-footer{
    display: none;
}
.nm-myaccount-login, .nm-myaccount-lost-reset-password{
    background: #ffffff !important;
    padding: 25px 40px 40px 40px;
    border-radius:10px;
    max-width: 29.75rem;
    margin-top: 100px;
    position: relative; /* 必须设置 position 才能使用 z-index */
    z-index: 2; /* 确保高于上级元素的 z-index */
    margin-right: 150px;
}

.nm-page-wrap-inner{
    background-image: url("/wp-content/uploads/login-background.png");
    position: fixed;
    overflow: hidden;
    width: 100%;
    height: 100%;
    /* 新增：背景图自适应 */
    background-size: cover;
    background-position: center; /* 居中显示 */
    background-repeat: no-repeat; /* 不重复 */

}

/* 覆盖容器样式 */
.mo-openid-app-icons {
    display: flex !important;
    justify-content: space-between !important; /* 平均分布按钮 */
    width: 100% !important; /* 占满整行 */
}

/* 覆盖按钮样式 */
.mo-openid-app-icons .login-button {
    flex: 1 !important; /* 平均分配宽度 */
    margin: 0 8px !important; /* 添加间距 */
    display: inline-flex !important; /* 使用flex布局 */
    justify-content: center !important; /* 水平居中 */
    align-items: center !important; /* 垂直居中 */
    height: 57px !important; /* 设置按钮高度 */
    border-radius: 4px !important; /* 圆角 */
    background: #EBEBEB;
}

/* 覆盖图标样式 */
.mo-openid-app-icons .login-button i {
    margin: 0 !important; /* 重置边距 */
    display: flex !important; /* 使用flex布局 */
    justify-content: center !important; /* 水平居中 */
    align-items: center !important; /* 垂直居中 */
    width: 45px !important;
    height: 45px !important;
    /*border-radius: 50% !important; !* 圆形 *!*/
    padding: 0 !important; /* 重置内边距 */
    background: unset !important;
    border: unset !important;
}

.nm-myaccount-login h2{
    text-align: left;
    padding:0 0 8px;
    font-weight: 700;
}

.nm-login-form-divider {
    position: relative;
    z-index: 10;
    display: block; /* 修改为块级元素以撑满宽度 */
    text-align: center; /* 文字居中 */
    font-size: 16px;
    line-height: 1;
    color: #282828;
    margin: 20px 0; /* 上下间距 */
}

.nm-login-form-divider span {
    position: relative;
    z-index: 2; /* 确保文字在最上层 */
    display: inline-block;
    padding: 0 19px;
    text-transform: unset !important;
    background: #ffffff; /* 仅覆盖文字区域的背景 */
}

.nm-login-form-divider::before {
    content: '';
    position: absolute;
    top: 50%; /* 垂直居中 */
    left: 0;
    right: 0;
    height: 1px; /* 线的粗细 */
    background: #ccc; /* 线的颜色 */
    z-index: 1; /* 确保线在文字下层 */
}

.help-link{
    font-size: 13px;
    font-style: normal;
    font-weight: 450;
    line-height: 20px;
    margin-top: 32px;
}

.ui-button--link{
    background: transparent;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #005bd3;
    text-align: start;
    font-size: 13px;
    padding: 0;
    min-height: unset;
    display: inline-flex;
    text-decoration:none;
}
.login-footer:not(.mobile){
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #005bd3 !important;
    text-align: start;
    font-size: 13px;
    padding: 0;
    min-height: unset;
    display: inline-flex;
    text-decoration: none;
}

.login-footer-mobile{
    display: none !important;
}

.login-footer:not(.mobile) a{
    color: #282828;
}

.login-card__header{
    margin-bottom:2rem;
}
.login-card__logo{
    width:5.75rem;
}
.ui-subheading--subdued{
    font-size: 14px;
    color: #616161;
    font-style: normal;
    font-weight: 550;
    line-height: 20px;
    margin-bottom: 20px;
}
.gradient-background__wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.nm-header-placeholder{
    display:none;
}

.nm-page-default-col,.nm-page-default{
    padding: unset !important;
}

@media (max-width: 568px){
    .nm-myaccount-login, .nm-myaccount-lost-reset-password{
        margin-top: 50px;
        border-radius: 0;
        padding: 25px 30px 40px 30px;
    }
    .nm-page-default-col{
        padding-left: unset;
        padding-right: unset;
    }
    .nm-page-wrap-inner{
        background: #FFFFFF;
    }
    .nm-header-placeholder{
        height: unset !important;
    }

    .login-footer-not-mobile{
        display: none !important;
    }

    .login-footer-mobile a{
        display: flex;
        flex-wrap:wrap;
        padding-right: 10px;
    }
    .login-footer-mobile{
        display: block !important;
        display: -webkit-box;
    }
    .login-footer-mobile .login-footer__links{
        display: flex;
        flex-wrap:wrap;
        padding-left: 30px;
        padding-bottom: 30px;
    }

    .woocommerce-notices-wrapper{
        display: none;
    }

    .nm-page-default-col .woocommerce{
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        -webkit-justify-content:space-between;
    }


    .gradient-background__wrapper {
        background: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

}