/* =========================================================
   Re-Elect Anne Barrington — Campaign Site Styles
   Colors, type, and layout sampled from the approved PDF.
   ========================================================= */

:root {
  --navy: #1B2A44;
  --navy-dark: #142033;
  --red: #E15B4F;
  --red-dark: #C94A3F;
  --cream: #F4EEE3;
  --cream-alt: #EFE7D8;
  --white: #FFFFFF;
  --text-body: #3A3F4A;
  --border-soft: #E3DCCB;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --max-width: 1200px;
  --header-height: 104px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--red);
  margin: 18px auto;
  position: relative;
}

.section-divider.left { margin: 18px 0; }

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 0 0 0.4em;
  font-weight: 700;
}

h1 em, h2 em, h3 em { font-style: italic; color: var(--red); }

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-body);
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:focus-visible {
  outline: 3px solid var(--red-dark);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-dark); }

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.logo-mark { height: 80px; width: auto; flex-shrink: 0; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav.main-nav a.nav-link {
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

nav.main-nav a.nav-link:hover,
nav.main-nav a.nav-link.active {
  border-bottom-color: var(--red);
}

nav.main-nav a.nav-link:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.donate-btn {
  background: var(--red);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.9rem;
}
.donate-btn:hover { background: var(--red-dark); }

.hamburger {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger span:nth-child(1) { top: 13px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 25px; }

.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------- Home / Hero ---------------- */

.hero {
  padding: 70px 0 90px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-photo-wrap img {
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(27, 42, 68, 0.18);
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1.05;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 28px 0 34px;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1.02rem;
  color: var(--navy);
  font-weight: 500;
}

.bullet-arrow {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-top: 2px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------------- About ---------------- */

.about-section { padding: 80px 0; }

.about-header { margin-bottom: 30px; }

.about-intro-text {
  max-width: 640px;
  margin-bottom: 44px;
  font-size: 1.05rem;
}

.at-a-glance {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-bottom: 30px;
}

.glance-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.glance-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.glance-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 2px;
}

.glance-value {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--text-body);
  font-size: 0.95rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.about-main-photo img {
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(27, 42, 68, 0.15);
}

.about-side-photos {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.side-photo-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(27, 42, 68, 0.1);
}

.side-photo-card img { width: 100%; }

.side-photo-caption {
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.about-quote {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: flex-start;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--red);
  line-height: 1;
}

.about-quote p {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--navy);
  margin: 0;
}

.value-statements {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.value-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-title {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin: 0 0 4px;
}

.value-desc { font-size: 0.88rem; margin: 0; }

/* ---------------- Platform ---------------- */

.platform-section { padding: 80px 0; background: var(--cream); }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.platform-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(27, 42, 68, 0.08);
  display: flex;
  flex-direction: column;
}

.platform-card.wide { grid-column: span 1; }

.platform-icon-wrap {
  padding: 30px 30px 10px;
  display: flex;
  justify-content: center;
}

.platform-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.platform-icon .check-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  border: 2px solid var(--white);
}

.platform-card h3 {
  text-align: center;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.platform-card p {
  text-align: center;
  padding: 0 24px;
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.platform-card .platform-photo {
  margin-top: auto;
}

.platform-card .platform-photo img { width: 100%; height: 180px; object-fit: cover; }

.platform-grid-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.platform-quote-bar {
  margin-top: 60px;
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 40px 44px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.platform-quote-bar .quote-mark { color: var(--red); }

.platform-quote-bar p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  margin: 0;
}

.platform-quote-bar cite {
  font-style: normal;
  color: var(--red);
  font-weight: 700;
  display: block;
  margin-top: 8px;
}

.tree-motif { width: 90px; opacity: 0.5; }

/* ---------------- Leadership Matters ---------------- */

.leadership-section {
  padding: 80px 0;
  background: var(--cream-alt);
}

.leadership-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.leadership-photo img {
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(27, 42, 68, 0.18);
}

.leadership-text p { margin-bottom: 16px; font-size: 1.02rem; }

.leadership-bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.leadership-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--navy);
}

.leadership-quote {
  border: 2px solid var(--red);
  border-radius: 10px;
  padding: 22px 26px;
  position: relative;
  margin-top: 20px;
}

.leadership-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0;
}

.leadership-quote .quote-mark {
  position: absolute;
  top: -18px;
  right: 20px;
  background: var(--cream-alt);
  padding: 0 6px;
}

/* ---------------- The Record ---------------- */

.record-section { padding: 80px 0; }

.record-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.record-item {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 26px 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.record-check {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--red);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
}

.record-item h3 {
  text-transform: uppercase;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.record-item .record-tagline {
  color: var(--red);
  font-weight: 700;
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.record-item .record-body { margin: 0; }

.record-sub-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.record-sub-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.record-sub-list strong { color: var(--navy); }

/* ---------------- The Record — More ---------------- */

.record-more-section {
  padding: 80px 0;
  background: var(--cream-alt);
}

.record-more-header { text-align: center; margin-bottom: 44px; }

.record-more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.record-more-card {
  background: var(--white);
  border-radius: 12px;
  padding: 26px 22px;
  box-shadow: 0 8px 20px rgba(27, 42, 68, 0.06);
}

.record-more-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.record-more-card h4 {
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0 0 6px;
  font-family: var(--font-sans);
}

.record-more-card .card-title {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 10px;
}

.record-more-card p.desc { font-size: 0.85rem; margin: 0; }

/* ---------------- Community Involvement ---------------- */

.involvement-section { padding: 80px 0; }

.involvement-header { text-align: center; margin-bottom: 40px; }

.involvement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.involvement-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 26px;
}

.involvement-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.involvement-card h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.involvement-role {
  color: var(--red);
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.involvement-card p.desc { font-size: 0.9rem; margin: 0; }

.involvement-quote {
  text-align: center;
  margin-top: 46px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--navy);
}

/* ---------------- Get Involved / Closing ---------------- */

.get-involved-section {
  padding: 80px 0 60px;
  background: var(--navy);
  color: var(--white);
}

.get-involved-section .eyebrow { color: var(--red); }

.get-involved-section h2 { color: var(--white); }

.get-involved-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.gi-photo img {
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.gi-ways {
  list-style: none;
  padding: 0;
  margin: 26px 0 32px;
}

.gi-ways li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-weight: 500;
}

.gi-ways li:last-child { border-bottom: none; }

.gi-icon {
  width: 32px;
  height: 32px;
  color: var(--red);
  flex-shrink: 0;
}

.gi-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }

.get-involved-section .btn-outline {
  border-color: var(--white);
  color: var(--white);
}
.get-involved-section .btn-outline:hover { background: var(--white); color: var(--navy); }

.closing-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--white);
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--navy-dark);
  color: #B9C2D4;
  text-align: center;
  padding: 22px;
  font-size: 0.8rem;
}

