﻿body {
    margin: 0;
    padding: 0;
}

.login-container {
    position: relative;
    min-height: 100vh;
    width: 100vw;
    background-color: #fff;
    overflow: hidden;
    background-size:100% 100%; 
}

#switch-login-type {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 999;
}

#login-type-hover-img {
    margin-top: 8px;
    visibility: hidden;
    vertical-align: top;
}

#switch-login-type:hover #login-type-hover-img {
    visibility: visible;
}

.login-form {
    /* position: relative; */
    /* width: 348px; */
    /* max-width: 100%; */
    /* height: 400px; */
    /* padding: 160px 35px 0; */
    /* margin: 0 auto; */
    margin-top: -27px;
    overflow: hidden;
}

#wechatLogin {
    width: 300px;
    position: absolute;
    left: 48px;
    top: 57px;
    z-index: 99;
    display: none;
}

    #wechatLogin img {
        width: 200px !important;
    }

.login-box {
    width: 340px;
    height: 397px;
    background-color: #fff;
    position: absolute;
    right: 300px;
    top: 30%;
    padding: 30px;
    border-radius: 10px;
}


.title-container {
    position: relative;
}

.title {
    font-size: 20px;
    color: #303133;
    margin: 0px auto 40px auto;
    text-align: center;
    font-weight: bold;
}

.bind-title {
    font-size: 20px;
    color: #303133;
    margin: 0px auto 12px auto;
    text-align: center;
    font-weight: bold;
}

.tip {
    text-align: center;
    font-size: 12px;
    color: #303131;
    margin: 0 auto 40px;
}

.form-item {
    /*border: 1px solid rgba(255, 255, 255, 0.1);*/
    /* background: rgba(0, 0, 0, 0.1); */
    /*border-radius: 5px;
    color: #454545;
    border-radius: 19px;
    height: 38px;
    line-height: 38px;
    position: relative;
    margin-top: 28px;*/
}


    .form-item .password-eye-box {
        position: absolute;
        right: 12px;
        top: 11px;
        width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
    }


.verify {
    position: relative;
}

