/* site/auth.css — the sign-in surface (#166).
 *
 * Page-scoped, following the convention search.css and profile.css already set:
 * the shared style.css is left alone so concurrent ports do not collide in it.
 * Everything here is built from style.css's custom properties, so these pages
 * inherit the site's palette, radii and shadow rather than restating them.
 */

/* A signed-out page has no navigation, so the content is centred rather than
   sitting under a nav bar that is not there. */
.auth-shell {
  max-width: 460px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
}

.auth-card h1 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 6px;
}

.auth-lede {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 24px;
}

.auth-field {
  display: block;
  margin-bottom: 18px;
}

.auth-field span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.auth-field input {
  width: 100%;
  padding: 11px 12px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.auth-field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}

.auth-card .btn {
  width: 100%;
  justify-content: center;
}

/* Status messages. `.auth-note` is neutral by default — the failure copy on
   these pages is deliberately not alarming, because it is the same copy an
   uninvited address sees and it must not read as an accusation. */
.auth-note {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
  background: var(--blue-light);
  border: 1px solid #cfe3f7;
  color: var(--navy-dark);
}

.auth-note.auth-note-warn {
  background: #fef3e2;
  border-color: #f6dfbc;
  color: #7a4708;
}

.auth-sent-mark {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 12px;
}

.auth-foot {
  margin: 22px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.auth-foot button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--blue);
  cursor: pointer;
  text-decoration: underline;
}

.auth-address {
  font-weight: 600;
  color: var(--navy);
  overflow-wrap: anywhere;
}

[hidden] {
  display: none !important;
}
