.m-t-40 {
  margin-top: 40px;
}
.m-t-20 {
  margin-top: 20px;
}
.common-login-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.common-login-popup-overlay.show {
  display: flex;
  animation: popupFadeIn 0.3s ease-out forwards;
}
.common-login-popup-overlay.show .login-popup-content {
  animation: popupZoomIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.common-login-popup-overlay .login-popup-content {
  background: #fff;
  width: 100%;
  max-width: 550px;
  border-radius: 8px;
  padding: 60px 80px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: scale(0.8);
  opacity: 0;
  /* 验证码组 */
  /* 协议区域 */
}
.common-login-popup-overlay .login-popup-content .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  font-size: 24px;
  color: #333;
  line-height: 1;
}
.common-login-popup-overlay .login-popup-content .close-btn:hover {
  color: #333;
}
.common-login-popup-overlay .login-popup-content .register-content {
  display: flex;
  flex-direction: column;
}
.common-login-popup-overlay .login-popup-content .register-content.hide {
  display: none;
}
.common-login-popup-overlay .login-popup-content .title {
  font-family: Source Han Sans CN-Bold;
  font-weight: bold;
  font-size: 22px;
  color: #1b2c50;
  width: 100%;
  display: flex;
  justify-content: center;
  line-height: 28px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}
.common-login-popup-overlay .login-popup-content .form-group {
  position: relative;
}
.common-login-popup-overlay .login-popup-content .form-group .input-account {
  display: flex;
  justify-content: space-between;
}
.common-login-popup-overlay .login-popup-content .form-group label {
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 14px;
  color: #242436;
  line-height: 22px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}
.common-login-popup-overlay .login-popup-content .form-group label::before {
  content: '*';
  color: #ff3b30;
}
.common-login-popup-overlay .login-popup-content .form-group .invite-code {
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 14px;
  color: #242436;
  line-height: 22px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}
.common-login-popup-overlay .login-popup-content .form-group input {
  width: 100%;
  height: 48px;
  background: #fcfdff;
  padding: 0px 20px;
  margin-top: 10px;
  border-radius: 100px 100px 100px 100px;
  border: 1px solid #e1ecf8;
}
.common-login-popup-overlay .login-popup-content .form-group input:focus {
  border-color: #2254f5;
}
.common-login-popup-overlay .login-popup-content .form-group input.ipt-error {
  border-color: #ff4d4f;
}
.common-login-popup-overlay .login-popup-content .form-group .tip {
  color: #ff4d4f;
  font-size: 12px;
  min-height: 18px;
  display: flex;
  align-items: center;
}
.common-login-popup-overlay .login-popup-content .code-group .input-with-btn {
  display: flex;
  gap: 10px;
}
.common-login-popup-overlay .login-popup-content .code-group .input-with-btn input {
  flex: 1;
}
.common-login-popup-overlay .login-popup-content .code-group .input-with-btn .get-code-btn {
  border-width: 0px;
  width: 120px;
  height: 48px;
  margin-top: 10px;
  background: #2d5aff;
  border-radius: 100px;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  line-height: 22px;
  white-space: nowrap;
  transition: all 0.3s;
}
.common-login-popup-overlay .login-popup-content .code-group .input-with-btn .get-code-btn:hover {
  background-color: #2d5aff;
}
.common-login-popup-overlay .login-popup-content .code-group .input-with-btn .get-code-btn:disabled {
  color: #999;
  cursor: not-allowed;
  background-color: #f5f5f5;
}
.common-login-popup-overlay .login-popup-content .agreement-box {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 12px;
  color: #666;
  cursor: pointer;
  line-height: 1.5;
}
.common-login-popup-overlay .login-popup-content .agreement-box .agreement-icon {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  margin-top: 2px;
  cursor: pointer;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  background-size: cover;
  background-repeat: no-repeat;
}
.common-login-popup-overlay .login-popup-content .agreement-box .agreement-icon.agreement-no {
  background-image: url('/images/login/weixuanzhong.png');
}
.common-login-popup-overlay .login-popup-content .agreement-box .agreement-icon.agreement-yes {
  background-image: url('/images/login/xuanzhong.png');
}
.common-login-popup-overlay .login-popup-content .agreement-box a {
  color: #2254f5;
  text-decoration: none;
}
.common-login-popup-overlay .login-popup-content .login-btn {
  width: 100%;
  height: 48px;
  background: #2d5aff;
  border-radius: 100px;
  color: #fff;
  border: none;
  font-size: 16px;
  line-height: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.common-login-popup-overlay .login-popup-content .login-btn:hover {
  background-color: #3a67f6;
}
.common-login-popup-overlay .login-popup-content .login-btn:active {
  background-color: #0a3bda;
}
.common-login-popup-overlay .login-popup-content .other-register {
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #1b2c50;
  line-height: 18px;
  text-align: center;
  font-style: normal;
  text-transform: none;
}
.common-login-popup-overlay .login-popup-content .other-register::after {
  content: '';
  width: 35%;
  display: flex;
  background: #ebebeb;
  height: 2px;
}
.common-login-popup-overlay .login-popup-content .other-register::before {
  content: '';
  width: 35%;
  display: flex;
  background: #ebebeb;
  height: 1px;
}
.common-login-popup-overlay .login-popup-content .wxLogin {
  width: 46px;
  cursor: pointer;
  height: 46px;
  margin-top: 20px;
  display: flex;
  justify-self: center;
  align-self: center;
}
.common-login-popup-overlay .login-popup-content .login-wx {
  display: none;
  text-align: center;
  width: 100%;
  margin-top: 50px;
}
.common-login-popup-overlay .login-popup-content .login-wx.show {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: popupFadeIn 0.3s ease-out forwards;
}
.common-login-popup-overlay .login-popup-content .login-wx .code-img {
  width: 150px;
  height: 150px;
  opacity: 0;
  transition: opacity 0.3s;
}
.common-login-popup-overlay .login-popup-content .login-wx .code-img.show-img {
  opacity: 1;
}
.common-login-popup-overlay .login-popup-content .login-wx .tip-content {
  margin-top: 15px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.common-login-popup-overlay .login-popup-content .login-wx .tip-content .tip {
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 14px;
  color: #333333;
  line-height: 18px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}
.common-login-popup-overlay .login-popup-content .login-wx .tip-content .btn-refresh {
  display: flex;
  gap: 5px;
  align-items: center;
  cursor: pointer;
}
.common-login-popup-overlay .login-popup-content .login-wx .tip-content .btn-refresh .refresh-img {
  width: 14px;
  height: 14px;
}
.common-login-popup-overlay .login-popup-content .login-wx .tip-content .btn-refresh .refresh-img.icon-rotate {
  animation: rotate 1s linear infinite;
}
.common-login-popup-overlay .login-popup-content .login-wx .tip-content .btn-refresh .refresh-t {
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 12px;
  color: #2d5aff;
  line-height: 16px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}
.common-login-popup-overlay .login-popup-content .login-wx .login-code {
  margin-top: 60px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 12px;
  cursor: pointer;
  color: #2d5aff;
  line-height: 16px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes popupFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes popupZoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@media screen and (max-width: 820px) {
  .common-login-popup-overlay .login-popup-content {
    max-width: 500px;
    min-width: 300px;
    border-radius: 8px;
    padding: 20px 20px;
  }
  .common-login-popup-overlay .login-popup-content .title {
    font-size: clamp(14px, 2.68vw, 22px);
  }
}
