/* UFIC Payments — design system
   Palette sampled directly from the UFIC crest (purple/gold) and inherited
   from ufiministries.org (warm off-white surfaces, navy ink, serif display
   type for headings, generous rounded cards). */

:root {
  --purple-900: #3d0d3a;
  --purple-700: #6d1968;
  --purple-600: #902080; /* brand primary — sampled from crest */
  --purple-500: #a5379a;
  --purple-100: #f6e9f4;

  --gold-700: #a87a1a;
  --gold-600: #e0b030; /* brand accent — sampled from crest */
  --gold-500: #f0c25a;
  --gold-100: #fbf1da;

  --navy-900: #1f242e;
  --navy-700: #343c4a;
  --ink-500: #5b6472;
  --ink-300: #8b93a1;

  --bg: #f7f5f1;
  --surface: #ffffff;
  --surface-alt: #fbfaf7;
  --border: #e8e3da;
  --border-strong: #d8d1c3;

  --success-700: #146631;
  --success-600: #1b7a3d;
  --success-100: #e7f6ec;

  --danger-700: #8f1d17;
  --danger-600: #b3261e;
  --danger-100: #fbeae9;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(31, 36, 46, 0.06), 0 1px 1px rgba(31, 36, 46, 0.04);
  --shadow-md: 0 6px 20px rgba(31, 36, 46, 0.08), 0 2px 6px rgba(31, 36, 46, 0.05);
  --shadow-lg: 0 16px 40px rgba(61, 13, 58, 0.16);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --sidebar-w: 264px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--navy-900);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; color: var(--navy-900); margin: 0 0 4px; }
h1 { font-size: 28px; }
h2 { font-size: 19px; margin-top: 28px; }
h3 { font-size: 16px; }
p { margin: 0 0 12px; color: var(--ink-500); }
a { color: var(--purple-600); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- App shell / sidebar ---------- */

body:has(.sidebar) { padding-left: var(--sidebar-w); }

.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: linear-gradient(180deg, var(--purple-900) 0%, var(--navy-900) 100%);
  color: rgba(255,255,255,0.92);
  display: flex;
  flex-direction: column;
  z-index: 40;
  overflow-y: auto;
}

.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.brand img { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(224,176,48,0.35); }
.brand-text { line-height: 1.15; }
.brand-text .name { font-family: var(--font-serif); font-weight: 700; font-size: 17px; color: #fff; }
.brand-text .sub { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-500); }

.nav-scroll { flex: 1; padding: 14px 12px 20px; }
.nav-section + .nav-section { margin-top: 18px; }
.nav-label {
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); padding: 0 10px 6px;
  font-weight: 600;
}
.nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.82); font-size: 13.5px; font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-link:hover { background: rgba(255,255,255,0.08); color: #fff; text-decoration: none; }
.nav-link.active { background: rgba(224,176,48,0.16); color: var(--gold-500); }
.nav-link svg { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.9; }

details.nav-section summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 10px 6px;
}
details.nav-section summary::-webkit-details-marker { display: none; }
details.nav-section summary .nav-label { padding: 0; }
details.nav-section summary .chev { transition: transform 0.15s ease; opacity: 0.5; width: 12px; height: 12px; }
details.nav-section[open] summary .chev { transform: rotate(90deg); }

