@charset "utf-8";
/* test 环境登录页移动端样式
 * 只在 html.m-mobile 下生效，PC 端样式与结构保持原样。
 * 根元素 font-size: 16px，移动端尺寸统一使用 rem。
 */

/* ---------- 默认（PC）隐藏移动端专用元素 ---------- */
.m-landing,
.m-form-head,
.m-label,
.m-eye,
.m-lang {
    display: none;
}

html.m-mobile {
    font-size: 16px;
}

html.m-mobile,
html.m-mobile body {
    min-width: 0 !important;
    min-height: 0 !important;
    width: 100%;
}

html.m-mobile body#login {
    height: auto !important;
    min-height: 100vh !important;
    overflow: auto !important;
    overflow-x: hidden !important;
    background: #fff !important;
    -webkit-text-size-adjust: 100%;
}

/* ---------- 落地页 ---------- */
html.m-mobile .m-landing {
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9000;
    box-sizing: border-box;
    flex-direction: column;
    padding: 1.5rem 1.5rem 1.5rem;
    color: #fff;
    background: url(../images/login.png) no-repeat center center;
    background-size: cover;
}

html.m-mobile.m-login-open .m-landing {
    display: none;
}

html.m-mobile .m-topbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 1.5rem;
}

html.m-mobile .m-lang {
    display: block;
    position: relative;
}

html.m-mobile .m-lang-toggle {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font-size: 0.875rem;
    line-height: 1.5rem;
    cursor: pointer;
}

html.m-mobile .m-globe {
    width: 1rem;
    height: 1rem;
    margin-right: 0.375rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

html.m-mobile .m-lang-menu {
    display: none;
    position: absolute;
    top: 1.75rem;
    right: 0;
    min-width: 7.5rem;
    padding: 0.25rem 0;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.18);
    z-index: 10;
}

html.m-mobile .m-lang-open .m-lang-menu {
    display: block;
}

html.m-mobile .m-lang-menu a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #666;
    font-size: 0.875rem;
    text-decoration: none;
    white-space: nowrap;
}

html.m-mobile .m-landing-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 4rem;
}

html.m-mobile .m-logo {
    display: block;
    width: 13rem;
    max-width: 70%;
}

html.m-mobile .m-enter {
    display: block;
    width: 100%;
    max-width: 21rem;
    height: 3.25rem;
    margin-top: 3.5rem;
    border: 0;
    border-radius: 1.625rem;
    background: linear-gradient(90deg, #2a9fdc 0%, #45c0f5 100%);
    color: #fff;
    font-size: 1.125rem;
    cursor: pointer;
}

html.m-mobile .m-version {
    margin: 1rem 0 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
}

html.m-mobile .m-landing-foot {
    text-align: center;
}

html.m-mobile .m-partners {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

html.m-mobile .m-partners img {
    display: block;
    width: auto;
    height: 2.5rem;
    margin: 0 0.75rem;
}

html.m-mobile .m-copyright {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

html.m-mobile .m-copyright a {
    color: inherit;
}

/* ---------- 登录表单 ---------- */
html.m-mobile #container {
    width: 100% !important;
    box-sizing: border-box;
    padding: 0 1.5rem;
}

html.m-mobile #header {
    display: none !important;
}

html.m-mobile #toLogin .w460 {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
}

html.m-mobile #toLogin .w460 > img,
html.m-mobile #toLogin .w468 > img {
    display: none !important;
}

html.m-mobile #toLogin .w468 {
    width: auto !important;
    position: static !important;
}

html.m-mobile #toLogin .f30 {
    display: none !important;
}

html.m-mobile #toLogin .wrongDiv {
    margin: 0.5rem 0 !important;
    font-size: 0.875rem !important;
    text-align: left !important;
}

html.m-mobile .m-form-head {
    display: flex;
    align-items: center;
    height: 3.5rem;
    margin: 1rem 0 1.5rem;
}

html.m-mobile .m-back {
    display: block;
    width: 2rem;
    height: 2rem;
    margin-right: 0.5rem;
    padding: 0;
    border: 0;
    background: none;
    color: #222;
    font-size: 1.5rem;
    line-height: 2rem;
    text-align: left;
    cursor: pointer;
}

html.m-mobile .m-form-head .m-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
}

html.m-mobile #toLogin .inputUser,
html.m-mobile #toLogin .inputUser01 {
    position: relative;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 0.875rem !important;
    padding: 0.625rem 1rem 0.75rem;
    box-sizing: border-box;
    background: #f4f4f4 !important;
    border-radius: 1rem;
}

html.m-mobile #toLogin .inputUser input,
html.m-mobile #toLogin .inputUser01 input {
    float: none !important;
    width: 100% !important;
    height: 1.75rem !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    color: #111;
    font-size: 1rem;
    line-height: 1.75rem;
    outline: none;
}

html.m-mobile #toLogin input::placeholder {
    color: transparent !important;
}

html.m-mobile .m-label {
    display: block;
    margin-bottom: 0.125rem;
    font-size: 0.75rem;
    line-height: 1rem;
    color: #9b9b9b;
}

html.m-mobile .m-eye {
    display: block;
    position: absolute;
    right: 1rem;
    bottom: 0.75rem;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

html.m-mobile .m-eye svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: #9b9b9b;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html.m-mobile .m-eye .m-eye-slash {
    display: none;
}

html.m-mobile .m-eye.m-eye-on .m-eye-slash {
    display: inline;
}

html.m-mobile #toLogin .m-captcha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100% !important;
    margin: 0 0 0.875rem !important;
    padding: 0.625rem 1rem 0.75rem;
    box-sizing: border-box;
    background: #f4f4f4 !important;
    border-radius: 1rem;
}

html.m-mobile #toLogin .m-captcha .m-label {
    flex: 0 0 100%;
}

html.m-mobile #toLogin .m-captcha input {
    flex: 1;
    width: auto !important;
    height: 1.75rem !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    color: #111;
    font-size: 1rem;
    line-height: 1.75rem;
    outline: none;
}

html.m-mobile #toLogin .m-captcha img {
    display: block;
    height: 2.25rem;
    margin-left: 0.75rem !important;
    cursor: pointer;
}

html.m-mobile #toLogin .btnLogin {
    display: block;
    width: 100% !important;
    height: 3.25rem !important;
    margin: 1.25rem 0 0 !important;
    border: 0 !important;
    border-radius: 1.625rem !important;
    background: linear-gradient(90deg, #2a9fdc 0%, #45c0f5 100%) !important;
    color: #fff !important;
    font-size: 1.125rem !important;
    cursor: pointer;
}

html.m-mobile #toLogin .m-links {
    width: 100% !important;
    margin-top: 0.75rem !important;
    text-align: center;
}

html.m-mobile #toLogin .m-links > div {
    display: none !important;
}

html.m-mobile #toLogin .m-links > a {
    float: none !important;
    display: inline-block;
    color: #999 !important;
    font-size: 0.875rem !important;
    text-decoration: underline;
}

html.m-mobile .login-logos,
html.m-mobile .login-copyright,
html.m-mobile .login-links {
    display: none !important;
}
