body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

p {
  padding: 0;
  margin: 0;
}

.rd-login-open-btn {
  margin: 40px;
  padding: 8px 18px;
  background: #1f6bff;
  color: #fff;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

/* 遮罩层 */
.rd-login-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  display: none;
}

/* 弹窗主体 */
.rd-login-dialog {
  width: 820px;
  height: 432px;
  background: white url(/acthtml/component/img/login/login_bg_img_820@2x.png);
  background-size: 100% 100%;
  border-radius: 16px;
}

/* 关闭按钮 */
.close_wrap {
  display: flex;
  flex-direction: row-reverse;
  padding: 19px 19px 0 0;
  height: 32px;
}

.close_wrap img {
  width: 32px;
  height: 32px;
}

/* 主体内容 */
.main_body {
  display: flex;
  margin-bottom: 42px;
}

.left_wrap {
  text-align: center;
}

.left_title {
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  color: #323336;
  line-height: 25px;
  margin-bottom: 24px;
}

.qr_code_container {
  position: relative;
  width: 172px;
  margin: 0 92px 20px;
}


.qr_code {
  width: 172px;
  height: 172px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.18);
  position: relative;
  transition: opacity 0.3s, visibility 0.3s;
}

.left_tips {
  font-size: 14px;
  text-align: center;
  color: #787878;
  line-height: 20px;
  margin-top: 20px;
  transition: opacity 0.3s, visibility 0.3s;
}

.left_tips span {
  color: #2F6AFF;
  cursor: pointer;
  transition: opacity 0.3s;
}

.left_tips span:hover {
  opacity: 0.8;
}

/* 右边 */

.tab_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: #787878;
  line-height: 25px;
}

.tab_wrap .tab_item {
  transition: color 0.3s;
}

.tab_wrap .tab_item.active {
  color: #2F6AFF;
}

.tab_wrap span {
  width: 2px;
  height: 20px;
  background: #dcdcdc;
  margin: 0 19px;
}

.info {
  width: 400px;
  height: 87px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  margin-top: 24px;
  box-sizing: border-box;
  font-size: 14px;
  color: #282828;
  line-height: 20px;
}

.account,
.code {
  height: 43px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}


.account span,
.code span {
  width: 42px;
}

.account {
  border-bottom: 1px #E6E6E6 solid;
}

.account_input,
.code_input {
  font-size: 14px;
  text-align: left;
  /* color: #c8c9cc; */
  line-height: 20px;
  border: none;
  margin-left: 20px;
  outline: none;
  flex: 1;
}

.account_input::placeholder,
.code_input::placeholder {
  color: #C8C9CC;

}

.get_code_btn {
  font-size: 14px;
  text-align: left;
  color: #2F6AFF;
  line-height: 20px;
  padding-left: 15px;
  border-left: solid #DCDCDC 1px;
  cursor: pointer;
  white-space: nowrap;
}

.get_code_btn.disabled {
  color: #c8c9cc;
  cursor: not-allowed;
}



.btn_wrap {
  width: 400px;
  display: flex;
  justify-content: space-between;
  margin: 20px 0 28px;
}

.btn_wrap div {
  width: 194px;
  height: 44px;
  background: #2f6aff;
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
  color: #ffffff;
  line-height: 42px;
  box-sizing: border-box;
  border: 1px solid #e6e6e6;
}

.btn_wrap .register_btn {
  width: 194px;
  height: 44px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  color: #282828;
  background: white;
}


.type_title {
  font-size: 14px;
  text-align: center;
  color: #a0a0a0;
  line-height: 16px;
  margin-bottom: 14px;
}

.type_wrap {
  display: flex;
  justify-content: center;
}

.type_wrap div {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #a0a0a0;
  line-height: 16px;
}

.type_wrap img {
  width: 28px;
  min-width: 28px;
  height: 28px;
  margin: 0 8px 0 14px;
}

.type_wrap div p {
  padding-right: 14px;
}

/* 尾部 */
.footer_copy {
  font-size: 12px;
  text-align: center;
  color: #787878;
  line-height: 17px;
}

.footer_copy a {
  color: #2F6AFF;
  text-decoration: none;
}

.hand_cursor {
  cursor: pointer;
}


/* 自定义提示框 */
.custom-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  display: none;
}

.custom-toast.show {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

.toast-content {
  min-width: 200px;
  max-width: 400px;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast-content p {
  font-size: 14px;
  color: #ffffff;
  line-height: 20px;
  text-align: center;
  margin: 0;
  word-break: break-word;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}


/* 滑动验证弹窗 */
.captcha-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: block;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.captcha-modal.show {
  display: flex;
}

.captcha-dialog {
  width: 300px;
  background: #ffffff;
  border-radius: 16px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
  /* height: 310px; */
}

.captcha-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e6e6e6;
}

.captcha-title {
  font-size: 16px;
  color: #787878;
  line-height: 24px;
}

.captcha-close {
  font-size: 24px;
  color: #787878;
  line-height: 1;
  cursor: pointer;
}

.captcha-close:hover {
  color: #323336;
}

.captcha-body {
  padding: 20px;
}

.captcha-image-wrap {
  position: relative;
  width: 260px;
  height: 170px;
  margin-bottom: 20px;
  border-radius: 4px;
  overflow: hidden;
}

.captcha-shade-image {
  width: 100%;
  height: 100%;
  display: block;
}

.captcha-cutout-image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  transition: left 0.1s;
  width: 55px;
  height: 55px;
}

.captcha-refresh {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.captcha-refresh:hover {
  background: rgba(255, 255, 255, 1);
}

.captcha-refresh img {
  width: 20px;
  height: 20px;
}

.captcha-slider-wrap {
  width: 260px;
  height: 40px;
  /* background: #e2f9e1; */
  /* border-radius: 20px;
  overflow: hidden; */
}

.captcha-slider-track {
  position: relative;
  width: 100%;
  height: 40px;
  background: #F1F1F2;
  border-radius: 4px;
  border-radius: 20px;
}

.captcha-slider-text {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #a0a0a0;
  user-select: none;
}

.captcha-slider-btn {
  position: absolute;
  left: -6px;
  top: -6px;
  width: 52px;
  height: 52px;
  cursor: pointer;
}

.captcha-slider-btn img {
  width: 52px;
  height: 52px;
}

/* .captcha-slider-btn:hover {
  background: #f7f9fa;
} */

.captcha-slider-btn span {
  font-size: 18px;
  color: #787878;
  font-weight: bold;
}

.captcha-slider-btn.active {
  cursor: grabbing;
}

.captcha-slider-track.success {
  background: #d4f4dd;
  border-color: #52c41a;
}

.captcha-slider-track.success .captcha-slider-text {
  color: #52c41a;
}

.captcha-slider-track.error {
  background: #ffe7e7;
  border-color: #ff4d4f;
}

.captcha-slider-track.error .captcha-slider-text {
  color: #ff4d4f;
}


.toggle-password {
  width: 14px;
  height: 14px;
  margin-right: 12px;
  cursor: pointer;
}

.forget-password {
  font-size: 14px;
  color: #2f6aff;
  line-height: 20px;
  text-decoration: none;
}



.forget-password:hover {
  text-decoration: none;
}

/* 二维码过期蒙层 */
.qr-code-expired-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
  border: 6px solid white;
}

/* 二维码过期提示 */
.qr-code-expired {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-code-expired img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.qr-code-expired p {
  font-size: 14px;
  text-align: center;
  color: #FFFFFF;
  line-height: 20px;
}

/* 二维码加载错误提示 */
.qr-code-error {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 14px;
  color: #999;
  cursor: pointer;
}