.nav-footer {
  padding: 14px 16px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; gap: 10px;
}
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold-600); color: var(--purple-900);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.nav-footer .who { flex: 1; min-width: 0; }
.nav-footer .who .u { font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-footer .who .r { font-size: 11px; color: rgba(255,255,255,0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-footer form { margin: 0; }
.icon-btn {
  width: 30px; height: 30px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8); display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.icon-btn:hover { background: rgba(255,255,255,0.14); color: #fff; }
.icon-btn svg { width: 15px; height: 15px; }
.icon-btn-labeled {
  width: auto; padding: 0 12px; gap: 6px; font-size: 12.5px; font-weight: 600;
  font-family: inherit; letter-spacing: 0.02em; flex-shrink: 0;
}
.icon-btn-labeled:hover { background: rgba(179,38,30,0.25); border-color: rgba(179,38,30,0.4); color: #fff; }

.sidebar-toggle { display: none; }

.mobile-topbar {
  display: none;
  position: sticky; top: 0; z-index: 30;
  align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.mobile-topbar img { width: 30px; height: 30px; border-radius: 50%; }
.mobile-topbar .name { font-family: var(--font-serif); font-weight: 700; font-size: 15px; color: var(--navy-900); }
.sidebar-backdrop { display: none; }

@media (max-width: 900px) {
  body:has(.sidebar) { padding-left: 0; }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    z-index: 100;
    box-shadow: var(--shadow-lg);
  }
  .sidebar.open { transform: translateX(0); }
  .mobile-topbar { display: flex; }
  .sidebar-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong); background: var(--surface-alt);
    color: var(--navy-700); cursor: pointer;
  }
  .sidebar-toggle svg { width: 18px; height: 18px; }
  .sidebar-backdrop {
    display: none;
    position: fixed; inset: 0; background: rgba(31,36,46,0.45); z-index: 90;
  }
  .sidebar-backdrop.open { display: block; }
}

/* ---------- Page content ---------- */

.page { max-width: 1180px; margin: 0 auto; padding: 32px 40px 64px; }
@media (max-width: 900px) { .page { padding: 20px; } }

.page-header { margin-bottom: 22px; }
.page-header .eyebrow {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--purple-600); margin-bottom: 4px;
}
.page-header p { margin-top: 6px; max-width: 640px; }

/* ---------- Alerts ---------- */

.alert {
  display: flex; align-items: flex-start; gap: 10px;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 14px; font-weight: 500;
  margin-bottom: 18px;
  border: 1px solid transparent;
}
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.alert.success { background: var(--success-100); color: var(--success-700); border-color: rgba(27,122,61,0.18); }
.alert.error { background: var(--danger-100); color: var(--danger-700); border-color: rgba(179,38,30,0.18); }
p.success, p.error { display: none; } /* superseded by .alert markup below; kept for legacy selectors */

/* ---------- Cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px 26px;
  margin-bottom: 24px;
}
.card-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.card + .card { margin-top: 0; }

/* ---------- Forms ---------- */

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4px 20px; }
.form-grid .field.full { grid-column: 1 / -1; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }

.field { margin-bottom: 16px; max-width: 420px; }
.form-grid .field { max-width: none; }
.field label {
  display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--navy-700);
}
.field .hint { font-size: 12px; color: var(--ink-300); margin-top: 4px; }
.field input[type="text"],
.field input[type="password"],
.field input[type="email"],
.field input:not([type]),
.field select,
.field textarea {
  width: 100%; box-sizing: border-box;
  padding: 10px 12px;
  font-family: inherit; font-size: 14px; color: var(--navy-900);
  background: var(--surface-alt);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field textarea { min-height: 78px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--surface);
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px var(--purple-100);
}
.field input:disabled { background: var(--border); color: var(--ink-300); }
.field .error { display: block; color: var(--danger-600); font-size: 12.5px; margin-top: 5px; font-weight: 500; }

.searchable-select-wrap { position: relative; }

tbody td input[type="text"] {
  padding: 7px 10px; font-family: inherit; font-size: 13.5px; color: var(--navy-900);
  background: var(--surface-alt); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  max-width: 130px;
}
tbody td input[type="text"]:focus {
  outline: none; background: var(--surface); border-color: var(--purple-500); box-shadow: 0 0 0 3px var(--purple-100);
}

.radio-row { display: flex; gap: 18px; margin-bottom: 16px; }
.radio-row label { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--navy-700); font-weight: 500; cursor: pointer; }
.radio-row input { accent-color: var(--purple-600); }

.search-bar { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.search-bar .field { margin-bottom: 0; }

/* ---------- Buttons ---------- */

.btn, button[type="submit"], button:not([class]) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
  color: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.btn:hover, button[type="submit"]:hover, button:not([class]):hover { filter: brightness(1.06); box-shadow: var(--shadow-md); text-decoration: none; }
.btn:active, button[type="submit"]:active { transform: translateY(1px); }

.btn-gold { background: linear-gradient(135deg, var(--gold-600), var(--gold-700)); color: var(--purple-900); }
.btn-secondary { background: var(--surface); color: var(--navy-700); border-color: var(--border-strong); box-shadow: none; }
.btn-secondary:hover { background: var(--surface-alt); }
.btn-danger { background: linear-gradient(135deg, var(--danger-600), var(--danger-700)); }
.btn-sm { padding: 6px 14px; font-size: 12.5px; }
.btn-link { background: none; border: none; box-shadow: none; color: var(--purple-600); padding: 4px 0; font-weight: 600; }
.btn-link:hover { background: none; text-decoration: underline; }

/* ---------- Tables ---------- */

.table-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 24px;
}

