@charset "UTF-8";

.login-and-register {
  min-height: calc(100vh - 70px);
  background-image: url(../../images/logreg/login-bg.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.content-area {
  width: 800px;
  display: flex;
  overflow: hidden;
  border-radius: 10px;
}

.left-pic {
  width: 450px;
  background-image: url(../../images/logreg/left-pic-regbg.png);
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 20px;
  background-size: cover;
}

.left-pic h2 {
  font-size: 32px;
  font-family: Microsoft YaHei;
  font-weight: bold;
  color: #FFFFFF;
}

.left-pic p {
  font-size: 16px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #FFFFFF;
  opacity: 0.8;
}

.right-main-action {
  flex: 1;
  padding: 30px 40px;
  box-sizing: border-box;
  background-color: #fff;
}

.login-form {
  height: 500px;
}

.register-form {
  height: 500px;
}

.form-tit {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.form-tit h2 {
  font-size: 28px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #1C2C4C;
}

.form-tit span {
  font-size: 14px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #999999;
}

.form-tit span a {
  color: #0C62FF;
  cursor: pointer;
}

.login-or-register-form-item {
  width: 100%;
  margin: 28px auto 0;
  position: relative;
  text-align: justify;
  box-sizing: border-box;
}

.login-or-register-form-item input {
  width: 100%;
  height: 39px;
  box-sizing: border-box;
  outline: 0;
  border: 1px solid #DCDCDC;
  text-indent: 15px;
  font-size: 14px;
  line-height: 36px;
  background: #fff;
}

.login-or-register-form-item input:focus {
  border-color: #ccc;
  background: #fff;
}

.login-or-register-form-item input:active {
  border-color: #bbbaba;
  background: #fff;
}

.register-get-code {
  position: absolute;
  top: 8px;
  right: 6px;
  height: 26px;
  font-size: 14px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #0C62FF;
  line-height: 26px;
  padding: 0 10px;
  cursor: pointer;
}


.focus {
  width: 350px;
  text-align: left;
  color: #ff552e;
  font-size: 12px;
  position: relative;
  float: left;
}

.focus span {
  height: 35px;
  line-height: 35px;
}

.dangerStyle {
  border: 1px solid red !important;
}

.login-or-register-form-item .btn-reg {
  width: 100%;
  height: 35px;
  background: linear-gradient(90deg, #6FB2FF, #095FFF)!important;
  border-radius: 5px;
  outline: 0;
  border: 0;
  color: #fff;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
}

.go-to-login {
  width: 100%;
  display: flex;
  justify-content: center;
  font-size: 16px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #0C62FF;
  position: relative;
  margin-top: 20px;
}

.go-to-login span {
  padding: 0 18px;
  background-color: #fff;
  z-index: 10;
  cursor: pointer;
}

.go-to-login::after {
  width: 100%;
  height: 1px;
  background-color: #e1e4e5;
  content: "";
  top: 50%;
  left: 0;
  position: absolute;
}

.password-action {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.remember-password {
  display: flex;
  align-items: center;
}

.remember-password input {
  width: 16px;
  height: 16px;
  background: #FFFFFF;
  border: 1px solid #E1E4E5;
  border-radius: 2px;
  cursor: pointer;
  margin-right: 5px;
}

.password-action {
  color: #999;

}

.marginTop {
  margin-top: 40px;
}


@media screen and (max-width: 768px) {
  .login-and-register {
    padding: 1rem !important;
    width:100%;
    float: none !important;
    margin-top: 0 !important;
  }

  .content-area {
    width: 100%;
    flex-direction: column;
  }

  .left-pic {
    width: 100%;
    padding: 1rem;
    display: none;
  }

  .right-main-action {
    padding: 1rem;
  }

  .login-form,
  .register-form {
    height: auto;
  }

  .left-pic h2 {
    font-size: 1.5rem;
    color: rgba(28, 46, 76, .8);
  }
  
  .left-pic p {
    font-size: 1rem;
    color: rgb(5, 8, 12);
    margin-top: 1rem;
    font-weight: 600;
  }


}