/* ═══════════════════════════════════════════════════
   LeapX Hub · maas 登录页 UI Override
   注入方式: nginx sub_filter → <link> 标签
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

/* ── 整体右侧面板 ── */
.login-r {
  background: #ffffff !important;
  font-family: "DM Sans","Noto Sans SC",sans-serif !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 0 80px !important;
  box-sizing: border-box !important;
}

/* ── 标题 ── */
.r-title {
  font-family: "DM Sans","Noto Sans SC",sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #0f0f23 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 28px !important;
}

/* ── Tabs 导航 ── */
.demo-tabs .el-tabs__item {
  font-family: "DM Sans","Noto Sans SC",sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #64748b !important;
  transition: color 0.2s !important;
}
.demo-tabs .el-tabs__item.is-active {
  color: #4f46e5 !important;
  font-weight: 600 !important;
}
.demo-tabs .el-tabs__active-bar {
  background-color: #4f46e5 !important;
  height: 2px !important;
  border-radius: 2px !important;
}
.demo-tabs .el-tabs__nav-wrap::after {
  background-color: rgba(0,0,0,0.08) !important;
  height: 1px !important;
}

/* ── 输入框 ── */
.login-form .el-input__wrapper {
  border-radius: 10px !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.10) !important;
  background: #f8f9fc !important;
  transition: box-shadow 0.2s, background 0.2s !important;
  padding: 0 14px !important;
}
.login-form .el-input__wrapper:hover {
  box-shadow: 0 0 0 1px #4f46e5 !important;
  background: #ffffff !important;
}
.login-form .el-input__wrapper.is-focus {
  box-shadow: 0 0 0 3px rgba(79,70,229,0.16), 0 0 0 1px #4f46e5 !important;
  background: #ffffff !important;
}
.login-form .el-input__inner {
  font-family: "DM Sans","Noto Sans SC",sans-serif !important;
  font-size: 14px !important;
  color: #0f0f23 !important;
  height: 44px !important;
}
.login-form .el-input__inner::placeholder {
  color: #b0b7c3 !important;
}

/* ── 注册/登录 主按钮 ── */
.login-btn .el-button,
.login-btn .el-button--primary {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: "DM Sans","Noto Sans SC",sans-serif !important;
  letter-spacing: 0.03em !important;
  height: 48px !important;
  color: #ffffff !important;
  box-shadow: 0 2px 12px rgba(79,70,229,0.30) !important;
  transition: all 0.2s !important;
}
.login-btn .el-button:hover,
.login-btn .el-button--primary:hover {
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(79,70,229,0.40) !important;
}

/* ── 获取验证码 按钮 ── */
.code-btn {
  border-radius: 8px !important;
  color: #4f46e5 !important;
  border-color: rgba(79,70,229,0.35) !important;
  background: rgba(79,70,229,0.05) !important;
  font-family: "DM Sans","Noto Sans SC",sans-serif !important;
  font-weight: 500 !important;
  height: 44px !important;
  transition: all 0.2s !important;
}
.code-btn:hover {
  background: rgba(79,70,229,0.10) !important;
  border-color: #4f46e5 !important;
  color: #4338ca !important;
}

/* ── 勾选框 ── */
.check-box .el-checkbox__inner {
  border-radius: 4px !important;
  border-color: rgba(0,0,0,0.18) !important;
  transition: all 0.15s !important;
}
.check-box .el-checkbox__input.is-checked .el-checkbox__inner {
  background-color: #4f46e5 !important;
  border-color: #4f46e5 !important;
}
.check-box .el-checkbox__input.is-checked .el-checkbox__inner::after {
  border-color: #ffffff !important;
}
.check-box .el-checkbox__label {
  font-size: 12px !important;
  color: #64748b !important;
  font-family: "Noto Sans SC",sans-serif !important;
}
.check-box .el-checkbox__label a {
  color: #4f46e5 !important;
  text-decoration: none !important;
}
.check-box .el-checkbox__label a:hover {
  color: #6d28d9 !important;
  text-decoration: underline !important;
}

/* ── 忘记密码 ── */
.foget span, .foget a {
  color: #4f46e5 !important;
  font-size: 13px !important;
  transition: color 0.15s !important;
  cursor: pointer !important;
}
.foget span:hover, .foget a:hover {
  color: #6d28d9 !important;
}

/* ── 左侧品牌面板微调 ── */
.l-main h1 {
  font-family: "DM Sans","Noto Sans SC",sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
}
.l-main .sub-title {
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
}

/* ── 手机区号选择器 ── */
.el-select .el-input__wrapper {
  border-radius: 10px 0 0 10px !important;
}
