#app {
  height: 100vh;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

#app main {
  width: 100%;
  padding: 20px;
  height: 100vh;
  position: relative;
  background: #f6f7fb;
}

#app main .bg img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

#app main .box .top {
  height: 60px;
  line-height: 60px;
  background: #5696eb;
  text-align: center;
  font-weight: 600;
  font-size: 22px;
  color: #ffffff;
  position: relative;
}

#app main .box .top .back {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

#app main .box .top .back button {
  background: #f3f5f9;
  color: var(--default-word-color);
  border-color: #f3f5f9;
}

#app main .box .top .login {
  cursor: pointer;
  color: #fff;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: normal;
}

#app main .box .form {
  width: 400px;
  margin: 0 auto;
  padding-top: 50px;
}

#app main .box .form .item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

#app main .box .form .item .field {
  width: 80px;
  color: #86909c;
}

#app main .box .form .input {
  flex: 1;
  position: relative;
  background: #f6f7fb;
  border-radius: 4px;
  padding: 8px 11px;
}

#app main .box .form .input.code_input .el-input {
  width: 200px;
}

#app main .box .form .input .el-input__wrapper {
  box-shadow: none;
  background: #f6f7fb;
}

#app main .box .form .input .get_smsCode {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 14px;
  color: var(--primary-color);
}

#app main .box .form .btn {
  padding-left: 80px;
}

#app main .box .form .btn button {
  width: 200px;
  padding: 23px;
}

/* 电脑端 */
@media (min-width: 768px) {
  #app main .box {
    width: 1120px;
    background: #fff;
    height: 674px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

/* 手机端（屏幕宽度≤768px） */
@media (max-width: 768px) {
  #app main .box {
    position: absolute;
    background: #fff;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
  }

  #app main .box .form {
    width: 90%;
    margin: 0 auto;
  }

  #app main .box .top .login {
    right: 5px;
  }
}
