/* ========================================
   Auth form — login / register / password reset / signup verify.
   Used inside .auth-form-side__content (see layouts/auth-layout.css).
   Token vars (--auth-*) are scoped to .auth-body.
   ======================================== */

.auth-tabs {
  display: inline-flex;
  gap: 28px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--auth-line);
}
.auth-tabs > a,
.auth-tabs > button {
  position: relative;
  padding: 0 0 10px;
  background: transparent;
  border: 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--auth-muted);
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}
.auth-tabs > a.-active,
.auth-tabs > button.-active { color: var(--auth-ink); }
.auth-tabs > a.-active::after,
.auth-tabs > button.-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--auth-green);
}
.auth-tabs > a:hover { color: var(--auth-ink); }

.auth-title {
  font-family: var(--font-scoreboard);
  font-size: 42px;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--auth-ink);
  margin: 0;
}
.auth-title .accent { color: var(--auth-green); }

.auth-subtitle {
  color: var(--auth-ink-soft);
  font-size: 14px;
  margin: 8px 0 0;
  line-height: 1.5;
}
.auth-subtitle strong { color: var(--auth-ink); font-weight: 600; }

.auth-form { margin-top: 20px; }
.auth-form > .field { margin-bottom: 12px; }
.auth-form > .field > .label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--auth-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  font-weight: 500;
}
.auth-form > .field > .input {
  width: 100%;
  padding: 11px 14px;
  background: var(--auth-form-bg-2);
  border: 1px solid var(--auth-line-strong);
  border-radius: 10px;
  color: var(--auth-ink);
  font-family: var(--font);
  font-size: 15px;
  transition: all 0.2s;
  outline: none;
}
.auth-form > .field > .input::placeholder { color: rgba(244, 235, 214, 0.3); }
.auth-form > .field > .input:focus {
  border-color: var(--auth-green);
  box-shadow: 0 0 0 3px rgba(78, 199, 122, 0.12);
  background: rgba(78, 199, 122, 0.03);
}

.auth-form > .errors {
  background: rgba(255, 120, 102, 0.08);
  border: 1px solid rgba(255, 120, 102, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
}
.auth-form > .errors > .message {
  color: var(--auth-coral);
  font-size: 13px;
  margin: 2px 0;
}

.auth-form > .lock-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 16px;
  font-size: 12px;
  color: var(--auth-muted);
}
.auth-form > .lock-hint > svg { width: 12px; height: 12px; flex: 0 0 auto; }

.auth-btn {
  width: 100%;
  padding: 13px 18px;
  background: var(--auth-green);
  color: var(--auth-pitch-deep);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 24px -8px var(--auth-green-glow);
}
.auth-btn:hover {
  background: #5ed68a;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px var(--auth-green-glow);
}
.auth-btn > svg.arrow { transition: transform 0.2s; }
.auth-btn:hover > svg.arrow { transform: translateX(3px); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0;
  color: var(--auth-muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--auth-line-strong);
}

.oauth-button {
  width: 100%;
  padding: 11px 16px;
  background: transparent;
  border: 1px solid var(--auth-line-strong);
  border-radius: 10px;
  color: var(--auth-ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}
.oauth-button:hover {
  border-color: var(--auth-ink-soft);
  background: rgba(244, 235, 214, 0.03);
}
.oauth-button > svg { flex-shrink: 0; }

.auth-footer-link {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--auth-muted);
}
.auth-footer-link a {
  color: var(--auth-green);
  text-decoration: none;
  font-weight: 500;
}
.auth-footer-link a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .auth-title { font-size: 42px; }
  .auth-subtitle { font-size: 14px; }
}