/* ---------------- Responsive: Tablet ---------------- */

@media (max-width: 980px) {
  .container { padding: 0 24px; }

  :root { --header-height: 88px; }
  .logo-mark { height: 66px; }

  nav.main-nav { gap: 20px; }
  nav.main-nav a.nav-link { font-size: 0.85rem; }

  .hero .container,
  .leadership-section .container,
  .get-involved-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .leadership-section .container { grid-template-columns: 1fr; }
  .leadership-photo { order: -1; }

  .about-grid { grid-template-columns: 1fr; }
  .about-side-photos { flex-direction: row; }
  .side-photo-card { flex: 1; }

  .value-statements { grid-template-columns: 1fr; gap: 20px; }

  .platform-grid { grid-template-columns: 1fr; }
  .platform-grid-bottom { grid-template-columns: repeat(3, 1fr); }

  .record-more-grid { grid-template-columns: repeat(2, 1fr); }

  .involvement-grid { grid-template-columns: repeat(2, 1fr); }

  .platform-quote-bar {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .platform-quote-bar .quote-mark,
  .platform-quote-bar .tree-motif { display: none; }
}

/* ---------------- Responsive: Mobile ---------------- */

@media (max-width: 640px) {
  :root { --header-height: 66px; }
  .logo-mark { height: 50px; }

  .container { padding: 0 20px; }

  nav.main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  nav.main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  nav.main-nav a.nav-link {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  nav.main-nav .donate-btn {
    margin-top: 14px;
    width: 100%;
    text-align: center;
  }

  .hamburger { display: block; }

  .hero-copy { order: -1; }

  .hero { padding: 40px 0 60px; }
  .about-section, .platform-section, .leadership-section,
  .record-section, .record-more-section, .involvement-section,
  .get-involved-section { padding: 50px 0; }

  .about-side-photos { flex-direction: column; }

  .platform-grid-bottom { grid-template-columns: 1fr; }

  .record-more-grid { grid-template-columns: 1fr; }

  .involvement-grid { grid-template-columns: 1fr; }

  .about-quote { grid-template-columns: 1fr; }

  .hero-ctas, .gi-ctas { flex-direction: column; }
  .hero-ctas .btn, .gi-ctas .btn { width: 100%; text-align: center; }

  .platform-quote-bar { padding: 28px 24px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ============================================================
   Donate Modal Pop-up Styling
   ============================================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 32px 32px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  transform: scale(0.94) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: #F3F4F6;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #4B5563;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.modal-close:hover {
  background: var(--red);
  color: var(--white);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--navy);
  margin: 0 0 6px;
}

.modal-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

.donate-freq-toggle {
  display: flex;
  background: #F3F4F6;
  padding: 4px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.freq-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 0.9rem;
  color: #4B5563;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.freq-btn.active {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(27, 42, 68, 0.2);
}

.donate-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.amount-btn {
  padding: 14px;
  border: 2px solid #E5E7EB;
  background: var(--white);
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.15s ease;
}

.amount-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.amount-btn.active {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.custom-amount-wrap {
  display: flex;
  align-items: center;
  border: 2px solid var(--red);
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 20px;
  background: #FFF5F5;
}

.currency-symbol {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-right: 6px;
}

.custom-amount-wrap input {
  border: none;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  width: 100%;
  outline: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

.form-group input {
  padding: 11px 14px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--navy);
  outline: none;
  transition: border-color 0.15s ease;
}

.form-group input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225, 91, 79, 0.15);
}

.modal-donate-submit {
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
  margin-top: 8px;
  cursor: pointer;
  border: none;
}

/* QR Scanner Modal Specific Styles */
.qr-modal-card {
  max-width: 440px;
  text-align: center;
}

.qr-scanner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0 16px;
}

.qr-code-frame {
  background: #FFFFFF;
  padding: 16px;
  border-radius: 20px;
  border: 2px solid #E5E7EB;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qr-code-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.qr-code-image {
  width: 240px;
  height: 240px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.qr-instructions {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F3F4F6;
  padding: 8px 16px;
  border-radius: 20px;
}

.modal-footer-action {
  margin-top: 20px;
}

.close-qr-btn {
  width: 100%;
  padding: 12px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 480px) {
  .qr-modal-card { padding: 28px 20px 24px; }
  .qr-code-image { width: 200px; height: 200px; }
}