.form-btn {
    width: 100%;
    height: 38px;
    line-height: 38px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 19px;
    /* background: #2380ff; */
    color: #fff;
    cursor: pointer;
    /* background:linear-gradient(to right,#73d3ff,#2380ff,) */
    background: -webkit-linear-gradient(left,#73d3ff,#2380ff );
    background: -o-linear-gradient(left,#73d3ff,#2380ff);
    background: -moz-linear-gradient(left,#73d3ff,#2380ff);
    background: -ms-linear-gradient(left,#73d3ff,#2380ff);
}

    .form-btn:hover {
        background: -webkit-linear-gradient(left,#73d3ff,#2380ff );
        background: -o-linear-gradient(left,#73d3ff,#2380ff);
        background: -moz-linear-gradient(left,#73d3ff,#2380ff);
        background: -ms-linear-gradient(left,#73d3ff,#2380ff);
    }

.error {
    height: 12px;
    color: #F56C6C;
    font-size: 12px;
    line-height: 1;
    margin-top: 10px;
    padding-left: 10px;
}

.logo {
    position: absolute;
    top: 14px;
    margin-left: 36px;
    height: 30px;
}

.waiting {
    animation: rotating 1s linear infinite;
    width: 16px;
    height: 16px;
}

@keyframes rotating {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(1turn);
    }
}

input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    background-color: #fff;
    background-image: none;
    transition: background-color 50000s ease-in-out 0s;
}

input {
    background-color: transparent;
}


.login--pre {
    /* display: none; */
    z-index: 1;
    opacity: 0;
    transform: translateX(-30px) !important;
}
/* .login--next {
  opacity: 0;
  transform: translateX(50px);
  z-index: 1;
} */
.login--curr {
    /* display: block; */
    opacity: 1;
    z-index: 10;
    transform: translateX(0);
}

.login-logo {
    /* float: left; */
    width: 90px;
    height: 30px;
    margin-top: 24px;
    margin-left: 32px;
}

.logoImg {
    width: 100%;
    height: 100%;
}

.show {
    display: block;
}

.hidden {
    display: none;
}
/*  */
.login-wrapper {
    width: 100%;
    /* height: 110vh; */
}

.login-model {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 384px;
    /* height: 576px; */
    border-radius: 10px;
    transform: translate(-50%,-50%);
    padding: 70px 80px;
    box-sizing: border-box;
}

.code-box {
    height: 509px;
}

/* 内容 */
.login-model-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* min-height: 506px; */
    /* height: 100%; */
    padding: 50px 32px;
    transition: all 0.3s;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 14px 0 rgba(126, 134, 142, 0.16);
    box-sizing: border-box;
}

.model-mask-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 700px;
    z-index: 5;
    /* background-color: #74d4ff; */
}
/* 切换区 */
.login-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 70px;
    height: 70px;
    z-index: 99;
}

.bubble1,
.bubble2 {
    position: absolute;
    top: -10px;
    right: 30px;
    width: 158px;
    height: 98px;
}

.login-toggle--img {
    width: 100%;
    height: 100%;
}
/* 头部 */
.header-logo {
    width: 48px;
    height: 48px;
}

.header-title {
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
}

.header-tip {
    font-size: 16px;
    line-height: 30px;
    color: #171a1d;
    margin-top: 5px;
}
/* 头部 */

/* 中间部分 */
.model--middle {
    width: 100%;
    /* height: 280px; */
    margin-top: 40px;
}

.middle-title {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 28px;
}

.code-content {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 240px;
}

    .code-content > img {
        width: 240px;
        height: 240px;
    }

.code-mask {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 240px;
    background-color: rgba(0,0,0,0.5);
    z-index: 99;
}

.mask-tip {
    color: #fff;
    font-size: 16px;
    padding-bottom: 24px;
}

.refresh-btn {
    width: 56px;
    height: 24px;
    border-radius: 10px;
    text-align: center;
    line-height: 24px;
    font-size: 12px;
    color: #2380FF;
    background-color: #fff;
}

.user-info > img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.user-info .user-name {
    font-size: 16px;
    font-weight: bold;
    color: #979797;
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding-left: 12px;
    max-width: 180px;
}

.user-rg {
    position: relative;
    z-index: 999;
    font-size: 14px;
    color: #979797;
}

/* tab切换区 */
.tab-list {
    display: flex;
}

.tab-list--item {
    font-size: 16px;
    margin-right: 20px;
    cursor: pointer;
}

    .tab-list--item.active {
        position: relative;
        color: #2380FF;
        font-weight: bold;
    }

        .tab-list--item.active::before {
            position: absolute;
            content: "";
            width: 20px;
            height: 3px;
            border-radius: 2px;
            background-color: #2380FF;
            bottom: -11px;
            left: 50%;
            transform: translateX(-50%);
        }

.form-control2 {
    margin-left: 30px;
}

.area {
    position: absolute;
    left: 0px;
    top: 10px;
    font-size: 18px;
    color: #000;
}

.tab-products {
    padding-top: 10px;
}
/* .tab-products .tab-main {
  display: none;
}
.tab-products .tab-main.active {
  display: block;
} */
.middle-input {
    position: relative;
    width: 100%;
    height: 38px;
    margin-top: 20px;
    background-color: #f6f7fb;
    border-radius: 30px;
    overflow: hidden;
}

    .middle-input > input {
        width: 100%;
        height: 100%;
        padding: 0 16px;
        /*background-color: #f6f7fb;*/
        font-size: 13px;
    }

    .middle-input .area {
        font-size: 12px;
        margin-left: 16px;
    }

#v_container {
    position: absolute;
    right: 16px;
    top: 50%;
    width: 100px;
    height: 32px;
    transform: translateY(-50%);
    z-index: 999;
}

.comm-input {
    position: absolute;
    /* top: 50%; */
    height: 38px;
    line-height: 38px;
    right: 16px;
    /* transform: translateY(-50%); */
    cursor: pointer;
}

.pwd-icon {
    color: #707070;
}

.code-text {
    font-size: 12px;
    color: #2380FF;
}

.code-down {
    font-size: 12px;
    color: #979797;
}

.login-button {
    width: 100%;
    height: 48px;
    margin-top: 20px;
    border-radius: 25px;
    color: #fff;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
}

.login-button-1 {
    background-image: linear-gradient(to bottom right, #74d4ff, #2380ff);
}

.login-button-2 {
    background-image: linear-gradient(to bottom right, #c0c9d6, #c0c9d6);
}

input::placeholder {
    color: #999;
    border-width: 0px;
}

.reg-mobile {
    font-size: 14px;
    padding-top: 20px;
}
/* 中间部分 */

/* 底部 */
.model--footer {
    margin-top: 20px;
}

.footer-code-title {
    font-size: 12px;
    color: rgba(0,0,0,0.75);
}

.footer-tips {
    font-size: 12px;
    color: rgba(0,0,0,0.55);
    padding-top: 12px;
}

.footer-link {
    color: #2380FF;
}

.footer-pwd {
    margin-bottom: 20px;
    color: #979797;
    font-size: 14px;
}

    .footer-pwd input[type="checkbox"] {
        display: inline-block;
        position: relative;
        width: 14px;
        height: 14px;
        text-align: center;
        vertical-align: middle;
        line-height: 18px;
        margin-right: 8px;
        cursor: pointer;
    }

.footer-read {
    justify-content: flex-start;
    align-items: flex-start;
}

.read-agree {
    /* width: 228px; */
    font-size: 12px;
    margin-left: 8px;
}

.footer-other {
    margin-top: 20px;
}

.footer-other--type {
    width: 50%;
    text-align: center;
    line-height: 30px;
    border-right: 1px solid rgba(0,0,0,0.15);
    color: #2380FF;
    font-size: 14px;
    cursor: pointer;
}

.footer-other--text {
    color: #979797;
    font-size: 14px;
}

.third-icon > img {
    margin-left: 28px;
    cursor: pointer;
}
/* 底部 */

.text-tips {
    font-size: 12px;
    color: #FF6159;
    /* padding-top: 8px; */
}


@media screen and (max-width: 500px) {
    .login-wrapper {
        width: 100%;
        height: 100%;
    }

    .login-model {
        top: 60%;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .login-model-box {
        box-shadow: 0 0px 0px transparent;
        padding: 80px 50px;
    }

    .login-toggle {
        right: 30px;
    }
}

input {
    border-width: 0px;
    outline: none;
}

    input:focus {
        border-color: #FFF !important;
    }

button {
    border-width: 0px;
}

.back-text {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 12px;
    color: #b3b3b5;
}

a {
    text-decoration: none;
    color: #606266;
}

a:hover {
    text-decoration: none;
    color: #57a2ff;
}

a:active {
    text-decoration: none;
    color: #57a2ff;
}



.loading-animation {
    width: 22px;
    height: 22px;
    border: 2px solid #dceaff;
    border-bottom-color: #2380ff;
    border-radius: 50%;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}


.animation-wrap {
    position: absolute;
    top: 50%;
    left: calc(50% - 22px);
    transform: translate(-50%, -50%);
}

.loading-text {
    margin-left: 36px;
}

.logo-card {
    position: absolute;
    top: 36px;
    left: 64px;
    display: flex;
    align-items: center;
}

.logo-join-img {
    width: 16px;
    height: 16px;
    margin: 0 16px;
}

#logo-firm, #logo-img {
    height: 36px;
}