/* members.cliveelliott.net — styles (Editorial Calm palette: navy, cream, gold). */

:root {
  --bg: #faf9f6;
  --ink: #1f2421;
  --muted: #6b7280;
  --accent: #2f5d50;
  --gold: #b8860b;
  --line: #e5e1d8;
  --danger: #9b2c2c;
  --radius: 8px;
  --maxw: 480px;
  --maxw-wide: 760px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
main.wide { max-width: var(--maxw-wide); }

h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.muted { color: var(--muted); font-size: 0.9rem; }

/* Forms */
form { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
label { font-weight: 600; font-size: 0.9rem; }
label.checkbox { font-weight: 400; display: flex; align-items: center; gap: 0.5rem; }

input[type="email"], input[type="file"] {
  padding: 0.7rem 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-size: 1rem;
  background: #fff;
}

button {
  padding: 0.7rem 1rem;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  font-size: 1rem;
  cursor: pointer;
}
button:hover { filter: brightness(1.05); }
button:disabled { opacity: 0.6; cursor: default; }

.btn-link {
  background: none;
  color: var(--muted);
  padding: 0;
  font-size: 0.9rem;
  text-decoration: underline;
}
.btn-link:hover { color: var(--ink); filter: none; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.brand { font-weight: 700; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.nav-links a.active { color: var(--gold); font-weight: 600; }
.nav-member { color: var(--muted); font-size: 0.9rem; }

/* Notices / alerts */
.alert {
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  background: #fdeaea;
  color: var(--danger);
  font-size: 0.9rem;
}
.notice {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

/* Library placeholder */
.placeholder {
  margin-top: 1.5rem;
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  background: #fff;
}

/* Cards */
.card {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

/* Sync result */
.result { margin-top: 1.25rem; }
.stats { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.stat {
  flex: 1 1 80px;
  text-align: center;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.stat-num { display: block; font-size: 1.4rem; font-weight: 700; color: var(--accent); }
.stat-label { display: block; font-size: 0.8rem; color: var(--muted); }
.unmapped {
  margin-top: 1rem;
  padding: 0.9rem;
  border-radius: var(--radius);
  background: #fdf6e3;
  font-size: 0.9rem;
}
.unmapped ul { margin: 0.5rem 0 0; padding-left: 1.25rem; }
