/* ============================================================
   登录 / 注册
   ============================================================ */
.auth-page { background: #fff; }

.auth-shell {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 100vh;
}

/* ---------------------------------------------------------- 左侧品牌 */
.auth-brand {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #eef0ff 0%, #f2f4ff 45%, #eaf6ff 100%);
  padding: 42px 56px;
  display: flex;
  flex-direction: column;
}

.auth-brand .logo { height: auto; }

.brand-copy { position: relative; z-index: 2; margin-top: 78px; max-width: 460px; }

.brand-copy h1 {
  font-size: 44px;
  font-weight: 800;
  color: #171a58;
  letter-spacing: 2px;
  line-height: 1.25;
}

.brand-copy p {
  margin-top: 18px;
  font-size: 15px;
  line-height: 2;
  color: #5c6473;
}

.brand-points {
  position: relative;
  z-index: 2;
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.brand-points li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #4d5668;
}

.brand-points .dot-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dff5ff;
  display: grid;
  place-items: center;
  flex: none;
}

.brand-art {
  position: absolute;
  right: -140px;
  bottom: -110px;
  width: 640px;
  opacity: 0.9;
  pointer-events: none;
}

.brand-foot {
  margin-top: auto;
  position: relative;
  z-index: 2;
  color: #9aa3b5;
  font-size: 12px;
  padding-top: 40px;
}

.brand-foot a { color: #7f8ba0; }

/* ---------------------------------------------------------- 右侧表单 */
.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 40px;
}

.auth-box { width: 384px; max-width: 100%; }

.auth-box h2 {
  font-size: 30px;
  font-weight: 700;
  color: #1d2433;
  letter-spacing: 1px;
}

.auth-sub {
  margin-top: 10px;
  color: #8b95a5;
  font-size: 14px;
}

.auth-form { margin-top: 34px; }

.auth-form .field { margin-bottom: 20px; }

.auth-form .field-label { font-size: 14px; font-weight: 500; color: #3d4757; }

.auth-input-wrap { position: relative; }

.auth-input-wrap .input { padding-right: 48px; }

.pwd-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #a2aab6;
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 6px;
}

.pwd-toggle:hover { color: #5b6474; background: #f1f5f9; }

.captcha-line { display: flex; gap: 12px; }

.captcha-line .input { flex: 1; }

.captcha-line img {
  width: 132px;
  height: 48px;
  border-radius: 6px;
  border: 1px solid #e6ebf0;
  cursor: pointer;
  background: #f7fafc;
  flex: none;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -4px 0 24px;
  font-size: 13px;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5b6474;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.5;
}

.check input {
  width: 15px;
  height: 15px;
  accent-color: #12b4ea;
  margin: 0;
}

.auth-link { color: #129dcc; }
.auth-link:hover { color: #0a88b3; }

.btn-auth {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #22bced, #0aa6dd);
  color: #fff;
  font-size: 16px;
  letter-spacing: 3px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(18, 180, 234, 0.26);
  transition: all 0.16s;
}

.btn-auth:hover { filter: brightness(1.03); transform: translateY(-1px); }
.btn-auth:disabled { opacity: 0.7; cursor: wait; transform: none; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 18px;
  color: #b0b8c4;
  font-size: 12px;
}

.auth-divider::before, .auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #eef1f5;
}

.btn-wechat {
  width: 100%;
  height: 48px;
  border: 1px solid #e2e8ee;
  border-radius: 8px;
  background: #fff;
  color: #33415c;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  transition: all 0.16s;
}

.btn-wechat:hover { border-color: #bfe9c9; background: #f7fdf9; color: #12915a; }

.btn-wechat .wx-dot {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #22c55e;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
}

.auth-bottom {
  margin-top: 28px;
  text-align: center;
  color: #8b95a5;
  font-size: 13.5px;
}

.auth-bottom a { color: #129dcc; font-weight: 500; }

.auth-note {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid #f2f4f7;
  text-align: center;
  color: #aab2bf;
  font-size: 12px;
  line-height: 1.8;
}

.auth-note a { color: #8b95a5; }
.auth-note a:hover { color: #129dcc; }

@media (max-width: 1000px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-main { min-height: 100vh; padding: 32px 22px; }
  .auth-box h2 { font-size: 26px; }
}
