/* ============================================================
   DaiWAF 企业站 · 登录/注册页
   结构：深色渐变容器 → 白卡 → 品牌区 → 表单 → 验证码 → 底部互跳
   表单基础样式（form-field/pw-wrap/form-msg 等）见 common.css
   ============================================================ */

.auth-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 78% 18%, rgba(43, 107, 255, .28) 0%, transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(34, 211, 238, .16) 0%, transparent 42%),
    linear-gradient(150deg, #0A0F1E 0%, #101A38 100%);
}
.auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 56px 20px; }
.auth-card {
  width: 100%;
  max-width: 430px;
  background: #fff;
  border-radius: 20px;
  padding: 42px 38px 34px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.auth-brand { display: flex; justify-content: center; margin-bottom: 22px; }
.auth-brand .logo-text { color: var(--text); }
.auth-card h1 { font-size: 22px; text-align: center; font-weight: 800; }
.auth-sub { text-align: center; color: var(--text-sub); font-size: 13px; margin: 8px 0 28px; }

/* 验证码 */
.captcha-row { display: flex; gap: 12px; }
.captcha-row input { flex: 1; }
.captcha-img {
  width: 122px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
  flex-shrink: 0;
}

/* 协议勾选 */
.agree-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--text-sub);
  margin: 4px 0 20px;
  line-height: 1.6;
}
.agree-row input { accent-color: var(--primary); margin-top: 2px; }
.agree-row a { color: var(--primary); }

/* 底部互跳 */
.auth-alt {
  text-align: center;
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}
.auth-alt a { color: var(--primary); font-weight: 600; }
.auth-foot { text-align: center; padding: 18px; font-size: 12px; color: rgba(255, 255, 255, .45); }
.auth-foot a { color: rgba(255, 255, 255, .7); }

/* 块级按钮（覆盖 common 的 inline 高度） */
.btn-block { width: 100%; height: 48px; font-size: 15px; display: flex; align-items: center; justify-content: center; }

@media (max-width: 640px) {
  .auth-main { padding: 40px 14px; }
  .auth-card { padding: 34px 24px 28px; }
}