/* Every report section header ("By Currency", "Itemised Voids", ...) gets a
   consistent, professional treatment instead of relying on the plain page-level
   h2 style — a small uppercase label with a brand accent bar. */
.card-header h2 {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--purple-700);
  padding-left: 12px;
  border-left: 3px solid var(--gold-600);
  line-height: 1.5;
}

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
thead th {
  text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-500); background: var(--surface-alt);
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tbody td { padding: 11px 16px; border-bottom: 1px solid var(--border); color: var(--navy-700); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--purple-100); }
tbody td form { margin: 0; }

.badge {
  display: inline-flex; align-items: center; padding: 3px 10px;
  border-radius: var(--radius-pill); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.badge.ok { background: var(--success-100); color: var(--success-700); }
.badge.muted { background: var(--border); color: var(--ink-500); }
.badge.danger { background: var(--danger-100); color: var(--danger-700); }

/* ---------- Stat / quick-action cards (home dashboard) ---------- */

.hero-banner {
  background: linear-gradient(120deg, var(--purple-900), var(--purple-600) 60%, var(--gold-600) 130%);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 30px 32px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero-banner::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(480px 200px at 100% 0%, rgba(255,255,255,0.18), transparent 70%);
}
.hero-banner h1 { color: #fff; position: relative; }
.hero-banner p { color: rgba(255,255,255,0.85); position: relative; margin-bottom: 0; }

.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.quick-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 18px; box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  display: block;
}
.quick-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--purple-500); text-decoration: none; }
.quick-card .ic {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--purple-100); color: var(--purple-600);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.quick-card .ic svg { width: 19px; height: 19px; }
.quick-card .t { font-weight: 700; color: var(--navy-900); font-size: 14px; margin-bottom: 2px; }
.quick-card .d { font-size: 12.5px; color: var(--ink-500); }

/* ---------- KPI cards (Financial Summary Dashboard) ---------- */

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.kpi-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.kpi-card .label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-500); margin-bottom: 6px;
}
.kpi-card .value { font-size: 24px; font-weight: 700; color: var(--navy-900); }
.kpi-card .value.gold { color: var(--gold-700); }

/* ---------- Receipt ---------- */

.receipt-card {
  max-width: 420px; background: var(--surface); border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-md);
  position: relative;
}
.receipt-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--purple-600), var(--gold-600));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.receipt-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.receipt-row:last-child { border-bottom: none; }
.receipt-row .k { color: var(--ink-500); }
.receipt-row .v { font-weight: 600; color: var(--navy-900); text-align: right; }
.receipt-amount { text-align: center; margin: 6px 0 16px; }
.receipt-amount .n { font-family: var(--font-serif); font-size: 34px; font-weight: 700; color: var(--purple-600); }
.receipt-amount .c { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-300); }

/* ---------- Auth (login) ---------- */

.auth-shell {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
}

.auth-visual {
  background:
    radial-gradient(600px 400px at 20% 15%, rgba(224,176,48,0.25), transparent 60%),
    linear-gradient(160deg, var(--purple-900), var(--navy-900) 75%);
  color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 48px;
}
.auth-visual .mark { display: flex; align-items: center; gap: 14px; }
.auth-visual .mark img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(224,176,48,0.35); }
.auth-visual .mark .name { font-family: var(--font-serif); font-size: 20px; font-weight: 700; }
.auth-visual .mark .sub { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-500); }
.auth-visual .quote { font-family: var(--font-serif); font-size: 30px; line-height: 1.3; max-width: 420px; }
.auth-visual .foot { font-size: 12.5px; color: rgba(255,255,255,0.55); }
@media (max-width: 860px) { .auth-shell { grid-template-columns: 1fr; } .auth-visual { display: none; } }

.auth-form-side { display: flex; align-items: center; justify-content: center; padding: 32px; background: var(--bg); }
.auth-card { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 34px 32px; }
.auth-card .mark-mobile { display: none; text-align: center; margin-bottom: 18px; }
.auth-card .mark-mobile img { width: 56px; height: 56px; border-radius: 50%; }
@media (max-width: 860px) { .auth-card .mark-mobile { display: block; } }
.auth-card h2 { margin-bottom: 4px; }
.auth-card .lede { margin-bottom: 22px; }
.auth-card button[type="submit"] { width: 100%; padding: 12px; font-size: 14px; margin-top: 4px; }

/* ---------- Misc ---------- */

