/* login.css - 登录页 */
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
  padding: 40px 34px 32px;
  position: relative;
  overflow: hidden;
}
.login-card::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.16), transparent 70%);
  pointer-events: none;
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.3);
}
.brand-copy b {
  display: block;
  font-size: 16px;
  letter-spacing: 0.2px;
}
.brand-copy span {
  font-size: 12px;
  color: var(--text-faint);
}
.login-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 4px;
}
.login-sub {
  color: var(--text-soft);
  font-size: 13px;
  margin: 0 0 24px;
}
.login-form .input {
  margin-bottom: 14px;
  padding: 12px 14px;
}
.login-error {
  display: none;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--danger);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 13px;
  margin-bottom: 14px;
}
.login-error.is-show {
  display: block;
}
.login-foot {
  margin-top: 22px;
  text-align: center;
  color: var(--text-faint);
  font-size: 12px;
}
.login-foot .dot {
  margin: 0 6px;
}
