/* Account pages (sign in, sign up, password). Builds on home.css. */
.auth {
  max-width: 26rem;
  margin: 0 auto;
  padding: clamp(2rem, 7vw, 4.5rem) var(--page-pad) 4rem;
}
.auth h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin-bottom: 0.75rem; }
.auth .lead { margin-bottom: 2rem; }
.auth form { display: grid; gap: 1.1rem; }
.auth label { display: grid; gap: 0.4rem; font-weight: 500; font-size: 0.95rem; }
.auth input {
  font: inherit; font-weight: 300;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--steel-light);
  border-radius: 0.5rem;
  background: var(--white);
}
.auth input:focus { outline: none; border-color: var(--black); }
.auth .hint { font-weight: 300; font-size: 0.85rem; color: var(--text-muted); }
.auth button { border: 0; cursor: pointer; font: inherit; font-weight: 500; justify-self: start; }
.auth button:disabled { opacity: 0.5; cursor: wait; }
.auth .links { margin-top: 1.75rem; display: grid; gap: 0.5rem; font-size: 0.95rem; }
.auth a { color: var(--black); }
.message { padding: 0.85rem 1rem; border-radius: 0.5rem; font-size: 0.95rem; }
.message:empty { display: none; }
.message.error   { background: #fdecec; color: #8a1c1c; }
.message.success { background: #eef6d2; color: #2f3d00; }
.panel { border-top: 1px solid var(--steel-light); padding-top: 1.75rem; margin-top: 2.25rem; }
.panel h2 { font-size: 1.25rem; font-weight: 500; margin: 0 0 1rem; }
.request { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 0.85rem 0; border-bottom: 1px solid var(--concrete); }
.request small { display: block; color: var(--text-muted); }
.request .actions { display: flex; gap: 0.5rem; }
.button.secondary { background: var(--white); color: var(--black); border: 1.5px solid var(--black); }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.header-link { color: var(--black); font-weight: 500; text-decoration: none; }
.header-link:hover { text-decoration: underline; }
