/* 方案C 极简卡密 —— CDK 登录页（浅色、移动优先）。控制台仍用 seer.css 暗色主题。 */

.cdk-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: linear-gradient(180deg, #f4f6fb 0%, #eef1f9 100%);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: #23293a;
}

.cdk-card {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border: 1px solid #e4e8f2;
  border-radius: 16px;
  padding: 30px 26px 24px;
  box-shadow: 0 8px 28px rgba(35, 41, 58, .07);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cdk-card__logo {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef1ff, #e3e9ff);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cdk-card__logo img { width: 36px; height: 36px; object-fit: contain; }

.cdk-card__title { margin: 0; text-align: center; font-size: 19px; font-weight: 600; }
.cdk-card__sub { margin: -8px 0 0; text-align: center; font-size: 12px; color: #8a93a8; }

.cdk-tabs { display: flex; gap: 6px; background: #f2f4fa; border-radius: 10px; padding: 4px; }
.cdk-tab {
  flex: 1; border: none; background: transparent; border-radius: 8px;
  padding: 8px 4px; font-size: 13px; color: #5c6579; cursor: pointer;
  transition: background .15s, color .15s;
}
.cdk-tab.is-active { background: #fff; color: #4f6ef7; font-weight: 600; box-shadow: 0 1px 4px rgba(35, 41, 58, .10); }

.cdk-accbox { display: flex; flex-direction: column; gap: 14px; }
.cdk-input--plain { letter-spacing: normal; text-transform: none; font-family: inherit; }

.cdk-label { font-size: 12px; color: #5c6579; margin-bottom: -8px; }

.cdk-input {
  width: 100%;
  box-sizing: border-box;
  background: #f7f8fc;
  border: 1px solid #dfe4ef;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  letter-spacing: 1.5px;
  font-family: Consolas, "Courier New", monospace;
  color: #23293a;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.cdk-input:focus { border-color: #4f6ef7; box-shadow: 0 0 0 3px rgba(79, 110, 247, .14); }
.cdk-input::placeholder { color: #b6bdd0; letter-spacing: 1px; }

.cdk-err {
  display: none;
  font-size: 12px;
  color: #d64545;
  background: #fdf0f0;
  border: 1px solid #f4d7d7;
  border-radius: 8px;
  padding: 8px 10px;
}
.cdk-err.is-shown { display: block; }

.cdk-keep { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #5c6579; cursor: pointer; user-select: none; }
.cdk-keep input { width: 15px; height: 15px; accent-color: #4f6ef7; }

.cdk-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #4f6ef7;
  cursor: pointer;
  transition: background .15s, transform .06s;
}
.cdk-btn:hover { background: #4060e6; }
.cdk-btn:active { transform: scale(.985); }
.cdk-btn:disabled { background: #a8b4f0; cursor: default; }

.cdk-foot { text-align: center; font-size: 12px; color: #8a93a8; line-height: 1.7; }
.cdk-foot a { color: #4f6ef7; text-decoration: none; cursor: pointer; }

.cdk-help {
  display: none;
  font-size: 12px;
  color: #5c6579;
  background: #f7f8fc;
  border: 1px solid #e4e8f2;
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1.8;
}
.cdk-help.is-shown { display: block; }

@media (max-width: 400px) {
  .cdk-card { padding: 24px 18px 20px; }
}