@charset "UTF-8";

/* ---- Login page shell (PC) ---- */
html.login-page,
body.login-page {
    min-height: 100%;
}

body.login-page {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 0;
    background: #004673;
    font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

body.login-page .login {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding-bottom: 0;
    background: #004673;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body.login-page .login-page-footer {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    height: auto;
    min-height: 8rem;
    margin-top: 0;
    line-height: 1.6;
    padding: 2rem 1.6rem;
    text-align: center;
    color: #3b7093;
    background: #004673;
}

body.login-page .login-page-footer .-footer-bottom {
    margin: 0;
    line-height: 1.6;
}

body.login-page .login-page-footer a {
    color: #3b7093;
    text-decoration: none;
    margin: 0 1rem;
}

body.login-page .login-page-footer a:hover {
    text-decoration: underline;
}

body.login-page .logodiv {
    width: 100%;
    text-align: center;
    padding-top: 10rem;
    padding-bottom: 5rem;
}

body.login-page .logodiv img {
    display: block;
    width: 25rem;
    max-width: 60vw;
    height: auto;
    margin: 0 auto;
}

body.login-page .login .login-wrap .bottom.flex-between a {
    color: #376eb4 !important;
    padding: 4rem 0;
    font-size: 1.6rem;
    text-decoration: none;
}

@media (max-width: 1366px) {
    body.login-page .logodiv {
        padding-top: 6rem;
        padding-bottom: 3.5rem;
    }
}

@media (max-width: 1280px) {
    body.login-page .logodiv {
        padding-top: 5rem;
        padding-bottom: 3rem;
    }

    body.login-page .logodiv img {
        width: 22rem;
    }
}

/* ---- Auth components ---- */
.auth-title {
    margin: 0 0 2.4rem;
    color: #e8f1fa;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.06em;
}

.auth-block {
    margin: 0 0 2.4rem;
    text-align: left;
}

.auth-seg {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    padding: 0.4rem;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: rgba(0, 20, 40, 0.35);
    border: 1px solid rgba(180, 205, 240, 0.22);
    border-radius: 0.6rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.auth-seg__btn {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 0%;
    flex: 1 1 0%;
    width: auto;
    min-width: 0;
    min-height: 4rem;
    margin: 0;
    padding: 0 0.4rem;
    border: 0;
    border-radius: 0.4rem;
    background: transparent;
    color: #8fb4d4;
    font: inherit;
    font-size: 1.5rem;
    line-height: 1.2;
    cursor: pointer;
    -webkit-transition: background-color 0.2s ease, color 0.2s ease;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.auth-seg__btn::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.auth-seg__btn.is-on {
    background: #376eb4;
    color: #ffffff;
}

.auth-seg__btn:hover:not(.is-on) {
    color: #e8f1fa;
}

.auth-seg__btn:focus {
    outline: none;
}

.auth-seg__btn:focus-visible {
    outline: 2px solid #b4cdf0;
    outline-offset: 2px;
}

.auth-switch {
    margin: 1.8rem 0 0;
    text-align: center;
}

.auth-switch__btn {
    padding: 0;
    border: 0;
    background: none;
    color: #7eb3e0;
    font: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    text-decoration: underline;
    -webkit-text-decoration-skip-ink: auto;
    text-decoration-skip-ink: auto;
    text-underline-offset: 0.3rem;
    -webkit-transition: color 0.2s ease;
    transition: color 0.2s ease;
}

.auth-switch__btn::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.auth-switch__btn:hover {
    color: #b4cdf0;
}

.auth-switch__btn:focus {
    outline: none;
}

.auth-switch__btn:focus-visible {
    outline: 2px solid #b4cdf0;
    outline-offset: 3px;
}

.login .login-wrap .auth-switch + button,
.login-wrap .login .auth-switch + .btn {
    margin-top: 2.4rem;
}

/* ---- Form controls (cross-browser) ---- */
.login .login-wrap input,
.login .login-wrap button,
.login .login-wrap label {
    font: inherit;
}

.login .login-wrap input[type="text"],
.login .login-wrap input[type="password"],
.login .login-wrap input[type="tel"],
.login .login-wrap input[type="number"] {
    -moz-appearance: none;
    appearance: none;
    caret-color: #ffffff;
}

.login .login-wrap input[type="text"]::-webkit-input-placeholder,
.login .login-wrap input[type="password"]::-webkit-input-placeholder,
.login .login-wrap input[type="tel"]::-webkit-input-placeholder,
.login .login-wrap input[type="number"]::-webkit-input-placeholder {
    color: #8fb4d4 !important;
    opacity: 1;
}

.login .login-wrap input[type="text"]::-moz-placeholder,
.login .login-wrap input[type="password"]::-moz-placeholder,
.login .login-wrap input[type="tel"]::-moz-placeholder,
.login .login-wrap input[type="number"]::-moz-placeholder {
    color: #8fb4d4 !important;
    opacity: 1;
}

.login .login-wrap input[type="text"]::placeholder,
.login .login-wrap input[type="password"]::placeholder,
.login .login-wrap input[type="tel"]::placeholder,
.login .login-wrap input[type="number"]::placeholder {
    color: #8fb4d4 !important;
    opacity: 1;
}

.login .login-wrap input[type="text"]:-ms-input-placeholder,
.login .login-wrap input[type="password"]:-ms-input-placeholder,
.login .login-wrap input[type="tel"]:-ms-input-placeholder,
.login .login-wrap input[type="number"]:-ms-input-placeholder {
    color: #8fb4d4 !important;
    opacity: 1;
}

.login .login-wrap input[type="text"]:-webkit-autofill,
.login .login-wrap input[type="password"]:-webkit-autofill,
.login .login-wrap input[type="tel"]:-webkit-autofill,
.login .login-wrap input[type="number"]:-webkit-autofill,
.login .login-wrap input[type="text"]:-webkit-autofill:hover,
.login .login-wrap input[type="password"]:-webkit-autofill:hover,
.login .login-wrap input[type="tel"]:-webkit-autofill:hover,
.login .login-wrap input[type="number"]:-webkit-autofill:hover,
.login .login-wrap input[type="text"]:-webkit-autofill:focus,
.login .login-wrap input[type="password"]:-webkit-autofill:focus,
.login .login-wrap input[type="tel"]:-webkit-autofill:focus,
.login .login-wrap input[type="number"]:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0 1000px #004673 inset !important;
    box-shadow: 0 0 0 1000px #004673 inset !important;
    transition: background-color 50000s ease-in-out 0s;
}

.login .login-wrap input[type="password"]::-ms-reveal,
.login .login-wrap input[type="password"]::-ms-clear,
.login .login-wrap input[type="text"]::-ms-clear {
    display: none;
}

.login .login-wrap input:focus {
    outline: none;
    border-bottom-color: #b4cdf0 !important;
}

.login .login-wrap button:not(.auth-seg__btn):not(.auth-switch__btn) {
    font: inherit;
    line-height: 1.4;
}

.login .login-wrap button:not(.auth-seg__btn):not(.auth-switch__btn):disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.login .login-wrap button:not(.auth-seg__btn):not(.auth-switch__btn)::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* ---- Captcha row ---- */
.login .login-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.login .login-item-qrcode {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.login .login-item-qrcode img {
    display: block;
    width: auto;
    height: 3.6rem;
    margin-top: 0;
    cursor: pointer;
}

/* ---- Privacy agreement ---- */
.auth-privacy {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-top: 3.2rem;
    margin-bottom: 0.8rem;
}

.auth-privacy__checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 1.8rem;
    height: 1.8rem;
    min-width: 1.8rem;
    margin: 0.2rem 1rem 0 0;
    padding: 0;
    border: 1px solid #8fb4d4;
    border-radius: 0.2rem;
    background: transparent;
    cursor: pointer;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.auth-privacy__checkbox:checked {
    background-color: #376eb4;
    border-color: #376eb4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1 5l3 3 7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1rem 0.8rem;
}

.auth-privacy__checkbox:focus {
    outline: none;
}

.auth-privacy__checkbox:focus-visible {
    outline: 2px solid #b4cdf0;
    outline-offset: 2px;
}

.login .login-wrap .auth-privacy__label {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.65;
    color: #ffffff;
    cursor: pointer;
}

.login .login-wrap .auth-privacy__label .linkprivacy {
    color: #7eb3e0 !important;
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.login .login-wrap .auth-privacy__label .linkprivacy:hover {
    color: #b4cdf0 !important;
}

@media (prefers-reduced-motion: reduce) {
    .auth-seg__btn,
    .auth-switch__btn {
        -webkit-transition: none;
        transition: none;
    }
}
