/* Auth pages: elder-first — large type, one obvious action, calm dark
   chrome (the darkroom-neutral house rule arrives with the photo UI;
   these pages just stay out of its way). */

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #161616;
  color: #eaeaea;
  font-family: -apple-system, "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
}

.card {
  max-width: 26rem;
  padding: 2.5rem 2rem;
  text-align: center;
}

h1 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.lead { font-size: 1.15rem; line-height: 1.5; }
.muted { color: #9a9a9a; }

button.big {
  display: block;
  width: 100%;
  margin-top: 1.5rem;
  padding: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #161616;
  background: #e8e6e0;
  border: none;
  border-radius: 0.6rem;
  cursor: pointer;
}
button.big:active { background: #cfcdc7; }
button.big:disabled { opacity: 0.5; cursor: default; }

button.quiet {
  margin-top: 1.5rem;
  padding: 0.5rem 1.2rem;
  font-size: 0.95rem;
  color: #9a9a9a;
  background: none;
  border: 1px solid #3a3a3a;
  border-radius: 0.5rem;
  cursor: pointer;
}


.big-link { color: #8ab4f8; font-size: 1.25rem; text-decoration: none; }

.status {
  min-height: 1.5em;
  margin-top: 1.5rem;
  color: #e0a866;
  line-height: 1.4;
}

/* ---- admin page ---- */

.card.admin { max-width: 34rem; text-align: left; }
.card.admin h1 { font-size: 1.3rem; }
.home { color: #9a9a9a; text-decoration: none; margin-right: 0.4rem; }

.user {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  background: #1e1e1e;
  border: 1px solid #2e2e2e;
  border-radius: 0.6rem;
}
.user.add { border-style: dashed; }

.u-head { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.5rem; }
.u-head code { color: #9a9a9a; font-size: 0.85rem; }

.badge {
  font-size: 0.75rem;
  padding: 0.1rem 0.5rem;
  border-radius: 0.6rem;
  background: #2e3d2e;
  color: #a8d5a8;
}
.badge.off { background: #3d2e2e; color: #d5a8a8; }

.u-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0;
  font-size: 0.95rem;
}
.u-label { color: #9a9a9a; min-width: 4.5rem; }
.u-row input {
  flex: 1;
  min-width: 0;
  padding: 0.35rem 0.6rem;
  font-size: 0.9rem;
  color: #eaeaea;
  background: #232323;
  border: 1px solid #3a3a3a;
  border-radius: 0.4rem;
}

button.small {
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  color: #eaeaea;
  background: #2e2e2e;
  border: 1px solid #3f3f3f;
  border-radius: 0.4rem;
  cursor: pointer;
  white-space: nowrap;
}
button.small:active { background: #3a3a3a; }
button.small.danger { color: #d5a8a8; border-color: #5a3a3a; }

.invite-box { display: flex; gap: 0.5rem; margin: 0.5rem 0; }
.invite-box input { flex: 1; min-width: 0; font-size: 0.8rem; padding: 0.35rem 0.5rem;
  color: #a8d5a8; background: #232323; border: 1px solid #3a3a3a; border-radius: 0.4rem; }

.muted { color: #9a9a9a; }
