html,
body {
  margin: 0;
  padding: 0;
}
body {
  letter-spacing: 0.0625rem;
}
* {
  box-sizing: border-box;
}
a {
  text-decoration: none;
}
input::-ms-clear,
input::-ms-reveal {
  display: none;
}
input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px white inset;
}
input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px white inset !important;
}
.forget {
  height: 100vh;
  background: url('../img/cai-forgetbg.jpg') no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
}
.forget .forgetbox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 482px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 40px 24px;
}
.forget .forgetbox .forget-title {
  font-size: 2rem;
  font-family: Source Han Sans CN;
  font-weight: bold;
  line-height: 2rem;
  color: #18A8D2;
  text-align: center;
  margin-bottom: 40px;
}
.forget .forgetbox .login-phone,
.forget .forgetbox .login-password,
.forget .forgetbox .login-code {
  background: #fff;
  height: 46px;
  border: 1px solid #18A8D2;
  border-radius: 8px;
  margin-bottom: 10px;
}
.forget .forgetbox .login-phone label,
.forget .forgetbox .login-password label,
.forget .forgetbox .login-code label {
  position: relative;
}
.forget .forgetbox .login-phone label img,
.forget .forgetbox .login-password label img,
.forget .forgetbox .login-code label img {
  width: 22px;
  height: 22px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
}
.forget .forgetbox .login-phone input,
.forget .forgetbox .login-password input,
.forget .forgetbox .login-code input {
  width: 100%;
  height: 100%;
  padding-left: 54px;
  -webkit-appearance: none;
  border: none;
  outline: none;
  border-radius: 8px;
  font-size: 1.125rem;
}
.forget .forgetbox .login-phone input::placeholder,
.forget .forgetbox .login-password input::placeholder,
.forget .forgetbox .login-code input::placeholder {
  color: #BBBBBB;
}
.forget .forgetbox .login-password {
  position: relative;
}
.forget .forgetbox .login-password .password-img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
  width: 20px;
  height: 12px;
  display: block;
  cursor: pointer;
}
.forget .forgetbox .login-code {
  position: relative;
}
.forget .forgetbox .login-code .login-codebox {
  background: #18A8D2;
  font-size: 1.125rem;
  font-family: Source Han Sans CN;
  font-weight: 400;
  line-height: 2.375rem;
  color: #FFFFFF;
  border-radius: 4px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 8px;
  cursor: pointer;
  padding: 0px 16px;
}
.forget .forgetbox .login-code .disablecode {
  background: #f5f5f5 !important;
  color: #333333 !important;
  cursor: default !important;
}
.forget .forgetbox .login-a {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
}
.forget .forgetbox .login-a a {
  font-size: 1rem;
  font-family: Source Han Sans CN;
  font-weight: 500;
  line-height: 1rem;
  color: #333333;
  text-decoration: none;
}
.forget .forgetbox .login-submit {
  width: 100%;
  margin-top: 22px;
  background: #18A8D2;
  border-radius: 8px;
  text-align: center;
  font-size: 1.5rem;
  font-family: Source Han Sans CN;
  font-weight: 500;
  line-height: 3.375rem;
  color: #fff;
  cursor: pointer;
  outline: none;
  border: none;
}
.forget .forgetbox .error {
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: none;
  white-space: nowrap;
}
@media (max-width: 500px) {
  .forget {
    background: url('../img/m-cai-forgetbg.png') no-repeat;
    background-size: contain;
  }
  .forget .forgetbox {
    width: 93.6%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 24px 16px;
    height: 430px;
  }
  .forget .forgetbox .forget-title {
    font-size: 1.5rem;
    line-height: 1.5rem;
    margin-bottom: 24px;
  }
  .forget .forgetbox .login-phone input,
  .forget .forgetbox .login-password input,
  .forget .forgetbox .login-code input {
    font-size: 1rem;
  }
  .forget .forgetbox .login-code .login-codebox {
    font-size: 0.875rem;
  }
  .forget .forgetbox .login-submit {
    font-size: 1.125rem;
    line-height: 3.125rem;
    margin-top: 22px;
  }
}
