.flex {
    display: flex;
}

.login_tab {
    width: 380px;
    margin: 0 auto;
    padding: 100px 0;
    position: relative;
    z-index: 16;
    display: none;
}

.login_tab.active {
    display: block;
}

.wechat_tab {
    text-align: center;
}

.login_tab h2 {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.login_tab .flex {
    background-color: #f6f6f6;
    border-radius: 24px;
    padding: 3px;
}

.login_tab .flex a {
    color: #999;
    display: block;
    flex: 1;
    line-height: 48px;
    text-align: center;
    font-size: 16px;
    border-radius: 16px;
}

.login_tab .flex a.active {
    color: #fff;
    background: #336fff;
    background-clip: content-box;
    box-shadow: 0 5px 10px 0 rgba(51, 111, 255, .2);
    border-radius: 24px;
}

.login_container {
    display: flex;
    height: 100vh;
}

.login_bg {
    background: url(../images/login_bg.jpg) no-repeat;
    flex: 1;
    min-width: 0;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login_right {
    box-shadow: rgba(0, 0, 0, 0.07) 0px 4px 12px;
    width: 620px;
    flex-shrink: 0;
    z-index: 8;
    background-color: #fff;
}

.login_logo {
    width: 230px;
    position: absolute;
    top: 40px;
    left: 60px;
    z-index: 9;
}

.login_pc {
    background: url('../images/login_pc.png') no-repeat;
    background-size: contain;
    width: 50%;
    min-width: 680px;
    height: 680px;
    position: absolute;
    right: 80px;
    bottom: 60px;
}

.login_title {
    text-align: left;
    margin: 60px auto;
    line-height: 1.6;
    width: 380px;
}

.login_title h2 {
    font-size: 24px;
    font-weight: bolder;
}

.login_title h3 {
    font-size: 20px;
    font-weight: 300;
}

.login {
    width: 520px;
    margin: 0 auto;
}

.login_method-tab_btn {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    width: 75px;
    height: 75px;
    align-items: flex-start;
    justify-content: flex-end;
    cursor: pointer;
}


.qrcode-box {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.qrcode-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.qrcode-loading .layui-icon {
    font-size: 24px;
    color: #07C160;
    margin-bottom: 10px;
}

.qrcode-loading p {
    font-size: 14px;
    color: #666;
}


.login_method-tab_btn:hover:after {
    left: -60%
}

.login_method-tab_box {
    position: relative;
    z-index: 10
}

.login_method-tab_btn i {
    font-size: 50px;
    margin: 12px 12px 0;
    color: #60667C;
}

.login_method-tab_btn:after {
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    content: "";
    transition: .36s ease;
    transform: rotate(-45deg);
    transform-origin: 100% 50%;
    background-color: #fff
}

.login_weixin-tab_btn {
    line-height: 28px;
    position: absolute;
    top: 32px;
    right: 66px;
    padding: 0 19px;
    transition: .26s ease;
    color: #999;
    border: 1px solid #dedede;
    border-radius: 14px
}

.login_weixin-tab_btn:hover {
    color: #333;
    border-color: #25c725
}

.login_weixin-tab_btn i {
    font-size: 18px;
    margin-right: 8px;
    color: #25c725;
    vertical-align: bottom;
}

.elinput input {
    font-size: 18px;
    line-height: 45px;
    height: auto;
    padding: 0;
    color: #333;
    border: none;
    border-bottom: 1px solid #eaeaea;
    background-color: transparent;
    width: 100%;
}

.userlogin {
    padding-top: 46px;
}

.input_box {
    position: relative;
    margin-bottom: 32px;
}

.input_box .elinfo {
    font-size: 15px;
    line-height: 38px;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    text-align: left;
    transition: .1s linear;
    transform-origin: left bottom;
    pointer-events: none;
    color: #bbb;
    will-change: transform
}

.input_box.focus .elinfo,
.input_box.noempty .elinfo {
    font-size: 12px;
    transform: translateY(-23px);
}

.input_box.error .elinfo {
    color: #f00;
}

.input_box.error .elinfo.password {
    color: #bbb;
}

.input_box.error span.msg {
    display: inline-block !important;
}

.submit {
    margin-top: 80px;
}

.submit button {
    width: 100%;
    font-size: 15px;
    line-height: 48px;
    cursor: pointer;
    transition: .36s ease;
    text-align: center;
    color: #fff;
    border-radius: 24px;
    background-color: #336fff;
    box-shadow: 0 4px 10px rgba(51, 111, 255, .4)
}

.submit button i {
    display: none !important;
}

.submit button.logging {
    background-color: #ddd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
}

.submit button.logging i {
    display: inline-block !important;
}

.showtext {
    text-align: center;
    color: #999;
    margin-top: 24px;
    cursor: pointer;
    transition: .2s ease;
}

.showtext a {
    color: #999;
}

.showtext a:hover {
    color: #333;
}

.showtext:hover {
    color: #333;
}

.getsms {
    position: absolute;
    right: 0;
    top: 11px;
    font-size: 15px;
    color: #999;
}

.getsms:hover {
    color: #333;
}

.input_box .tip {
    margin-top: 10px;
    color: orange;
}

.description {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.qrcode-container {
    margin: 10px 0;
    padding: 20px;
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
    display: inline-block;
}

.qrcode {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.chk-status {
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    background: #f8f9fa;
    color: #666;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chk-status.scanning {
    background: #e3f2fd;
    color: #1976d2;
}

.chk-status.success {
    background: #e8f5e8;
    color: #2e7d32;
}

.wechat-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
    box-sizing: border-box;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.wechat-tips {
    margin-top: 20px;
    color: #999;
    font-size: 14px;
}


@media screen and (max-width: 1460px) {
    .login_pc {
        left: 80px;
    }
}

@media screen and (max-width: 960px) {
    .login_container {
        display: block;
        height: auto;
    }

    .login_pc {
        top: 0;
        background-size: contain;
        left: unset;
        right: 0;
        height: 380px;
        background-position: right;
    }

    .login_bg {
        position: absolute;
        top: 0;
        height: 100vh;
        left: 0;
        right: 0;
    }

    .login_right {
        width: 80%;
        margin: 0 auto;
        margin-top: 150px;
        overflow: hidden;
        position: relative;
        margin-bottom: 50px;
    }

    .login_title {
        margin: 20px auto;
        margin-top: 40px;
        text-align: center;
    }

    .login_method-tab_box {
        margin-right: 20px;
    }
}

@media screen and (max-width: 690px) {
    .login_pc {
        left: 0px;
        right: unset;
    }

    .login,
    .login_title {
        width: auto;
    }

    .login_tab {
        width: 80%;
    }

}

@media screen and (max-width: 580px) {
    .login_title h2 {
        font-size: 20px;
    }

    .login_title h3 {
        font-size: 16px;
    }
}

@media screen and (max-width: 475px) {
    .login_title h2 {
        font-size: 18px;
    }

    .login_title h3 {
        font-size: 16px;
    }

    .login_right {
        width: 94%;
        margin-top: 120px;
    }

    .login_logo {
        width: 200px;
        top: 20px;
        left: 16px;
    }
}