/* Login page styles */

.login-body {
  min-height: 100vh;
}

.login-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: transparent;
  /* 覆盖 common.css 中 main 的灰色背景 */
  padding-bottom: 0;
  /* 覆盖 common.css 中 main 的 padding-bottom */

}

.login-page__background {
  position: absolute;
  inset: 0;
  background-color: #cfebfc;
  background-image: url("../img/login-bg.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
  z-index: -2;
}

.login-page__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 100px 16px 32px;
}

.login-page__logo {
  height: 54px;
  margin-bottom: 50px;
}

.login-card {
  width: 520px;
  max-width: 100%;
  background-color: #fbfbfb;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(15, 36, 63, 0.24);
  padding: 65px;
}

.login-card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 45px;
}

.login-card__title {
  color: #333333;
  font-size: 30px;
  font-weight: 600;
}

.login-form__field+.login-form__field {
  margin-top: 20px;
}

.login-form__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.login-form__input {
  width: 100%;
  height: 50px;
  padding: 0 12px;
  border-radius: 4px;
  border: 1px solid #e0e4ec;
  font-size: 18px;
}

.login-form__input::placeholder {
  color: #CCCCCC;
}

.login-form__links-row {
  display: flex;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 50px;
  font-size: 16px;
  color: #999999;
}

.login-form__link {
  color: #004494;
  margin-left: 4px;
}

.login-form__link--muted {
  color: #999999;
}

.login-form__spacer {
  flex: 1 1 auto;
}

.login-form__submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 3px;
  border: none;
  background-color: #004494;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 68, 148, 0.5);
  cursor: pointer;
}

.login-form__agreement {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #333333;
  margin-bottom: 50px;
}

.login-form__divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12px;
  color: #999999;
}

.login-form__divider-line {
  flex: 1 1 auto;
  height: 1px;
  background-color: #e0e4ec;
  color: #999999;
}

.login-form__divider-text {
  font-size: 14px;

}

.login-form__social {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.login-social {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  border: 1px solid #d0d7e2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  cursor: pointer;
}

.login-social--linkedin {
  color: #0a66c2;
  border-color: #0a66c2;
}

.login-social i {
  font-size: 24px;
}

.login-social--wechat {
  color: #07c160;
  border-color: #07c160;
}

.login-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: #ffffff;
}

.login-footer__home {
  display: inline-block;
  margin-bottom: 30px;
  padding: 12px 24px;
  border-radius: 4px;
  border: 1px solid #ffffff;
  background-color: transparent;
  color: #ffffff;
  font-size: 16px;
}

@media (max-width: 768px) {
  .login-page__inner {
    padding: 60px 16px 32px;
  }

  .login-page__logo {
    height: 42px;
    margin-bottom: 30px;
  }

  .login-card {
    padding: 40px 24px;
  }

  .login-card__title {
    font-size: 24px;
  }

  .login-card__header {
    margin-bottom: 30px;
  }

  .login-form__input {
    height: 46px;
    font-size: 16px;
  }

  .login-form__links-row {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
  }

  .login-form__submit {
    height: 48px;
  }
}

@media (max-width: 480px) {
  .login-card {
    padding: 30px 16px;
    border-radius: 0;
    box-shadow: none;
  }

  .login-card__title {
    font-size: 22px;
  }

  .login-form__links-row {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 25px;
  }

  .login-form__agreement {
    font-size: 13px;
    margin-bottom: 30px;
  }

  .login-social {
    width: 44px;
    height: 44px;
  }

  .login-social i {
    font-size: 20px;
  }

  .login-page__inner {
    padding: 40px 12px 24px;
  }
}

/* 登录页 footer 白色版权信息 */
.login-page .auth-footer__copyright {
  color: #ffffff;
}