.login {
    display: flex;
    height: 100vh;
    background-color: #fff;
}

.text-center {
    text-align: center;
}

.logo {
    width: 118px;
    content: url('../imgs/logo.png') !important;
}

a {
    color: #3B4CB5;
    text-decoration: underline;
}


.layui-btn {
    background-color: #3B4CB5;
    position: relative;
}

.layui-form-pane .layui-input {
    border: 0;
    border-left: 1px solid #BAC8D3; /* #eee;*/
}

.layui-form-checked[lay-skin=primary] i {
    background-color: #3B4CB5 !important;
    border-color: #3B4CB5 !important;
}

.login-left,
.login-right {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.login-left {
    background: url(../imgs/login.png) no-repeat;
    background-size: cover;
    font-size: 80px;
    font-weight: bold;
    color: #fff;
    justify-content: center;
}


.login-right .header-right {
    position: absolute;
    right: 20px;
    top: 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

    .login-right .header-right img {
        margin-left: 15px;
        width: 118px;
    }

    .login-right .header-right .language {
        color: #9FABB9;
        font-size: 14px;
    }

        .login-right .header-right .language span {
            cursor: pointer;
        }

            .login-right .header-right .language span:first-child {
                margin-right: 5px;
            }

            .login-right .header-right .language span:last-child {
                margin-left: 5px;
            }

        .login-right .header-right .language .current {
            color: #333;
        }

.login-right .login-form {
    width: 400px;
    margin: 0 auto;
}

.login-right .title {
    font-size: 36px;
    color: #3B4CB5;
    font-weight: bold;
}

.login-right .tips {
    color: #333;
    font-size: 22px;
    margin: 5px 0 10px;
}
/*by kevin*/
.login-right .err-info-tip {
    min-height: 18px;
    min-width: 30px;
    margin: 32px 0px 16px 0px;
    color: red;
    line-height: 18px;
}

.layui-form-pane .layui-form-label {
    width: 50px;
}

    .layui-form-pane .layui-form-label img {
        margin-top: 2px;
    }

.layui-form-pane .layui-input-block {
    margin-left: 50px;
}

.remember {
    display: flex;
    justify-content: space-between;
    margin: 5px 0 20px;
}

    .remember .left {
        margin-left: -10px;
    }
/*by whf*/
.login-right .auth {
    position: absolute;
    width: 100%;
    text-align: center;
    margin-top: 380px;
    color: #999999;
    font-size: 14px;
}

.login-right .authdtl {
    position: absolute;
    width: 100%;
    text-align: center;
    margin-top: 440px;
    color: #999999;
    font-size: 14px;
}
/* whf ---end*/
.login-right .keep {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 15px;
    color: #999999;
    font-size: 14px;
}

.login-form .layui-btn.loading:after {
    content: '';
    position: absolute;
    right: 14px;
    top: 0px;
    bottom: 0px;
    width: 20px;
    height: 20px;
    margin: auto;
    background-color: transparent;
    background-image: url(../imgs/loading.gif);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.login-form .layui-btn.loading {
    opacity: 0.35;
}

.layui-form-item.form-input-txt {
    border-color: #BAC8D3 !important;
}

.login-form .layui-btn {
    margin-bottom: 15px;
}

    .login-form .layui-btn + .layui-btn {
        margin-left: 0px;
    }

    .login-form .layui-btn img {
        width: 25px;
        height: 25px;
    }

    .login-form .layui-btn.login-external {
        background-color: #eef2ff;
        color: #3B4CB5;
        border: 1px solid #c7d2fe;
    }

        .login-form .layui-btn.login-external:hover {
            background-color: #e0e7ff;
            border-color: #a5b4fc;
        }

        .login-form .layui-btn.login-external:active {
            background-color: #c7d2fe;
        }

.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

    .modal-mask.show {
        display: flex;
    }

.modal-container {
    background: white;
    border-radius: 24px;
    width: 360px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 20px 35px -8px rgba(0,0,0,0.3);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

    .modal-close:hover {
        color: #333;
    }

.modal-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2f3a;
}

.qr-tip {
    font-size: 13px;
    color: #666;
    margin-bottom: 16px;
}

.qr-container {
    display: flex;
    justify-content: center;
    margin: 10px 0;
    min-height: 220px;
}

    .qr-container iframe {
        border: none;
    }

.modal-footer {
    margin-top: 20px;
    font-size: 12px;
    color: #888;
}

body.modal-open {
    overflow: hidden;
}

.yz-input.captcha {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 10px;
}

    .yz-input.captcha .layui-input {
        flex: 1;
        min-width: 0;
        height: 38px !important;
        -moz-appearance: textfield;
    }

        .yz-input.captcha .layui-input::-webkit-inner-spin-button,
        .yz-input.captcha .layui-input::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

.captcha-image {
    height: 40px;
    width: 120px;
    border-right: 1px solid #BAC8D3;
    border-left: 1px solid #BAC8D3;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    -ms-transition: opacity 0.3s ease;
    background: #f0f0f0;
}

    .captcha-image.loaded {
        opacity: 1;
    }

.captcha-refresh {
    font-size: 20px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    flex-shrink: 0;
}

    .captcha-refresh:hover {
        color: #5FB878;
    }
