html, body {
    margin: 0;
    min-height: 100%;
}
body {
    background: #fff;
    color: #555;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    font-size: 14px;
}
body.country-modal-open {
    overflow: hidden;
}
button, input {
    font: inherit;
}
a {
    color: #1b75bb;
    text-decoration: none;
}
a:hover {
    color: #228bca;
}
[hidden] {
    display: none !important;
}
.auth-page--login {
    position: static;
    background: #fff;
}
.legacy-login-shell {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 827px;
    height: 524px;
    margin-top: -262px;
    margin-left: -413px;
    background: url('../images/cj-bj.jpg') no-repeat center center;
}
.legacy-login {
    width: 360px;
    min-height: 560px;
    margin: 0 auto;
}
.legacy-login-logo {
    display: block;
    width: 360px;
    height: 105px;
    background: url('../images/logo_login.jpg') no-repeat 0 0;
}
.legacy-login-box {
    width: 360px;
    padding: 4% 2%;
}
.legacy-login-title {
    width: 100%;
}
.legacy-login-title h1 {
    height: 60px;
    margin: 0;
    padding-top: 30px;
    color: #000;
    font-size: 24px;
    font-weight: 400;
    line-height: 30px;
    text-align: center;
}
.auth-tabs {
    display: flex;
    width: calc(100% - 34px);
    margin: 0 17px;
    justify-content: space-between;
}
.auth-tab {
    width: 50%;
    height: 50px;
    padding: 0;
    border: 0;
    background: #fff;
    color: #555;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 16px;
    line-height: 50px;
    text-align: center;
}
.auth-tab.is-active {
    color: #f55117;
    font-weight: 700;
}
.auth-panel {
    display: none;
    width: 100%;
    padding: 12px 17px 0;
    box-sizing: border-box;
}
.auth-panel.is-active {
    display: block;
}
.auth-panel[hidden] {
    display: none !important;
}
.auth-phone-field {
    position: relative;
    display: flex;
    width: 100%;
    height: 44px;
    margin: 0 0 14px;
    border: 1px solid #dadada;
    border-radius: 5px;
    background: #fff;
    box-sizing: border-box;
}
.auth-country-trigger {
    position: relative;
    width: 127px;
    height: 30px;
    margin-top: 7px;
    padding: 0 20px 0 12px;
    border: 0;
    border-right: 1px solid #dadada;
    background: transparent;
    box-sizing: border-box;
    color: #656d78;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 30px;
    text-align: left;
    white-space: nowrap;
}
.auth-country-name {
    display: inline-block;
    float: left;
    width: 60px;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.auth-country-code {
    display: inline-block;
    float: left;
    margin-left: 12px;
}
.auth-country-arrow-image {
    position: absolute;
    top: 12px;
    right: 5px;
    width: 7px;
    height: 5px;
}
.auth-phone-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    padding: 0 8px;
    border: 0;
    outline: 0;
    background: #fff;
    box-sizing: border-box;
    color: #656d78;
    font-size: 16px;
    line-height: 42px;
}
.auth-phone-input:focus,
.auth-code-input:focus,
.auth-account-input:focus,
.register-field:focus-within,
.auth-phone-field:focus-within {
    border-color: #3ea3de;
}
.auth-code-row {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}
.auth-code-row--login .auth-code-input {
    width: 130px;
}
.auth-code-row--login .auth-code-button {
    width: 120px;
}
.auth-code-input {
    height: 44px;
    padding: 0 12px;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    background: #fff;
    box-sizing: border-box;
    color: #555;
    font-size: 14px;
    outline: 0;
}
.auth-code-button {
    display: block;
    height: 46px;
    padding: 0;
    border: 1px solid #3fa4df;
    border-radius: 5px;
    background: #ebf5fb;
    box-sizing: border-box;
    color: #3fa4df;
    cursor: pointer;
    font-size: 14px;
}
.auth-code-button:hover:not(:disabled) {
    background: #e1f1fa;
}
.auth-code-button:disabled {
    border-color: #dcdcdc;
    background: #f0f0f0;
    color: #7a879f;
    cursor: not-allowed;
}
.auth-code-message {
    width: 100%;
    min-height: 28px;
    color: #ef5959;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 28px;
}
.auth-code-message.is-success {
    color: #2f9f65;
}
.auth-agreement {
    display: flex;
    align-items: flex-start;
    color: #656d78;
    cursor: pointer;
    font-size: 12px;
    line-height: 20px;
}
.auth-agreement input {
    width: 14px;
    height: 14px;
    margin: 3px 7px 0 0;
}
.auth-agreement--login {
    margin: 0 0 4px;
}
.auth-remember {
    display: flex;
    align-items: center;
    min-height: 22px;
    margin: 2px 0 0;
    color: #656d78;
    cursor: pointer;
    font-size: 12px;
    line-height: 20px;
}
.auth-remember input {
    width: 14px;
    height: 14px;
    margin: 0 7px 0 0;
}
.auth-primary {
    display: block;
    width: 100%;
    height: 45px;
    margin-top: 10px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: #3ea3de;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    line-height: 45px;
    text-align: center;
}
.auth-primary:hover:not(:disabled) {
    background: #228bca;
}
.auth-primary:disabled {
    opacity: .65;
    cursor: not-allowed;
}
.auth-field-label {
    width: 95%;
    margin: 0 0 5px;
    color: #555;
    line-height: 20px;
}
.auth-account-input {
    width: 95%;
    height: 40px;
    margin: 0 0 12px;
    padding: 0 42px 0 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    background-position: right center;
    background-repeat: no-repeat;
    box-sizing: border-box;
    color: #555;
    line-height: 40px;
    outline: 0;
}
.auth-account-input--email {
    background-image: url('../images/zh.jpg');
}
.auth-account-input--password {
    background-image: url('../images/mm.jpg');
}
.auth-login-separator {
    width: 100%;
    height: 30px;
    margin-top: 15px;
    border-bottom: 1px solid #ccc;
    box-sizing: border-box;
}
.auth-secondary {
    display: block;
    width: 100%;
    height: 45px;
    margin-top: 10px;
    border: 0;
    border-radius: 3px;
    background: #e1e7eb;
    color: #58595b;
    font-size: 20px;
    line-height: 45px;
    text-align: center;
}
.auth-secondary:hover {
    background: #c4cfd7;
    color: #58595b;
}
.auth-home-link {
    margin: 12px 0 0;
    font-size: 14px;
}
.auth-page--register {
    position: static;
    min-height: 920px;
    background: #fff;
}
.legacy-register-shell {
    position: relative;
    width: 480px;
    min-height: 850px;
    margin: 34px auto 60px;
}
.legacy-register-logo {
    display: block;
    width: 230px;
    height: 94px;
    background: url('../images/logo.gif') no-repeat 0 0;
}
.legacy-register-heading {
    width: 430px;
    height: 85px;
    margin-top: 20px;
    border-bottom: 1px solid #ccc;
}
.legacy-register-heading h1 {
    display: block;
    float: left;
    height: 30px;
    margin: 0;
    color: #000;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
}
.legacy-register-heading > span {
    display: block;
    float: left;
    height: 30px;
    padding-left: 10px;
    line-height: 30px;
}
.legacy-register-heading p {
    float: left;
    width: 100%;
    margin: 8px 0 0;
    line-height: 25px;
}
.legacy-register-shell form {
    width: 430px;
    margin-top: 20px;
}
.register-field {
    position: relative;
    display: flex;
    width: 430px;
    height: 48px;
    border: 1px solid #dadada;
    box-sizing: border-box;
    line-height: 48px;
}
.register-field-icon {
    display: block;
    flex: 0 0 56px;
    width: 56px;
    height: 46px;
    background: #efefef url('../images/login-icon.png') no-repeat;
}
.register-field--user .register-field-icon {
    background-position: 10px 0;
}
.register-field--password .register-field-icon {
    background-position: 10px -50px;
}
.register-field input {
    width: 350px;
    height: 46px;
    padding: 0 0 0 20px;
    border: 0;
    outline: 0;
    box-sizing: border-box;
    color: #555;
    font-size: 16px;
    line-height: 46px;
}
.register-field i {
    position: absolute;
    top: 0;
    right: -20px;
    display: block;
    color: #ff6f3d;
    font-size: 14px;
    font-style: normal;
    line-height: 48px;
}
.register-field-gap {
    height: 28px;
}
.auth-phone-field--register {
    width: 430px;
    margin-bottom: 0;
}
.auth-phone-field--register .auth-phone-input {
    width: 289px;
}
.auth-required {
    position: absolute;
    top: 0;
    right: -20px;
    color: #ff6f3d;
    font-size: 14px;
    font-style: normal;
    line-height: 44px;
}
.auth-code-row--register {
    width: 430px;
}
.auth-code-row--register .auth-code-input {
    width: 224px;
}
.auth-code-row--register .auth-code-button {
    width: 148px;
}
.auth-agreement--register {
    width: 430px;
    margin: 6px 0 0;
}
.auth-primary--register,
.auth-secondary--register {
    width: 432px;
    height: 50px;
    font-size: 22px;
    line-height: 50px;
}
.auth-primary--register {
    margin-top: 20px;
}
.auth-login-separator--register {
    width: 430px;
    height: 25px;
    margin-top: 15px;
}
.auth-secondary--register {
    margin-top: 10px;
}
.register-home {
    margin: 10px 0 0;
    font-size: 16px;
}
.register-home a {
    color: #000;
    line-height: 36px;
}
.third-party-login {
    width: 430px;
    margin-top: 18px;
    text-align: left;
    margin-left: 20px;
}
.third-party-login__title {
    margin-bottom: 10px;
    color: #777;
    font-size: 14px;
    line-height: 20px;
}
.third-party-login__google {
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
}
.third-party-login__google-icon {
    display: block;
    width: 50px;
    height: 50px;
}
.auth-alert {
    width: 100%;
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 20px;
}
.auth-alert[hidden] {
    display: none !important;
}
.auth-alert--error {
    border: 1px solid #efb0b0;
    background: #fff7f7;
    color: #d94a4a;
}
.auth-alert--success {
    border: 1px solid #a9ddbd;
    background: #f4fff8;
    color: #2f8a53;
}
.country-modal-backdrop {
    position: fixed;
    z-index: 9998;
    inset: 0;
    background: rgba(0, 0, 0, .5);
}
.country-modal-backdrop[hidden],
.country-modal[hidden] {
    display: none !important;
}
.country-modal {
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    width: 512px;
    height: 628px;
    overflow: hidden;
    transform: translate(-50%, -50%);
    border-radius: 16px;
    background: #fff;
    color: #22292e;
    box-sizing: border-box;
}
.country-modal__title {
    height: 60px;
    margin: 0;
    border-bottom: 1px solid #c5c5c7;
    border-radius: 16px 16px 0 0;
    background: #fff;
    color: #22292e;
    box-sizing: border-box;
    font-size: 20px;
    font-weight: 600;
    line-height: 60px;
    text-align: center;
}
.country-modal__close {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.country-modal__close::before,
.country-modal__close::after {
    content: "";
    position: absolute;
    top: 19px;
    left: 11px;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #9aa0a8;
}
.country-modal__close::before {
    transform: rotate(45deg);
}
.country-modal__close::after {
    transform: rotate(-45deg);
}
.country-modal__close:hover::before,
.country-modal__close:hover::after {
    background: #222;
}
.country-modal__letters {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 20px;
    width: 40px;
    margin: 20px 0 0;
    padding: 20px 0;
    transform: translateY(-50%);
    border-radius: 20px;
    background: #f5f5f5;
    box-sizing: border-box;
    list-style: none;
    text-align: center;
}
.country-modal__letters li {
    width: 40px;
    height: 20px;
    margin: 0;
    padding: 0;
}
.country-modal__letters button {
    width: 40px;
    height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #8a8a8e;
    cursor: pointer;
    font-size: 14px;
    line-height: 20px;
}
.country-modal__letters button.is-active {
    color: #5859f3;
}
.country-modal__scroll {
    height: 568px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #8a8a8e transparent;
    scrollbar-width: auto;
}
.country-modal__scroll::-webkit-scrollbar {
    width: 10px;
}
.country-modal__scroll::-webkit-scrollbar-track {
    background: transparent;
}
.country-modal__scroll::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 8px;
    background: #8a8a8e;
    background-clip: padding-box;
}
.country-modal__list {
    position: relative;
    padding: 0 50px 30px 30px;
    box-sizing: border-box;
}
.country-group {
    padding: 20px 0;
    scroll-margin-top: 0;
}
.country-group h3 {
    margin: 0;
    color: #8a8a8e;
    font-size: 16px;
    font-weight: 700;
    line-height: 25px;
}
.country-hot-list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
}
.country-hot-list button {
    margin: 0;
    padding: 10px 30px 10px 0;
    border: 0;
    background: transparent;
    color: #22292e;
    cursor: pointer;
    font-size: 14px;
    line-height: 25px;
}
.country-hot-list button:hover,
.country-row:hover {
    color: #5859f3;
}
.country-row {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 7px 20px 7px 0;
    border: 0;
    background: transparent;
    box-sizing: border-box;
    color: #22292e;
    cursor: pointer;
    font-size: 14px;
    line-height: 25px;
    text-align: left;
}
.country-row__code {
    flex: 1 1 auto;
    margin-left: 20px;
    color: #8a8a8e;
    text-align: right;
}
@media (max-width: 560px) {
    .country-modal {
        width: calc(100% - 28px);
        height: min(628px, calc(100vh - 28px));
    }
    .country-modal__scroll {
        height: calc(100% - 60px);
    }
    .country-modal__letters {
        right: 8px;
    }
    .country-modal__list {
        padding-left: 20px;
        padding-right: 42px;
    }
}
