* {
  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;
}

.login-box .tips-text {
  text-align: left;
  color: rgba(31, 34, 37, 0.6);
  font-size: 14px;
  text-transform: none;
  line-height: 1.5;
}

/* 表单 */
.from-duoyu {
  width: 100%;
}

.from-div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex: initial;
  width: 100%;
  min-width: 0px;
  height: auto;
}

.from-input-email {
  appearance: none;
  width: calc(100% - 30px);
  font-size: 14px;
  padding-left: 15px;
  padding-right: 15px;
  height: 40px;
  background-color: rgb(247, 247, 247);
  border-width: 1px;
  border-style: solid;
  border-color: rgb(230, 230, 230);
  border-radius: 6px;
  outline: none;
}

.from-button-continue {
  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: 100%;
  height: 40px;
  min-width: 40px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  text-align: center;
  text-transform: none;
  border-width: 1px;
  border-style: solid;
  border-color: rgb(0, 135, 255);
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 6px;
  background-color: rgb(0, 135, 255);
  color: rgb(255, 255, 255);
  cursor: pointer;
  opacity: 0.4;
  pointer-events: none;
  outline: none;
  transition: background-color 0.3s ease 0s;
}

/* 中间or横线 */
.or-line {
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  position: relative;
  width: 100%;
  margin: 30px 0;
}

.or-line .line {
  position: absolute;
  top: 10px;
  width: 100%;
  border-width: 1px;
  border-style: solid;
  border-color: rgb(238, 238, 238);
}

.ortext {
  padding-left: 8px;
  padding-right: 8px;
  background-color: rgb(255, 255, 255);
  z-index: 10;
  font-size: 14px;
  line-height: 21px;
  color: rgba(31, 34, 37, 0.6);
}

/* 其他方式登录 */
.other-methods {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex: initial;
  width: 100%;
  min-width: 0px;
  height: auto;
}

.other {
  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: 100%;
  height: 40px;
  min-width: 40px;
  font-size: 14px;
  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-left: 16px;
  padding-right: 16px;
  border-radius: 6px;
  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;
}

.other span {
  display: inline-flex;
  -webkit-box-align: center;
  align-items: center;
  flex-shrink: 0;
}

.other-one {
  background-color: #000;
  color: #fff;
}

/* 条款信息 */
.clause {
  margin-top: 60px;
}

.clause p {
  text-align: center;
  color: rgba(31, 34, 37, 0.4);
  font-size: 12px;
  text-transform: none;
  line-height: 1.5;
}

.clause a {
  color: inherit;
  text-decoration: underline;
  font-weight: 500;
  font-size: inherit;
  line-height: inherit;
}


/* 右边图片 */
.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;
}