/* Auth forms — shared */
.auth-page {
  width: min(440px, 100%);
  margin: 0 auto;
  padding: 12px 0 48px;
}
.auth-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.auth-title {
  margin: 0 0 8px;
  font-size: 1.45rem;
  font-weight: 800;
  text-align: center;
}
.auth-subtitle {
  margin: 0 0 18px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-light);
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
}
.auth-input,
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"],
.auth-form textarea,
.auth-form select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-size: 0.95rem;
  color: var(--text);
}
.auth-input:focus {
  outline: none;
  border-color: rgba(143, 47, 103, 0.45);
  box-shadow: 0 0 0 3px rgba(143, 47, 103, 0.12);
  background: #fff;
}
.auth-error,
.auth-form .errorlist {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--danger);
}
.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-light);
}
.auth-submit { width: 100%; margin-top: 6px; }
.auth-links {
  margin-top: 18px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
}
.auth-links a { color: var(--accent); font-weight: 700; }
.auth-required { color: var(--accent); font-weight: 800; }
.auth-hp-wrap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.auth-captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.auth-captcha-image {
  line-height: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.auth-captcha-hint { margin: 6px 0 0; font-size: 0.8rem; }
