@import url("./styles/roots.css");
@import url("./styles/fonts.css");

* {
    box-sizing: border-box;
}

body {
    width: 100vw;
    margin: 0px;

    font-family: "Microsoft Yahei";
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;

    color: var(--color);

    background-image: url("./assets/loginbackground.jpg");
    background-size: cover;
}

.header {
    width: 100%;
    background-color: #252B3A;
    height: 45px;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

#logo {
    margin-top: 5px;
    height: 35px;
}

.header__nav {
    display: flex;
    align-items: center;
}

.header__nav-list {
    display: flex;
    list-style: none;
    margin: 0;
}

.header__nav-item {
    margin-left: 20px;
}

.header__nav-item a {
    color: #A0A2A8;
    text-decoration: none;
}

.header__nav-list a:hover {
    color: #7BE1A5;
}

.login {
    height: 100%;
    min-height: 770px;
    /* min-width: 980px; */
    background-size: 100% 100%;
    overflow-y: auto;
}

.login__container {
    width: 100%;
    max-width: 1240px;
    position: relative;
    margin: 0 auto;
    padding: 0 20px;
}

.login__logo {
    float: left;
    max-height: 515px;
    padding-left: 40px;
    margin-top: 40px;
    max-width: 800px;
}

#login__logo {
    max-width: 800px;
}

.login__form {
    width: 380px;
    display: inline-block;
    margin-top: 80px;
    margin-left: 20px;
    background-color: #fff;
    color: #C1C1C1;
    font-size: 14px;
    border-color: rgba(228, 228, 228, 1);
    border-radius: 0;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .1);
}

.login__form-header {
    color: #666;
    font-size: 14px;
    font-style: normal;
    padding: 24px 30px 10px;
    text-align: center;
}

.login__form-header span {
    display: inline-block;
    width: 100%;
    line-height: 18px;
    font-size: 18px;
    font-family: PingFangSC-Medium;
    text-align: center;
    color: #252B3A;
}

.login__form-error {
    display: block;
    min-height: 32px;
    font-size: 12px;
    padding: 0 30px;
    color: #13F132;
}

.login__form-error span {
    display: none;
}

#form {
    padding: 0 30px;
}

.form__element {
    position: relative;
    margin-bottom: 16px !important;
    font-size: 14px !important;
    border-bottom: 1px solid #DFE1E6;
}

.form__element:hover {
    border-bottom: 1px solid #8A8E99;
}

.form__element input {
    width: 90%;
    height: 36px;
    line-height: 20px;
    border-radius: 0;
    font-family: PingFangSC-Regular;
    padding: 0 8px;
    box-shadow: none;
    border: none;
    color: #333;
    font-size: 14px;
}

.form__element input:focus-visible {
    border: none;
    outline: none;
}

.form__password-hide {
    top: 10px;
    right: 8px;
    position: absolute;
    width: 15px;
    height: 15px;
}

.form__password-icon::before {
  content: "\eaba";
  color: #777;
  font-family: 'cloudfont';
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  cursor: pointer;
}

.form__password-icon.password-visible::before {
  content: "\eabb";
}

.form__checkbox {
    display: flex;
    justify-content: end;
    font-size: 12px;
    color: #252B3A;
}

.form__checkbox label {
    cursor: pointer;
    display: inline-block;
    margin-bottom: .2rem;
    padding-right: 8px;
    padding-top: 2px;
}

.form__buttons {
    margin: 52px 8px 30px;
    width: 304px;
}

.form__submit {
    cursor: pointer;
    background-color: #13F132;
    border: none;
    border-radius: 2px;
    color: #fff;
    width: 100%;
    text-align: center;
    font-size: 15px !important;
    height: 36px;
    margin: 0 auto;
    display: block;
    line-height: 36px;
}

.form__submit:hover {
    box-shadow: 0 8px 16px #7BE1A5;
    outline: 0;
}

.form__links {
    margin: 16px auto 30px;
    height: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.form__links-line {
    float: left;
    width: 1px;
    margin: 0 2px;
    height: 12px;
    background: #DFE1E6;
}
finish_msg
.form__links-item {
    width: 100px;
    float: left;
    min-width: 70px;
    flex-grow: 1;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
}

.form__links-item a {
    font-size: 12px;
    color: #252B3A;
    line-height: 16px;
    outline: none;
    text-decoration: none;
}

.form__links-item a:hover {
    color: #13F132;
    text-decoration: underline;
}


@media (max-width: 1269px) {
    .login__form {
        z-index: 10;
        position: absolute;
        left: 47%;
        top: -10px;
    }
}

.finish_msg {
    padding: 20px;
    color: black;
    font-weight: 400;
}