/*登录背景图*/
body {
    height: 100vh;
}
.layout-container {
    width: 100%;
    height: 100vh;
    min-height: 680px;/*最小高度，头部条和登录框不重叠，wm*/
    background: url(/images/login-bg.png) 0 0 no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.layout-head {
    display: flex;
    align-items: center;
    background: hsla(0, 0%, 100%, .3);
    box-shadow: 0 2px 20px 0 rgba(140, 147, 161, .07);
    backdrop-filter: blur(10px);
    position: absolute;
    width: 100%;
    top: 0;
    height: 50px;
    z-index: 99;
}
.layout-head .logo {
    width: auto;
    height: 30px;
    margin-left: 30px;
}
.layout-head .logo img {
    width: auto;
    height: 100%;
}

.layout-body {    
    position: relative;   
    box-sizing: border-box;
    width: 420px;
    min-height: 520px;  
    background: #fff;
    box-shadow: 0 20px 30px 0 rgb(63 63 65 / 6%);
    border-radius: 10px;
    border: 1px solid #fff;
}

.login-container {
    display: flex;
    flex-direction: column;
    padding: 40px;
    position: relative;
}

.login-title {
    display: flex;
    align-items: center;
    color: #323233;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 40px;
}

.login-from {
    width: 100%;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items:center;
}

.login-from .item {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.login-from .item input[type=text],
.login-from .item input[type=password] {
    border: 1px solid #ddd;
    border-radius: 4px;
    border-color: #ddd;
    width: 100%;
    height: 40px;
    padding-left: 40px;
    font-size: 14px;
    transition: all .3s;
    flex: 1;
    z-index: 1; /*未通过验证时有border，设置比验证码高的index，红边可以显示完全*/
}
/*鼠标经过、焦点样式*/
.login-from .item input[type=text]:focus,
.login-from .item input[type=password]:focus
{
    border-color: #006aff;
}

.login-from .item input[type=text].input-vcode {
    border-top-right-radius: 0 ;
    border-bottom-right-radius: 0 ;
}

.login-from .item .input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.login-from .item label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    height: 22px;
    line-height: 22px;
    margin-bottom: 8px;
}
.login-from .item i {
    color: #bfbfbf;
    font-size: 20px;
    line-height: 20px;
    position: absolute;
    left: 10px;
    z-index: 2; /*比input高*/
}
.login-from .item .img-vcode {
    display: block;
    width: 100px;
    height: 40px;
    cursor: pointer;
}
.login-from .from-submit {
    width:100%;
    margin-top: 25px;
}

.login-btn {
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    border-radius: 5px;
    font-size: 14px;
    letter-spacing: 5px;
    color: #fff;
    background-color: var(--color-primary);
    margin: 0;
    border: 0;
    outline: none;
    box-shadow: none;
}

/*获取短信*/
.btn_get {
    font-size: 14px;
    background-color: var(--color-primary);
    color: #fff;
    display: block;
    margin: 0;
    padding: 5px;
    border: 0;
    outline: none;
}

.btn_get[disabled], .btn_submit[disabled] {
    opacity: 0.65;
}
