/* SaaS 双入口登录表单（俱乐部 / 总控制台） */
.v-login .login-form,
.v-login .el-form.login-form,
.v-login form.el-form,
.v-login [class*="LoginForm"],
.v-login .animate__bounceInRight .login-form,
.v-login .animate__bounceInRight form.el-form {
  display: none !important;
}
.v-login .login-right-panel h2.enter-x,
.v-login .login-right-panel .enter-x.mb-3,
.v-login .login-right-panel .text-2xl.font-bold,
.v-login .login-right-panel .text-3xl {
  display: none !important;
}

.yd-saas-login {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  color: #1f2937;
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.yd-saas-login * { box-sizing: border-box; }

.yd-saas-title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  letter-spacing: 1px;
}
.yd-saas-sub {
  margin: 8px 0 0;
  font-size: 13px;
  color: #9ca3af;
}

.yd-saas-tabs {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  border-bottom: 1px solid #eef2f7;
}
.yd-saas-tab {
  position: relative;
  padding: 0 2px 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 15px;
  color: #9ca3af;
  font-weight: 500;
}
.yd-saas-tab.is-active {
  color: #2563eb;
  font-weight: 600;
}
.yd-saas-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #2563eb;
}

.yd-saas-form { margin-top: 22px; }
.yd-saas-field { margin-bottom: 18px; }
.yd-saas-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}
.yd-saas-label .req { color: #ef4444; margin-right: 2px; }

.yd-saas-input-wrap {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.yd-saas-input-wrap:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.yd-saas-input-wrap .ico {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  color: #9ca3af;
  flex: 0 0 auto;
}
.yd-saas-input-wrap input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #111827;
}
.yd-saas-input-wrap input::placeholder { color: #c0c4cc; }

.yd-saas-captcha-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.yd-saas-captcha-row .yd-saas-input-wrap { flex: 1; }
.yd-saas-captcha-img {
  width: 120px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  cursor: pointer;
  object-fit: cover;
  flex: 0 0 120px;
}

.yd-saas-extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6px 0 18px;
  font-size: 13px;
}
.yd-saas-remember {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  cursor: pointer;
  user-select: none;
}
.yd-saas-remember input { accent-color: #2563eb; }
.yd-saas-link {
  color: #2563eb;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-size: 13px;
}
.yd-saas-link:hover { text-decoration: underline; }

.yd-saas-btn {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background .2s, opacity .2s;
}
.yd-saas-btn:hover { background: #1d4ed8; }
.yd-saas-btn:disabled { opacity: .65; cursor: not-allowed; }

.yd-saas-error {
  min-height: 18px;
  margin: -8px 0 10px;
  font-size: 12px;
  color: #ef4444;
}
.yd-saas-hidden { display: none !important; }

@media (max-width: 480px) {
  .yd-saas-title { font-size: 26px; }
  .yd-saas-tabs { gap: 18px; }
}
