@charset "UTF-8";
/**
 * 登录
 * date: 2025-5-12
 * author: jyxuan;
 */
html,
body {
  height: 100%;
}

body {
  padding-bottom: 0;
}

.header-client {
  height: 102px;
  border: none;
  background: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.header-client-tab {
  display: none;
}

.footer {
  position: static;
  background: none;
}
.footer-con {
  height: 104px;
  color: #353d54;
}
.footer-link {
  color: #353d54;
}

.login {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  min-height: 798px;
  background: url("../images/login_bg.png") no-repeat center bottom/cover;
}
.login-con {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  height: 0;
}
.login-box {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding-top: 50px;
  width: 500px;
  height: 570px;
  border-radius: 4px;
  background-color: #fff;
  -webkit-box-shadow: 0 4px 26px 0 rgba(60, 102, 169, 0.12);
          box-shadow: 0 4px 26px 0 rgba(60, 102, 169, 0.12);
}
.login-title {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  line-height: 30px;
}
.login-qrcode {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 40px auto 0;
  padding: 18px;
  width: 280px;
  height: 280px;
  border: 1px solid #d6d6d6;
}
.login-text {
  margin-top: 16px;
  font-size: 16px;
  text-align: center;
  line-height: 24px;
}
.login-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 40px auto;
  width: 154px;
  height: 40px;
  color: #333;
  font-size: 16px;
  line-height: 24px;
  border: 1px solid #d6d6d6;
  border-radius: 2px;
}
.login-link:hover {
  color: #2c60f5;
  border-color: #2c60f5;
}
.login-link:hover::before {
  background-image: url("../images/login_download_icon_active.png");
}
.login-link::before {
  content: "";
  margin-right: 8px;
  width: 20px;
  height: 20px;
  background: url("../images/login_download_icon.png") no-repeat center;
}


/* 短信登录容器 */
.sms-login-container {
  padding: 20px 25px;
  background: #fff;
}

/* 表单行 */
.form-row {
  margin-bottom: 20px;
}

/* 输入框组 */
.input-group {
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  transition: all 0.3s;
  padding: 0 12px;
}

.input-group:hover {
  border-color: #c0c4cc;
}

.input-group.focus {
  border-color: #409eff;
  box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.1);
}

.input-group.error {
  border-color: #f56c6c;
}

/* 图标 */
.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  color: #999;
  font-size: 16px;
  text-align: center;
  line-height: 20px;
}

.icon-phone:before {
  content: "📱";
}

.icon-code:before {
  content: "🔑";
}

/* 输入框 */
.form-input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #333;
  padding: 0;
}

.form-input::placeholder {
  color: #c0c4cc;
}

/* 清除按钮 */
.clear-btn {
  width: 20px;
  height: 20px;
  line-height: 18px;
  text-align: center;
  background: #dcdfe6;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.clear-btn:hover {
  background: #c0c4cc;
}

/* 验证码输入组 */
.code-input-group {
  display: flex;
  gap: 10px;
}

.code-input {
  flex: 1;
}

/* 获取验证码按钮 */
.get-code-btn {
  width: 150px;
  height: 44px;
  background: #f5f7fa;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  line-height: normal;
}

.get-code-btn:hover:not(:disabled) {
  background: #ecf5ff;
  border-color: #c6e2ff;
  color: #409eff;
}

.get-code-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.get-code-btn.countdown {
  background: #f5f7fa;
  color: #999;
}

/* 验证码提示 */
.code-tips {
  margin-top: 6px;
  font-size: 12px;
  color: #999;
  line-height: 1.5;
  height: 18px;
}

/* 错误提示 */
.error-tip {
  height: 20px;
  font-size: 12px;
  color: #f56c6c;
  line-height: 20px;
  margin-top: 4px;
  display: none;
}

.error-tip.show {
  display: block;
}

/* 登录按钮 */
.login-submit-btn {
  width: 100%;
  height: 44px;
  background: linear-gradient(135deg, #409eff, #66b1ff);
  border: none;
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.login-submit-btn:hover {
  background: linear-gradient(135deg, #66b1ff, #409eff);
  box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
  transform: translateY(-1px);
}

.login-submit-btn:active {
  transform: translateY(0);
}

.login-submit-btn:disabled {
  background: #c0c4cc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.arrow-icon {
  transition: transform 0.3s;
}

.login-submit-btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* 协议条款 */
.agreement-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 20px;
  font-size: 12px;
  color: #666;
}

.agreement-check {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.agreement-check input {
  display: none;
}

.checkmark {
  width: 14px;
  height: 14px;
  border: 1px solid #dcdfe6;
  border-radius: 2px;
  margin-right: 6px;
  position: relative;
  transition: all 0.3s;
}

.agreement-check input:checked + .checkmark {
  background: #409eff;
  border-color: #409eff;
}

.checkmark:after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s;
}

.agreement-check input:checked + .checkmark:after {
  opacity: 1;
}

.agreement-link {
  color: #409eff;
  text-decoration: none;
  transition: color 0.3s;
}

.agreement-link:hover {
  color: #66b1ff;
  text-decoration: underline;
}

.and-text {
  color: #999;
}

/* APP下载引导 */
.app-download-box {
  margin-top: 25px;
  padding: 15px;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 8px;
  text-align: center;
  border: 1px solid #e5e7eb;
}

.download-tip {
  margin-bottom: 12px;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  background: #fff;
  border: 1px solid #409eff;
  border-radius: 20px;
  color: #409eff;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s;
}

.download-btn:hover {
  background: #ecf5ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(64, 158, 255, 0.2);
}

.app-icon {
  font-size: 16px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .sms-login-container {
      padding: 15px;
  }
  
  .code-input-group {
      flex-direction: column;
  }
  
  .get-code-btn {
      width: 100%;
      margin-top: 10px;
  }
  
  .agreement-row {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
  }
}

/* 动画效果 */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
  animation: shake 0.5s ease-in-out;
}

/* 表单行 */
.form-rownew {
  margin-bottom: 25px;
padding-left: 40px;
  width: 80%;
}