* {
  padding: 0;
  margin: 0;
}

html, body {
  width: 100%;
  height: 100%;
  display: flex;
}


.login-box {
  width: calc(60% - 30px);
  height: calc(100% - 30px);
  margin: 15px;
}

.login-div {
  width: 320px;
  height: calc(100% - 60px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

@media (max-width: 768px) {
  .login-box {
    width: calc(100% - 30px);
  }

  .login-div {
    width: 320px;
    padding: 0px;
  }
}

@media (max-width: 350px) {
  .login-div {
    width: 100%;
  }
}

.login-box .logo {
  width: 120px;
}

/* 返回按钮 */
.go-back {
  width: 100%;
  position: relative;
  height: 32px;
}

.go-back button {
  display: inline-flex;
  gap: 8px;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  user-select: none;
  white-space: nowrap;
  width: auto;
  height: 32px;
  min-width: 32px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  text-align: center;
  text-transform: none;
  border-width: 1px;
  border-style: solid;
  border-color: rgb(230, 230, 230);
  padding: 0px;
  border-radius: 9999px;
  background-color: white;
  color: rgba(31, 34, 37, 0.9);
  cursor: pointer;
  opacity: 1;
  pointer-events: auto;
  outline: none;
  transition: background-color 0.3s ease 0s;
}

/* logo和标题 */
.headline {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-box h1 {
  text-align: center;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  word-break: break-word;
  margin-top: 60px;
}


/* 表单 */
.from-duoyu {
  width: 100%;
}

.from-div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex: initial;
  width: 100%;
  min-width: 0px;
  height: auto;
}

.from-div-son {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: start;
  justify-content: flex-start;
  gap: 24px;
  flex: initial;
  width: auto;
  min-width: 0px;
  height: auto;
}

.input-box {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: start;
  justify-content: flex-start;
  gap: 4px;
  flex: initial;
  width: auto;
  min-width: 0px;
  height: auto;
}

.input-block {
  padding-top: 16px;
  padding-bottom: 16px;
  height: auto;
  text-align: center;
  font-size: 30px;
  font-weight: 400;
}

.input-square {
  appearance: none;
  width: 100%;
  font-size: 14px;
  padding-left: 12px;
  padding-right: 12px;
  height: 60px;
  background-color: rgb(247, 247, 247);
  border-width: 1px;
  border-style: solid;
  border-color: rgb(230, 230, 230);
  border-radius: 6px;
  outline: none;
}

/* 条款信息 */
.clause{
  margin-top: 60px;
}
.clause a {
  color: inherit;
  text-decoration: underline;
  font-weight: 500;
  font-size: inherit;
  line-height: inherit;
}

.clause-text1 {
  text-align: center;
  color: rgba(31, 34, 37, 0.6);
  font-size: 14px;
  text-transform: none;
  line-height: 1.5;
}

.clause-text2 {
  text-align: center;
  color: rgba(31, 34, 37, 0.4);
  font-size: 12px;
  text-transform: none;
  line-height: 1.5;
}


/* 右边图片 */
.login-images {
  width: 40%;
  height: 100%;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: center;
  justify-content: center;
  flex-basis: 40%;
  background-color: rgb(247, 247, 247);
  overflow: hidden;
}

@media (max-width: 768px) {
  .login-images {
    display: none;
  }
}

.login-images img {
  width: 100%;
  --tw-scale-x: 1.5;
  --tw-scale-y: 1.5;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  max-width: 100%;
  height: auto;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  transform-origin: right center;
  padding-right: 16px;
}