.empty-state { padding: 32px 16px; text-align: center; color: var(--ink-300); font-size: 13.5px; }
.section-note { font-size: 13px; color: var(--ink-500); background: var(--gold-100); border: 1px solid rgba(224,176,48,0.35); border-radius: var(--radius-md); padding: 10px 14px; margin-bottom: 18px; }

/* ---------- Public site (landing + self-service giving) ---------- */

.public-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.public-brand { display: flex; align-items: center; gap: 10px; color: var(--navy-900); font-family: var(--font-serif); font-weight: 700; font-size: 16px; }
.public-brand:hover { text-decoration: none; }
.public-brand img { width: 34px; height: 34px; border-radius: 50%; }
.public-brand strong { color: var(--purple-600); }
.public-nav { display: flex; align-items: center; gap: 22px; }
.public-nav a:not(.btn) { font-size: 13.5px; font-weight: 600; color: var(--navy-700); }
.public-nav a:not(.btn):hover { color: var(--purple-600); text-decoration: none; }
@media (max-width: 640px) { .public-header { padding: 12px 16px; } .public-nav { gap: 10px; } .public-nav a:not(.btn) { display: none; } }

.public-main { max-width: 1180px; margin: 0 auto; }

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 420px at 85% -10%, rgba(224,176,48,0.30), transparent 60%),
    linear-gradient(155deg, var(--purple-900), var(--navy-900) 70%);
  color: #fff;
  padding: 88px 40px 100px;
  text-align: center;
}
.hero .eyebrow { color: var(--gold-500); font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { color: #fff; font-size: 46px; line-height: 1.15; max-width: 780px; margin: 0 auto 18px; }
.hero p.lede { color: rgba(255,255,255,0.82); font-size: 17px; max-width: 560px; margin: 0 auto 32px; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .cta-row .btn { padding: 14px 28px; font-size: 14.5px; }
@media (max-width: 640px) { .hero { padding: 56px 20px 72px; } .hero h1 { font-size: 32px; } }

.section { padding: 64px 40px; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-head .eyebrow { color: var(--purple-600); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.section-head h2 { font-size: 30px; margin-top: 0; }
@media (max-width: 640px) { .section { padding: 44px 20px; } }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; box-shadow: var(--shadow-sm); text-align: left;
}
.feature-card .ic {
  width: 46px; height: 46px; border-radius: var(--radius-md);
  background: var(--purple-100); color: var(--purple-600);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-card .ic svg { width: 22px; height: 22px; }
.feature-card h3 { margin-bottom: 6px; }
.feature-card p { margin: 0; font-size: 13.5px; }

.giving-band {
  background: linear-gradient(120deg, var(--purple-700), var(--purple-600) 55%, var(--gold-600) 140%);
  border-radius: var(--radius-lg); color: #fff; text-align: center;
  padding: 52px 40px; margin: 0 40px 64px;
  box-shadow: var(--shadow-lg);
}
.giving-band h2 { color: #fff; margin-top: 0; }
.giving-band p { color: rgba(255,255,255,0.85); max-width: 480px; margin: 0 auto 26px; }
@media (max-width: 640px) { .giving-band { margin: 0 16px 44px; padding: 40px 22px; } }

.public-footer {
  border-top: 1px solid var(--border); padding: 28px 40px; text-align: center;
  color: var(--ink-300); font-size: 12.5px;
}

/* Self-service giving flow */

.give-shell { min-height: calc(100vh - 65px); background: var(--bg); }
.give-page { max-width: 640px; margin: 0 auto; padding: 48px 20px 80px; }
.give-page .page-header { text-align: center; }
.give-page .page-header .eyebrow { text-align: center; }

.identity-banner {
  display: flex; align-items: center; gap: 14px;
  background: var(--purple-100); border: 1px solid rgba(144,32,128,0.18);
  border-radius: var(--radius-md); padding: 16px 18px; margin-bottom: 22px;
}
.identity-banner .ic {
  width: 40px; height: 40px; border-radius: 50%; background: var(--purple-600); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0;
}
.identity-banner .name { font-weight: 700; color: var(--navy-900); font-size: 14.5px; }
.identity-banner .meta { font-size: 12.5px; color: var(--ink-500); }

.or-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--ink-300); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.amount-quickpick { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.amount-quickpick button {
  background: var(--surface-alt); color: var(--navy-700); border: 1px solid var(--border-strong);
  box-shadow: none; padding: 8px 16px; font-size: 13px;
}
.amount-quickpick button:hover { border-color: var(--purple-500); color: var(--purple-600); }
.amount-quickpick button.active { background: var(--purple-600); color: #fff; border-color: var(--purple-600); }
