/* Phone-first: everything is designed for a thumb on a phone screen,
   and simply gets a comfortable max width on a computer. */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f6f4ef;
  color: #222;
  line-height: 1.5;
}
.top {
  background: #1f3a5f;
  padding: 14px 16px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
.brand { color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.nav { margin-left: auto; display: flex; gap: 14px; }
.nav a { color: #cfe0f5; text-decoration: none; font-size: 1rem; }
.wrap { max-width: 640px; margin: 0 auto; padding: 16px; }
.foot { text-align: center; color: #999; font-size: .85rem; padding: 24px 0 40px; }

.card {
  background: #fff; border-radius: 12px; padding: 16px;
  margin-bottom: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
h1 { font-size: 1.4rem; margin: 8px 0 16px; }
h2 { font-size: 1.1rem; margin: 0 0 10px; }

/* Big tap targets everywhere. */
a.button, button, input[type=submit] {
  display: block; width: 100%;
  background: #1f6f43; color: #fff; border: 0; border-radius: 10px;
  padding: 15px 16px; font-size: 1.1rem; font-weight: 600;
  text-align: center; text-decoration: none; cursor: pointer;
  margin: 10px 0;
}
a.button.secondary, button.secondary { background: #5a6b82; }
a.button.danger, button.danger { background: #a33; }
a.button.inline, button.inline { display: inline-block; width: auto; padding: 9px 14px; font-size: .95rem; margin: 4px 4px 4px 0; }

label { display: block; font-weight: 600; margin: 12px 0 4px; }
input[type=text], input[type=email], input[type=tel], input[type=password],
input[type=number], input[type=date], textarea, select {
  width: 100%; padding: 13px 12px; font-size: 1.05rem;
  border: 1px solid #ccc; border-radius: 10px; background: #fff;
}
textarea { min-height: 90px; }

.error { background: #fdecea; color: #a33; padding: 12px; border-radius: 10px; margin: 10px 0; }
.notice { background: #e9f5ec; color: #1f6f43; padding: 12px; border-radius: 10px; margin: 10px 0; }
.muted { color: #777; }
.big-amount { font-size: 2rem; font-weight: 700; }

table { width: 100%; border-collapse: collapse; }
td, th { text-align: left; padding: 9px 6px; border-bottom: 1px solid #eee; vertical-align: top; }
td.num, th.num { text-align: right; white-space: nowrap; }

.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.pill.open { background: #fff3cd; color: #7a5b00; }
.pill.paid { background: #d9f2e3; color: #1f6f43; }
.pill.void { background: #eee; color: #666; }

.amounts-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.amounts-row button { width: auto; flex: 1 1 28%; padding: 13px 6px; margin: 0; background: #eef2f7; color: #1f3a5f; }
hr { border: 0; border-top: 1px solid #e5e5e5; margin: 18px 0; }

/* Donate page */
.give-options { display: grid; gap: 10px; }
.give-btn {
  display: block; padding: 14px 16px; border-radius: 10px; text-decoration: none;
  background: #eef2f7; color: #1f3a5f; border: 1px solid #dbe3ee;
}
.give-btn-name { display: block; font-weight: 700; font-size: 1.05rem; }
.give-btn-detail { display: block; font-size: .9rem; color: #5a6b82; margin-top: 2px; }
a.give-btn:active, a.give-btn:hover { background: #e2e9f4; }
.give-btn-static { background: #f7f4ec; border-color: #e8e0cc; }
.zeffy-embed { margin: 10px 0 4px; }

/* Hero banner on public pages */
.hero {
  margin: -14px -14px 16px; border-radius: 0 0 14px 14px;
  background: #1f3a5f url('/static/img/hall-aron.jpg') center 38% / cover no-repeat;
  min-height: 170px; display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(15,25,45,.15) 0%, rgba(15,25,45,.62) 100%);
}
.hero-text { position: relative; padding: 14px 16px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.hero-name { font-size: 1.5rem; font-weight: 800; letter-spacing: .2px; }
.hero-tag { font-size: .9rem; opacity: .92; margin-top: 2px; }
@media (min-width: 720px) { .hero { min-height: 240px; } }
