* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: #f4f6f8;
  color: #253246;
}

body {
  display: flex;
  justify-content: center;
}

.auth-page {
  width: 100%;
  max-width: 414px;
  min-height: 100vh;
  background: #fff;
  position: relative;
  overflow: hidden;
  padding: 78px 28px 24px;
}

.auth-page.auth-register {
  padding-top: 104px;
}

.auth-page.auth-find {
  padding-top: 96px;
}

.auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
}

.auth-brand.compact {
  margin-top: 22px;
  margin-bottom: 38px;
}

.auth-logo {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  display: block;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(47, 134, 255, .16);
}

.auth-title {
  margin-top: 14px;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
  color: #17243a;
}

.auth-title.small {
  font-size: 22px;
}

.auth-en {
  margin-top: 8px;
  font-size: 10px;
  font-weight: 900;
  color: #76bcff;
  letter-spacing: 3px;
}

.auth-form {
  width: 100%;
}

.auth-field {
  height: 56px;
  border-bottom: 1px solid #e3e9f0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.auth-field-icon {
  width: 18px;
  color: #c2c9d2;
  font-size: 16px;
  text-align: center;
  flex: 0 0 auto;
}

.auth-field input {
  height: 100%;
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #364154;
  font-size: 16px;
}

.auth-field input::placeholder {
  color: #9aa4b2;
}

.auth-captcha {
  width: 100px;
  height: 42px;
  object-fit: cover;
  background: #f0f2f5;
  flex: 0 0 auto;
}

.auth-sms-btn {
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #5cadff;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.auth-sms-btn.disabled,
.auth-sms-btn:disabled {
  opacity: .65;
}

.auth-options {
  margin-top: 14px;
  color: #778294;
  font-size: 14px;
}

.auth-check {
  display: flex;
  gap: 8px;
  align-items: center;
}

.auth-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auth-checkmark {
  width: 17px;
  height: 17px;
  border: 1px solid #9ec9ff;
  border-radius: 4px;
  position: relative;
  flex: 0 0 auto;
}

.auth-check input:checked + .auth-checkmark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid #438cff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.auth-submit {
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 999px;
  margin-top: 30px;
  background: linear-gradient(90deg, #62b7ff, #4b9bff);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(47, 134, 255, .16);
}

.auth-submit.is-disabled {
  background: linear-gradient(90deg, #62b7ff, #4b9bff);
  color: #fff;
  box-shadow: 0 12px 22px rgba(47, 134, 255, .16);
}

.auth-links {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  color: #667386;
  font-size: 14px;
}

.auth-links.center {
  justify-content: center;
}

.auth-links a {
  color: inherit;
  text-decoration: none;
}

.auth-quick {
  margin-top: 64px;
  text-align: center;
  color: #bcc5d0;
  font-size: 12px;
}

.auth-quick-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.auth-quick-title::before,
.auth-quick-title::after {
  content: "";
  width: 34px;
  height: 1px;
  background: #e9eef4;
}

.auth-wechat {
  margin: 14px auto 0;
  width: 54px;
  height: 54px;
  display: block;
}

.auth-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  text-align: center;
  font-size: 12px;
  color: #c0c8d2;
  padding: 0 20px;
}

@media (max-height: 760px) {
  .auth-page {
    padding-top: 68px;
  }

  .auth-page.auth-register {
    padding-top: 76px;
  }

  .auth-page.auth-find {
    padding-top: 70px;
  }

  .auth-brand {
    margin-bottom: 34px;
  }

  .auth-field {
    height: 51px;
  }

  .auth-quick {
    margin-top: 34px;
  }

  .auth-footer {
    bottom: 16px;
  }
}
