/* Shared styles for the signup and login pages (mirrors onboarding). */

.sandbox-banner {
  position: sticky;
  top: 0;
  z-index: 10000;
  width: 100%;
  margin: 0;
  padding: 7px 14px;
  background: #92400e;
  color: #fffbeb;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}
.sandbox-banner[hidden] { display: none !important; }

.auth-shell {
  max-width: 460px;
  margin: 64px auto;
  padding: 0 20px 64px;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.auth-brand-mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent-tint);
  color: var(--accent);
}
.auth-brand-mark svg { width: 24px; height: 24px; display: block; }
.auth-brand-copy { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.auth-brand h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
}
.auth-brand-eyebrow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 28px;
}
.auth-card h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.auth-card p.auth-hint {
  margin: 0 0 20px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}
.auth-field { margin-bottom: 16px; }
.auth-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.auth-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--fill-quiet, var(--fill));
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
}
.auth-field input:focus {
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
}
.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}
.auth-btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  transition: transform 0.12s ease, background 0.12s ease;
}
.auth-btn:hover { background: var(--accent-deep); }
.auth-btn:active { transform: scale(0.97); }
.auth-btn[disabled] { opacity: 0.5; cursor: default; }
.auth-status {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  min-height: 20px;
}
.auth-status.error { color: var(--danger); }
.auth-status.success { color: var(--ok, #34c759); }
.auth-alt {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.auth-alt a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.auth-alt a:hover { text-decoration: underline; }
.auth-consent {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
.auth-consent a { color: var(--accent); text-decoration: none; }
.auth-consent a:hover { text-decoration: underline; }
.auth-legal {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  font-size: 12px;
  color: var(--muted);
}
.auth-legal a { color: var(--muted); text-decoration: none; }
.auth-legal a:hover { color: var(--accent); text-decoration: underline; }
