html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #f5f5f7;
  color: #1d1d1f;
}

#forget,
#forget *,
#forget *::before,
#forget *::after {
  box-sizing: border-box;
}

#forget {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: 32px;
  overflow-x: hidden;
  background: #f5f5f7;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

#forget::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(29, 29, 31, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 29, 31, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}

#forget .login-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
  width: 100%;
  max-width: 1160px;
  min-height: 720px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  box-shadow:
    0 30px 80px rgba(16, 24, 40, 0.12),
    0 2px 12px rgba(16, 24, 40, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

#forget .container-back {
  position: relative;
  min-width: 0;
  min-height: 720px;
  overflow: hidden;
  background: linear-gradient(145deg, #111216 0%, #1c1e24 58%, #101114 100%);
}

#forget .container-back::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

#forget .container-back::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.14);
}

#forget .auth-brand,
#forget .auth-mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #f5f5f7;
  font-size: 19px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

#forget .auth-brand {
  position: absolute;
  top: 34px;
  left: 36px;
  z-index: 5;
}

#forget .auth-brand img,
#forget .auth-mobile-brand img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: cover;
  background: transparent;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

#forget .auth-visual {
  position: absolute;
  top: 116px;
  left: 50%;
  width: 360px;
  height: 360px;
  transform: translateX(-50%);
}

#forget .signal-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

#forget .signal-ring::before {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 30px;
  height: 3px;
  content: "";
  background: #2997ff;
  border-radius: 3px;
  box-shadow: 0 0 18px rgba(41, 151, 255, 0.62);
  transform: translateX(-50%);
}

#forget .signal-ring-outer {
  width: 326px;
  height: 326px;
  border-color: rgba(255, 255, 255, 0.09);
}

#forget .signal-ring-middle {
  width: 238px;
  height: 238px;
  border-color: rgba(255, 255, 255, 0.14);
  transform: translate(-50%, -50%) rotate(72deg);
}

#forget .signal-ring-inner {
  width: 152px;
  height: 152px;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%) rotate(154deg);
}

#forget .signal-axis {
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(255, 255, 255, 0.08);
  transform: translate(-50%, -50%);
}

#forget .signal-axis-horizontal {
  width: 326px;
  height: 1px;
}

#forget .signal-axis-vertical {
  width: 1px;
  height: 326px;
}

#forget .signal-node {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #30d158;
  border: 2px solid #181a1f;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(48, 209, 88, 0.65);
}

#forget .signal-node-one {
  top: 80px;
  right: 72px;
}

#forget .signal-node-two {
  right: 44px;
  bottom: 118px;
  background: #ff9f0a;
  box-shadow: 0 0 12px rgba(255, 159, 10, 0.56);
}

#forget .signal-node-three {
  bottom: 56px;
  left: 92px;
  background: #2997ff;
  box-shadow: 0 0 12px rgba(41, 151, 255, 0.58);
}

#forget .signal-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  transform: translate(-50%, -50%);
}

#forget .signal-core img {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 17px;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(41, 151, 255, 0.2);
}

#forget .back-text {
  position: absolute;
  right: 42px;
  bottom: 42px;
  left: 42px;
  z-index: 4;
  color: #f5f5f7;
}

#forget .text-welcome {
  color: #86868b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

#forget .text-title {
  max-width: 400px;
  margin-top: 9px;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.35;
}

#forget .text-level {
  max-width: 400px;
  margin-top: 13px;
  color: rgba(245, 245, 247, 0.62);
  font-size: 13px;
  line-height: 1.65;
}

#forget .container-before {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0 72px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}

#forget .auth-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 72px;
  padding-top: 8px;
}

#forget .auth-mobile-brand {
  display: none;
  color: #1d1d1f;
}

#forget .login-jump-btn {
  position: static;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  cursor: default;
}

#forget .login-jump-btn .btn {
  height: 34px;
  margin: 0;
  padding: 0;
  border-radius: 7px;
}

#forget .login-jump-btn .btn a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 13px;
  color: #ffffff;
  font-size: 12px;
  text-decoration: none;
}

#forget .login {
  width: 100%;
  max-width: 420px;
  margin: auto;
  padding: 28px 0 54px;
  color: #424245;
  font-size: 14px;
  line-height: 1.5;
}

#forget .login-text {
  display: flex;
  flex-direction: column;
}

#forget .login-text-title {
  color: #1d1d1f;
  font-size: 34px;
  font-weight: 650;
  line-height: 1.18;
}

#forget .login-text-regist {
  margin-top: 11px;
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.55;
}

#forget .login-text-regist a,
#forget .read-item a {
  color: #0066cc;
  cursor: pointer;
  text-decoration: none;
}

