/* ============================================================
   My Giving styles (giving.css)
   Parchment / dark navy / gold, Nunito. Mobile-first, dignified.
   ============================================================ */

.giving-overlay {
  position: fixed;
  inset: 0;
  z-index: 620;
  display: none;
  background: #0f1c30;
}
.giving-overlay.visible { display: block; }
body.giving-open { overflow: hidden; }

.giving-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.giving-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #16263f 0%, #0f1c30 100%);
  border-bottom: 1.5px solid rgba(201, 150, 59, 0.45);
}
.giving-topbar-title {
  flex: 1;
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #e8d9b5;
  letter-spacing: 0.4px;
}
.giving-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid rgba(201, 150, 59, 0.5);
  background: rgba(201, 150, 59, 0.10);
  color: #e8d9b5;
  font-size: 1.15rem;
  cursor: pointer;
  flex-shrink: 0;
}
.giving-close:active { transform: scale(0.94); }
.giving-topbar-spacer { width: 40px; flex-shrink: 0; }

.giving-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 16px 48px;
}

.giving-hero { margin-bottom: 18px; }
.giving-hero h2 {
  font-family: 'Nunito', sans-serif;
  color: #e8d9b5;
  font-size: 1.4rem;
  margin: 4px 0 8px;
}
.giving-hero p { color: #b9c4d6; font-size: 0.97rem; margin: 0; }

.giving-loading { text-align: center; color: #b9c4d6; padding: 46px 16px; font-family: 'Nunito', sans-serif; }

.giving-empty { text-align: center; color: #b9c4d6; font-family: 'Nunito', sans-serif; padding: 26px 18px 10px; }
.giving-empty p { line-height: 1.6; font-size: 1rem; margin: 0 auto 18px; max-width: 440px; }
.giving-empty-icon {
  width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201, 150, 59, 0.12);
  border: 1.5px solid rgba(201, 150, 59, 0.5);
  color: #c9963b;
}
.giving-empty-icon svg { width: 30px; height: 30px; }

.giving-cta {
  padding: 12px 24px; border-radius: 12px; border: none;
  background: #c9963b; color: #16263f;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 0.98rem;
  cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.giving-cta:active { transform: scale(0.97); }

/* headline totals */
.giving-totals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
@media (min-width: 560px) { .giving-totals { grid-template-columns: 1fr 1fr; } }

.giving-total-card {
  border-radius: 16px;
  padding: 18px 18px 16px;
  border: 1.5px solid rgba(201, 150, 59, 0.4);
  background: linear-gradient(180deg, #1a2d48 0%, #14233a 100%);
  font-family: 'Nunito', sans-serif;
}
.giving-total-card.gold {
  border-color: rgba(201, 150, 59, 0.75);
  background: linear-gradient(180deg, #22344f 0%, #182943 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.giving-total-label { color: #c9963b; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px; }
.giving-total-value { color: #f7f0df; font-size: 2rem; font-weight: 800; margin: 6px 0 2px; }
.giving-total-sub { color: #b9c4d6; font-size: 0.85rem; }

.giving-download-wrap { margin: 0 0 22px; text-align: center; }
.giving-download-wrap .giving-cta:disabled { opacity: 0.6; cursor: default; }

.giving-section { margin-bottom: 18px; }
.giving-section h3 {
  font-family: 'Nunito', sans-serif;
  color: #e8d9b5; font-size: 1.02rem; font-weight: 800;
  margin: 0 0 10px;
}
.giving-rows {
  border: 1.5px solid rgba(201, 150, 59, 0.35);
  border-radius: 14px;
  overflow: hidden;
  background: #16263f;
}
.giving-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 15px;
  color: #dfe6f0;
  font-family: 'Nunito', sans-serif; font-size: 0.97rem;
  border-bottom: 1px solid rgba(201, 150, 59, 0.18);
}
.giving-row:last-child { border-bottom: none; }
.giving-row-amt { color: #f2ead8; font-weight: 800; }

.giving-note {
  margin-top: 20px;
  color: #8fa0b8;
  font-family: 'Nunito', sans-serif;
  font-size: 0.86rem;
  line-height: 1.55;
  background: rgba(201, 150, 59, 0.06);
  border: 1px solid rgba(201, 150, 59, 0.28);
  border-radius: 12px;
  padding: 14px 15px;
}
