*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}
body{
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: url("../images/login_bg.png") top no-repeat #233645;
    background-size: 100% 65%;
    font-size: 17px;
}

.main{
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-47.8%);
    display: flex;
    justify-content: center;
    max-width: 1920px;
}

/*logo*/
.logo-item{
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
}

.logo-item .logo{
    background: url("../images/weicai-logo-425x130.png") left no-repeat;
    background-size: contain;
    width: 100%;
    height: 90px;
    transform: translateX(15%);
}
.logo-item .logo-person{
    background: url("../images/login_person.png") left no-repeat;
    background-size: contain;
    flex: 1;
    width: 100%;
}

/*表单*/
.login{
    width: 400px;
    background: #ffffff;
    padding: 20px 20px 30px 20px;
    border-radius: 5px;
    position: relative;
}
.login:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 72.5%;
    box-shadow: 0 0 20px #bec9d2;
    z-index: -1;
}
.login:after{
    content: "";
    position: absolute;
    bottom: -20px;
    background: url(../images/login_shadow.png) center no-repeat;
    height: 40px;
    width: 105%;
    left: 50%;
    background-size: contain;
    z-index: -1;
    transform: translateX(-50%);
}
.login .logo{
    background: url("../images/weicai-logo-425x130.png") center no-repeat;
    background-size: contain;
    width: 100%;
    height: 90px;
    position: absolute;
    top: -90px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}

.login .title{
    text-align: center;
    color: #19aa8d;
    font-size: 28px;
    margin-bottom: 30px;
    height: 40px;
}

.login .static-text{
    font-size: 14px;
    color: #979EB3;
    margin-bottom: 5px;
}
.input-group{
    margin-bottom: 15px;
}
.input-item{
    display: flex;
}
.input-item .input{
    flex: 1;
    line-height: 3em;
    border-radius: 5px;
    background: #dbe2ec;
    border: none;
    padding: 0 10px;
    font-size: 17px;
}
.input-item img{
    width: 110px;
    cursor: pointer;
}
.input-item .input::-webkit-input-placeholder{
    color: #575F6A;
}

.input-item .loginbtn{
    width: 100%;
    border: none;
    background: #19aa8d;
    color: #ffffff;
    padding: 15px 0;
    margin-top: 15px;
    border-radius: 5px;
    font-size: 17px;
    cursor: pointer;
}
.input-item.login-code .input{
    max-width: calc(100% - 100px);
}
@media screen and (max-width: 1920px){
    .main{
        padding: 0 20vw;
    }
}
@media screen and (max-width: 1450px){
    .main{
        padding: 0 15vw;
    }
    .logo-item{
        margin-right: 2vw;
    }
}
@media screen and (max-width: 1200px){
    body{
        background-size: 150% 65%;
    }
    .main{
        padding: 0 2vw;
        transform: translateY(-47.8%);
    }
}
@media screen and (max-width: 980px){
    body{
        background-size: 250% 65%;
    }
    .main{
        padding: 0 10vw;
    }
     .logo-item{
         display: none;
     }
     .login{
         min-width: 320px;
         width: 100%;
     }
    .login .logo{
        display: block;
    }
    .input-item .input{
        line-height: 2.6em;
    }
    .input-item img{
        height: 2.6em;
    }
    .input-item .loginbtn{
        padding: 10px 0;
    }
}
.copyright{
    position: absolute;
    bottom: 5vh;
    color: #ccc;
    font-size: 14px;
    text-align: center;
    width: 100%;
}
.copyright a{
    color: #ccc;
    text-decoration: none;
    transition: .5s;
}
.copyright a:hover{
    color: #19aa8d
}
@media screen and (min-height: 1080px) {
    .main {
        transform: translateY(-40.8%);
    }
}
@media screen and (max-height: 800px){
    .main{
        transform: translateY(-49.8%);
    }
}
@media screen and (max-height: 768px){
    .main{
        transform: translateY(-51.5%);
    }
}

.phone-verify{
    height: 150px;
    box-sizing: border-box;
    padding: 20px;
}
.phone-verify p{
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}
.phone-verify p input{
    display: inline-block;
    width: 150px;
    margin: 0 auto;
    line-height: 30px;
    padding: 0 5px;
    border: 1px solid #ccc;
    box-shadow: 1px 1px 5px rgba(0,0,0,.1) inset;
    color: #333;
    flex: 1;
    height: 42px;

}

.phone-verify button{
    line-height: 28px;
    padding: 0 6px;
    border-radius: 2px;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    border-color: #19aa8d;
    background-color: #19aa8d;
    color: #fff;
    width: 100%;
    height: 42px;
    border-style: initial;
    margin-top: 16px;
}
.phone-verify button#get_code{
    width: 120px;
    margin-left: 5px;
    margin-top: 0;
}
.phone-verify button.send{
    color: #666;
    border-color: #ccc;
    background-color: #ccc;
}