#forget .login-text-regist a:hover,
#forget .read-item a:hover {
  text-decoration: underline;
}

#forget .login-form {
  margin-top: 32px;
}

#forget .login-top {
  display: flex;
  width: 100%;
  min-height: 46px;
  padding: 4px;
  background: rgba(118, 118, 128, 0.1);
  border-radius: 8px;
}

#forget .login-email,
#forget .login-phone {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 38px;
  margin: 0;
  padding: 0 12px;
  color: #6e6e73;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

#forget .login-top .active {
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.11);
}

#forget .form-main {
  margin-top: 23px;
}

#forget .form-item {
  margin-top: 14px;
}

#forget .form-main > .form-item:first-child {
  margin-top: 0;
}

#forget .el-input__inner {
  height: 50px;
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.72);
  border-color: #d2d2d7;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#forget .el-input__inner:hover {
  border-color: #a1a1a6;
  background: #ffffff;
}

#forget .el-input__inner:focus {
  border-color: #0071e3;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

#forget .input-with-select .el-input-group__prepend {
  width: 92px;
  padding: 0 10px;
  background: rgba(245, 245, 247, 0.9);
  border-color: #d2d2d7;
  border-radius: 8px 0 0 8px;
}

#forget .input-with-select .el-select {
  width: 72px;
}

#forget .code-item {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

#forget .code-item .el-input {
  flex: 1;
  min-width: 0;
}

#forget .code-btn {
  min-width: 122px;
  height: 50px;
  margin-left: 0;
  padding: 0 12px;
  color: #ffffff;
  background: var(--color-primary);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.2;
  white-space: normal;
}

#forget .agreement-item {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-top: 17px;
}

#forget .check-div {
  flex: 0 0 auto;
  margin-top: 1px;
}

#forget .read-text {
  flex: 1;
  padding: 0 5px;
  color: #6e6e73;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

#forget .read-item {
  margin-top: 14px;
  color: #6e6e73;
  line-height: 1.55;
}

#forget .login-btn {
  width: 100%;
  height: 50px;
  background: var(--color-primary);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.18);
  font-size: 15px;
  font-weight: 600;
}

#forget .el-alert {
  border-radius: 8px;
}

@media (prefers-reduced-motion: no-preference) {
  #forget .signal-ring-outer {
    animation: forgetSignalOrbit 26s linear infinite;
  }

  #forget .signal-ring-middle {
    animation: forgetSignalOrbitReverse 20s linear infinite;
  }

  @keyframes forgetSignalOrbit {
    from {
      transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }

  @keyframes forgetSignalOrbitReverse {
    from {
      transform: translate(-50%, -50%) rotate(72deg);
    }
    to {
      transform: translate(-50%, -50%) rotate(-288deg);
    }
  }
}

@media screen and (max-width: 960px) {
  #forget {
    align-items: flex-start;
    padding: 0;
    background: #ffffff;
  }

  #forget::before {
    display: none;
  }

  #forget .login-container {
    display: block;
    width: 100%;
    max-width: 620px;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  #forget .container-back {
    display: none;
  }

  #forget .container-before {
    min-height: 100vh;
    min-height: 100svh;
    padding: 0 30px;
    background: #ffffff;
    backdrop-filter: none;
  }

  #forget .auth-toolbar {
    justify-content: space-between;
    min-height: 76px;
    padding: 14px 0;
    gap: 16px;
  }

  #forget .auth-mobile-brand {
    display: inline-flex;
    flex: 0 1 auto;
    color: #1d1d1f;
    font-size: 18px;
  }

  #forget .auth-mobile-brand img {
    width: 36px;
    height: 36px;
  }

  #forget .login {
    max-width: 440px;
    padding: 42px 0 56px;
  }

  #forget .login-text-title {
    font-size: 32px;
  }
}

@media screen and (max-width: 520px) {
  #forget .container-before {
    padding: 0 20px;
  }

  #forget .auth-toolbar {
    flex-wrap: wrap;
    min-height: 70px;
  }

  #forget .login {
    padding-top: 32px;
  }

  #forget .login-text-title {
    font-size: 30px;
  }

  #forget .login-text-regist {
    font-size: 13px;
  }

  #forget .login-form {
    margin-top: 30px;
  }

  #forget .code-btn {
    min-width: 108px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 12px;
  }
}

@media screen and (max-width: 360px) {
  #forget .container-before {
    padding: 0 16px;
  }

  #forget .auth-mobile-brand {
    gap: 8px;
    font-size: 17px;
  }

  #forget .auth-mobile-brand img {
    width: 34px;
    height: 34px;
  }

  #forget .login {
    padding-top: 24px;
  }
}
