/* 登录注册页样式 */
.gw-auth {
  min-height: 100vh;
  display: flex; align-items: stretch; justify-content: stretch;
  background: linear-gradient(135deg, #0E3F8C 0%, #1E5CD8 60%, #5B8DEC 100%);
  position: relative;
  overflow: hidden;
}
.gw-auth::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(255,255,255,0.12), transparent 50%);
  pointer-events: none;
}
.gw-auth-left {
  flex: 1.1;
  padding: 60px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.gw-auth-right {
  flex: 0.9;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}
.gw-brand {
  display: flex; align-items: center; gap: 12px;
}
.gw-brand-mark {
  width: 48px; height: 48px;
  background: #fff;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.gw-brand-mark svg { width: 30px; height: 30px; }
.gw-brand-name {
  font-size: 22px; font-weight: 700; letter-spacing: 1px;
}
.gw-brand-sub { opacity: 0.8; font-size: 13px; margin-top: 4px; }

.gw-auth-hero h1 {
  font-size: 38px; line-height: 1.25; margin: 0 0 14px;
  letter-spacing: 1px;
}
.gw-auth-hero p { opacity: 0.86; font-size: 15px; max-width: 480px; line-height: 1.7; }
.gw-feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 540px; margin-top: 24px; }
.gw-feature {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  display: flex; align-items: center; gap: 8px;
}
.gw-feature .dot { width: 8px; height: 8px; background: #FFB35E; border-radius: 50%; flex-shrink: 0; }

.gw-auth-foot { color: rgba(255,255,255,0.6); font-size: 12px; line-height: 1.7; }

.gw-card {
  width: 100%;
  max-width: 400px;
}
.gw-card h2 {
  margin: 0 0 4px;
  font-size: 22px;
  color: var(--gw-text);
}
.gw-card .sub {
  color: var(--gw-text-2);
  font-size: 13px;
  margin-bottom: 22px;
}
.gw-tabs {
  display: flex;
  border-bottom: 2px solid var(--gw-blue-soft);
  margin-bottom: 22px;
}
.gw-tab {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--gw-text-2);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .15s ease;
}
.gw-tab:hover { color: var(--gw-blue); }
.gw-tab.active {
  color: var(--gw-blue);
  border-color: var(--gw-blue);
}
.gw-tab-switch {
  position: absolute; right: -8px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gw-blue-soft);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--gw-blue);
  font-size: 12px;
  border: 2px solid #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}
.gw-captcha-row {
  display: flex; gap: 10px; align-items: center;
}
.gw-captcha-row .field-input { flex: 1; }
.gw-captcha-img {
  height: 40px; width: 140px;
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius);
  cursor: pointer;
  background: #fff;
}
.gw-actions {
  display: flex; align-items: center; justify-content: space-between;
  margin: 6px 0 18px;
  font-size: 13px;
}
.gw-actions a { color: var(--gw-blue); }
.gw-agree {
  font-size: 12px;
  color: var(--gw-text-2);
  margin: 10px 0 14px;
}
.gw-agree a { color: var(--gw-blue); }

.gw-error {
  font-size: 12px;
  color: var(--gw-danger);
  margin-top: 6px;
  min-height: 16px;
}

.gw-bottom-tip {
  text-align: center;
  margin-top: 22px;
  color: var(--gw-text-3);
  font-size: 13px;
}
.gw-bottom-tip a {
  color: var(--gw-blue);
  font-weight: 500;
}

.gw-mini-meta {
  text-align: center;
  font-size: 11px;
  color: var(--gw-text-3);
  margin-top: 18px;
  line-height: 1.7;
}

@media (max-width: 920px) {
  .gw-auth { flex-direction: column; }
  .gw-auth-left { padding: 30px; }
  .gw-auth-right { padding: 30px; border-radius: 18px 18px 0 0; }
  .gw-feature-list { grid-template-columns: 1fr; }
}
