/* Shared shell styling for the marketing site, church dashboard, and staff
   admin. Deliberately plain — the real visual identity (brand name TBD,
   design templates) is being worked out separately; this just needs to be
   usable while the structure gets built out. */
:root {
  --ink: #1f2430;
  --muted: #6b7280;
  --line: #e2e5ea;
  --brand: #2b4c7e;
  --accent: #e8b04b;
  --bg: #f7f8fa;
  --card: #ffffff;
  --danger: #c0392b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.5; }
a { color: var(--brand); }

.shell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.shell-header .brand { font-weight: 700; text-decoration: none; color: var(--ink); font-size: 1.1rem; }
.shell-header nav a { margin-left: 1rem; text-decoration: none; color: var(--muted); font-size: 0.9rem; }

.container { max-width: 960px; margin: 0 auto; padding: 2rem 1.5rem; }
.narrow { max-width: 480px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

h1 { font-size: 1.75rem; margin-top: 0; }
h2 { font-size: 1.2rem; }
.muted { color: var(--muted); font-size: 0.9rem; }
.error { color: var(--danger); font-size: 0.9rem; min-height: 1.2em; }

label { display: block; font-size: 0.85rem; font-weight: 600; margin: 0.75rem 0 0.25rem; }
input, textarea, select {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}
textarea { min-height: 90px; resize: vertical; }

button {
  cursor: pointer;
  border: none;
  border-radius: 6px;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--brand);
  color: #fff;
  margin-top: 1rem;
}
button.secondary { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
button.danger { background: var(--danger); }
button.small { padding: 0.3rem 0.7rem; font-size: 0.8rem; margin-top: 0; }

.tabs { display: flex; gap: 0.25rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.tabs button {
  background: var(--card);
  color: var(--muted);
  border: 1px solid var(--line);
  margin-top: 0;
  font-weight: 500;
}
.tabs button.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.list-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.list-item:last-child { border-bottom: none; }
.list-item .actions { display: flex; gap: 0.4rem; flex-shrink: 0; }

.hero { text-align: center; padding: 4rem 1.5rem; background: var(--brand); color: #fff; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.1rem; opacity: 0.9; max-width: 640px; margin: 0.5rem auto 1.5rem; }
.hero button { background: var(--accent); color: #1f2430; }

.hidden { display: none !important; }
