:root {
  --green-950: #0f4f2b;
  --green-800: #1c7a43;
  --green-700: #2b9d58;
  --yellow-500: #f2c94c;
  --yellow-300: #f8e39c;
  --cream: #fffef6;
  --white: #ffffff;
  --text: #15311f;
  --muted: #58705f;
  --border: rgba(15, 79, 43, 0.12);
  --shadow: 0 18px 45px rgba(15, 79, 43, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(242, 201, 76, 0.35), transparent 30%),
    radial-gradient(circle at right center, rgba(43, 157, 88, 0.15), transparent 25%),
    linear-gradient(180deg, #f9fff8 0%, #fffdf4 100%);
}

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

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.muted-copy {
  color: var(--muted);
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.section {
  padding: 3rem 0 5rem;
}

.compact-section {
  padding: 2rem 0 0;
}

.admin-section {
  padding-top: 2rem;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(15, 79, 43, 0.06);
}

.nav-bar,
.hero-grid,
.section-heading,
.footer-grid,
.campaign-detail-grid,
.donation-layout,
.payment-layout,
.form-layout,
.auth-layout,
.contributor-layout,
.admin-shell,
.fundraiser-shell,
.admin-table-filter {
  display: grid;
  gap: 1.5rem;
}

.nav-bar {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
}

.brand img {
  width: 52px;
  height: 52px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a.active,
.nav-links a:hover {
  background: rgba(43, 157, 88, 0.12);
  color: var(--green-950);
}

.hero {
  padding: 3rem 0 2rem;
}

.hero-grid,
.campaign-detail-grid,
.donation-layout,
.payment-layout,
.form-layout,
.auth-layout,
.contributor-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.admin-shell {
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
}

.fundraiser-shell {
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  align-items: start;
}

.hero-copy h1,
.form-intro h1,
.thank-you-card h1,
.story-card h1,
.form-card h1 {
  margin: 0 0 1rem;
  font-family: 'Lexend', sans-serif;
  font-size: clamp(2.2rem, 4vw, 4.7rem);
  line-height: 1.02;
}

.form-card h2 {
  margin: 0;
  font-family: 'Lexend', sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.15;
}

.settings-card {
  gap: 1rem;
}

.settings-card-head {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.settings-card .settings-eyebrow {
  margin-bottom: 0;
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.settings-card h2 {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.2;
}

.settings-card .button {
  margin-top: 0.35rem;
  white-space: nowrap;
}

.settings-hub,
.settings-summary-grid {
  display: grid;
  gap: 1rem;
}

.settings-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.settings-summary-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.settings-summary-card h2 {
  margin: 0.1rem 0 0.4rem;
  font-family: 'Lexend', sans-serif;
  font-size: 1.2rem;
}

.settings-summary-card p {
  margin: 0;
  color: var(--muted);
}

.toast-stack {
  position: fixed;
  top: 110px;
  right: 24px;
  z-index: 45;
  display: grid;
  gap: 0.75rem;
  width: min(420px, calc(100% - 2rem));
}

.toast-card {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid transparent;
  box-shadow: 0 18px 35px rgba(15, 79, 43, 0.16);
  background: rgba(255, 255, 255, 0.98);
  animation: toast-in 0.22s ease;
}

.toast-success {
  border-color: rgba(43, 157, 88, 0.24);
  background: rgba(238, 251, 242, 0.98);
}

.toast-error {
  border-color: rgba(169, 32, 32, 0.22);
  background: rgba(255, 244, 244, 0.98);
  color: #8f1d1d;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.settings-panel {
  display: none;
}

.settings-panel.is-open {
  display: grid;
}

.settings-panel-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-copy p,
.lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-visual img,
.form-intro img {
  filter: drop-shadow(0 24px 32px rgba(15, 79, 43, 0.12));
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(242, 201, 76, 0.2);
  color: var(--green-950);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.8rem 0 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.3rem;
  border: none;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  color: var(--white);
  box-shadow: 0 18px 35px rgba(28, 122, 67, 0.24);
}

.button-secondary {
  background: var(--white);
  color: var(--green-950);
  border: 1px solid rgba(15, 79, 43, 0.12);
}

.button-block {
  width: 100%;
}

.button-small {
  min-height: 40px;
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
}

.danger-button {
  border-color: rgba(169, 32, 32, 0.2);
  color: #8f1d1d;
}

.stats-grid,
.campaign-grid,
.field-grid,
.summary-lines {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card,
.card,
.campaign-card,
.empty-state {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 1.2rem;
}

.stat-card strong {
  display: block;
  font-family: 'Lexend', sans-serif;
  font-size: 1.65rem;
  margin-bottom: 0.35rem;
}

.search-panel {
  padding: 1.5rem 0 5rem;
}

.section-heading {
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 1.6rem;
}

.section-heading h2,
.form-section h2,
.summary-card h2,
.receipt-card h2,
.donation-sidebar h2 {
  margin: 0.3rem 0 0;
  font-family: 'Lexend', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.search-form {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(15, 79, 43, 0.16);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(242, 201, 76, 0.34);
  border-color: var(--green-700);
}

.campaign-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.campaign-card {
  overflow: hidden;
}

.campaign-image {
  position: relative;
  aspect-ratio: 4 / 3;
}

.campaign-image img,
.summary-card img,
.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-body,
.card,
.empty-state {
  padding: 1.4rem;
}

.campaign-body h3 {
  margin: 0 0 0.75rem;
  font-family: 'Lexend', sans-serif;
  font-size: 1.35rem;
}

.campaign-body p,
.summary-card p,
.receipt-card p,
.form-intro p,
.auth-aside p,
.donation-sidebar p,
.footer-grid p,
.footer-bottom,
small {
  color: var(--muted);
  line-height: 1.7;
}

.campaign-meta,
.progress-text,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}

.campaign-meta {
  margin: 0.9rem 0;
  font-size: 0.92rem;
}

.category-pill {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(242, 201, 76, 0.88);
  color: #6b5200;
  font-size: 0.82rem;
  font-weight: 800;
}

.campaign-image .category-pill {
  position: absolute;
  left: 1rem;
  top: 1rem;
}

.progress-wrap {
  display: grid;
  gap: 0.55rem;
  margin: 1.1rem 0 1.4rem;
}

.progress-wrap.large {
  margin-top: 1rem;
}

.progress-bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(15, 79, 43, 0.08);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow-500), var(--green-700));
}

.form-layout {
  align-items: stretch;
}

.profile-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.profile-summary div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(43, 157, 88, 0.06);
}

.otp-status-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.login-lockout-row {
  grid-template-columns: 1fr;
  margin: 0.35rem 0 0.6rem;
}

.otp-status-card {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(15, 79, 43, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

.otp-status-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: 'Lexend', sans-serif;
  font-size: 1.6rem;
}

.otp-status-card span {
  color: var(--muted);
  font-weight: 700;
}

.accent-card {
  background:
    radial-gradient(circle at top right, rgba(242, 201, 76, 0.5), transparent 25%),
    linear-gradient(180deg, rgba(43, 157, 88, 0.08), rgba(255, 255, 255, 0.9));
}

.form-card,
.story-card,
.donation-sidebar,
.summary-card,
.receipt-card,
.thank-you-card {
  display: grid;
  gap: 1.2rem;
}

.form-section {
  display: grid;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 79, 43, 0.08);
}

.form-section:last-of-type {
  border-bottom: none;
}

label span,
.payment-choice > span {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
}

small {
  display: block;
  min-height: 1.3rem;
}

.image-preview {
  display: grid;
  gap: 0.8rem;
}

.image-preview img {
  width: 100%;
  max-width: 320px;
  border-radius: 22px;
  border: 1px solid rgba(15, 79, 43, 0.08);
}

.detail-image {
  border-radius: 24px;
  overflow: hidden;
}

.organizer-list {
  padding-left: 1.2rem;
  margin: 0;
  line-height: 1.9;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.amount-chip {
  min-height: 54px;
  border: 1px solid rgba(15, 79, 43, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.amount-chip.selected {
  background: var(--green-950);
  color: var(--white);
  border-color: var(--green-950);
}

.payment-choice,
.payment-panel {
  display: grid;
  gap: 1rem;
}

.method-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgba(15, 79, 43, 0.12);
  border-radius: 18px;
}

.method-option p {
  margin: 0.2rem 0 0;
}

.payment-logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.payment-logo-strip img {
  height: 34px;
  width: 88px;
  display: block;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 79, 43, 0.1);
  padding: 0.18rem 0.35rem;
  box-shadow: 0 12px 24px rgba(15, 79, 43, 0.06);
  object-fit: contain;
}

.payment-logo {
  overflow: hidden;
}

.payment-logo-telecel,
.payment-logo-at {
  object-fit: cover;
  padding: 0;
}

.payment-logo-telecel {
  object-position: right center;
}

.payment-logo-at {
  object-position: center center;
}

.payment-icon,
.success-mark {
  width: 82px;
  height: 82px;
}

.summary-card img {
  border-radius: 20px;
  aspect-ratio: 4 / 3;
}

.donation-progress-card {
  display: grid;
  gap: 0.7rem;
}

.donation-progress-meta {
  margin: 0;
  font-weight: 700;
  color: var(--green-950);
}

.summary-lines {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.summary-lines span {
  color: var(--muted);
}

.summary-lines strong {
  font-family: 'Lexend', sans-serif;
}

.alert-card {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
}

.alert-success {
  background: rgba(43, 157, 88, 0.1);
  border-color: rgba(43, 157, 88, 0.2);
}

.alert-warning {
  background: rgba(242, 201, 76, 0.18);
  border-color: rgba(242, 201, 76, 0.25);
}

.alert-danger {
  background: rgba(169, 32, 32, 0.08);
  border-color: rgba(169, 32, 32, 0.18);
  color: #8f1d1d;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-approved,
.status-active {
  background: rgba(43, 157, 88, 0.12);
  color: var(--green-950);
}

.status-pending {
  background: rgba(242, 201, 76, 0.22);
  color: #6b5200;
}

.status-rejected,
.status-disabled {
  background: rgba(169, 32, 32, 0.08);
  color: #8f1d1d;
}

.account-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.account-pill.account-admin {
  background: rgba(24, 57, 112, 0.16);
  color: #173870;
  border: 1px solid rgba(24, 57, 112, 0.24);
}

.account-pill.account-accountant {
  background: rgba(20, 106, 92, 0.14);
  color: #0f5d51;
  border: 1px solid rgba(20, 106, 92, 0.22);
}

.account-pill.account-regular {
  background: rgba(88, 112, 95, 0.12);
  color: #355242;
}

.account-pill.account-super {
  background: rgba(242, 201, 76, 0.24);
  color: #6b5200;
  border: 1px solid rgba(242, 201, 76, 0.34);
}

.dashboard-table td .account-pill {
  display: inline-flex;
  margin-top: 0;
}

.verify-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.verify-badge::before {
  content: '';
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  background: currentColor;
  mask: radial-gradient(circle at 50% 50%, transparent 0 24%, #000 25% 100%);
  opacity: 0.14;
}

.verify-badge-yes {
  background: rgba(43, 157, 88, 0.12);
  color: var(--green-950);
}

.verify-badge-no {
  background: rgba(242, 201, 76, 0.22);
  color: #6b5200;
}

.auth-aside,
.dashboard-hero {
  min-height: 100%;
}

.dashboard-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.fundraiser-welcome-card,
.fundraiser-main {
  display: grid;
  gap: 1.5rem;
}

.fundraiser-main {
  min-width: 0;
  align-content: start;
}

.fundraiser-welcome-head,
.table-action-row,
.fundraiser-sidebar-badges {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.verification-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(9, 39, 22, 0.7);
  backdrop-filter: blur(8px);
}

.verification-modal-card {
  width: min(640px, 100%);
  padding: 1.6rem;
}

.verification-modal-card h2 {
  margin: 0 0 0.8rem;
  font-family: 'Lexend', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.verification-modal-actions {
  display: grid;
  gap: 0.8rem;
}

.verification-modal-actions .button {
  width: 100%;
}

.admin-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
}

.admin-sidebar-head h2 {
  margin: 0.25rem 0;
  font-family: 'Lexend', sans-serif;
  font-size: 1.8rem;
}

.admin-sidebar-head p {
  margin: 0;
  color: var(--muted);
}

.admin-sidebar-nav {
  display: grid;
  gap: 0.7rem;
}

.admin-nav-link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  color: var(--muted);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-nav-link:hover,
.admin-nav-link.active {
  background: rgba(43, 157, 88, 0.12);
  color: var(--green-950);
  transform: translateX(2px);
}

.admin-nav-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(242, 201, 76, 0.22);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.admin-sidebar-foot {
  margin-top: auto;
}

.admin-main {
  display: grid;
  gap: 1.5rem;
}

.dashboard-table {
  overflow-x: auto;
}

.dashboard-table table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(15, 79, 43, 0.08);
  vertical-align: top;
}

.dashboard-table th {
  font-family: 'Lexend', sans-serif;
  font-size: 0.92rem;
}

.dashboard-table td span {
  display: block;
  color: var(--muted);
  margin-top: 0.2rem;
}

.dashboard-image {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.admin-links-grid,
.admin-campaign-stack,
.admin-side-stack,
.role-grid,
.filter-row,
.action-row {
  display: grid;
  gap: 1rem;
}

.admin-links-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.admin-link-card {
  min-height: 180px;
}

.messaging-page-stack {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.messaging-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
}

.messaging-subnav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 79, 43, 0.08);
  background: rgba(249, 251, 245, 0.92);
  color: var(--muted);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.messaging-subnav-link:hover,
.messaging-subnav-link.active {
  background: rgba(43, 157, 88, 0.12);
  border-color: rgba(43, 157, 88, 0.22);
  color: var(--green-950);
}

.messaging-category-grid {
  display: grid;
  gap: 0.75rem;
  margin: 0.35rem 0 0.5rem;
}

.messaging-category-item {
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 79, 43, 0.08);
  background: rgba(249, 251, 245, 0.9);
}

.admin-inline-actions {
  display: flex;
  justify-content: flex-start;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.detail-grid > div {
  display: grid;
  gap: 0.3rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(15, 79, 43, 0.04);
  border: 1px solid rgba(15, 79, 43, 0.08);
}

.detail-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.pagination-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 1rem;
}

.pagination-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pagination-link {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 79, 43, 0.1);
  background: rgba(249, 251, 245, 0.92);
  color: var(--green-950);
  font-weight: 700;
  text-decoration: none;
}

.pagination-link.active {
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--white);
}

.log-pre {
  margin: 0.8rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(15, 79, 43, 0.04);
  border: 1px solid rgba(15, 79, 43, 0.08);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.fundraiser-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
  overflow: hidden;
  align-self: start;
  transition: width 0.25s ease, padding 0.25s ease;
}

.fundraiser-sidebar-head h2 {
  margin: 0.25rem 0;
  font-family: 'Lexend', sans-serif;
  font-size: 1.75rem;
}

.fundraiser-sidebar-head p {
  margin: 0;
  color: var(--muted);
}

.fundraiser-sidebar-nav {
  display: grid;
  gap: 0.7rem;
}

.fundraiser-nav-link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  color: var(--muted);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.fundraiser-nav-link:hover,
.fundraiser-nav-link.active {
  background: rgba(43, 157, 88, 0.12);
  color: var(--green-950);
  transform: translateX(2px);
}

.fundraiser-nav-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(242, 201, 76, 0.22);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.fundraiser-sidebar-foot {
  margin-top: auto;
}

.table-action-cell {
  width: 1%;
  white-space: nowrap;
}

.admin-link-card h2,
.admin-campaign-card h2,
.admin-side-panel h2 {
  margin-top: 0;
  font-family: 'Lexend', sans-serif;
}

.admin-campaign-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.admin-side-stack {
  align-content: start;
}

.admin-side-panel {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.role-grid {
  margin: 0.5rem 0 1rem;
}

.checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.2rem;
}

.filter-row,
.action-row {
  grid-auto-flow: column;
  justify-content: start;
  margin: 1rem 0 1.5rem;
}

.admin-filter-card {
  padding: 1.25rem;
}

.admin-table-filter {
  grid-template-columns: minmax(0, 2fr) minmax(180px, 0.8fr) auto;
  align-items: end;
}

.admin-filter-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.auth-type-grid {
  display: grid;
  gap: 0.75rem;
}

.campaign-action-icons {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}

.inline-action-form {
  margin: 0;
}

.icon-action {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 79, 43, 0.12);
  border-radius: 14px;
  background: var(--white);
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.view-action,
.wide-action {
  width: auto;
  min-width: 42px;
  padding: 0 0.9rem;
}

.view-action {
  color: var(--green-950);
  background: rgba(244, 194, 20, 0.16);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-action:hover {
  transform: translateY(-1px);
}

.success-action {
  color: var(--green-950);
  background: rgba(43, 157, 88, 0.08);
}

.pending-action {
  color: #6b5200;
  background: rgba(242, 201, 76, 0.18);
}

.reject-action {
  color: #8f1d1d;
  background: rgba(169, 32, 32, 0.08);
}

.admin-note-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--green-950);
}

.note-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.muted-inline {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.user-search {
  margin: 1.5rem 0;
}

.contributor-history-table {
  padding: 0;
  box-shadow: none;
  border: none;
}

.narrow {
  width: min(760px, calc(100% - 2rem));
}

.thank-you-card {
  text-align: center;
  justify-items: center;
}

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
}

.site-footer {
  padding: 2rem 0 2.5rem;
}

.footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.3rem;
}

.footer-bottom {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(15, 79, 43, 0.08);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .campaign-detail-grid,
  .donation-layout,
  .payment-layout,
  .form-layout,
  .settings-summary-grid,
  .auth-layout,
  .contributor-layout,
  .admin-shell,
  .fundraiser-shell,
  .admin-links-grid,
  .admin-table-filter,
  .section-heading,
  .footer-grid,
  .campaign-grid {
    grid-template-columns: 1fr;
  }

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

  .toast-stack {
    left: 1rem;
    right: 1rem;
    width: auto;
  }
}

@media (max-width: 720px) {
  .nav-bar {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .nav-links,
  .hero-actions,
  .search-form {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .field-grid,
  .amount-grid,
  .summary-lines,
  .profile-summary,
  .otp-status-row {
    grid-template-columns: 1fr;
  }

  .campaign-meta,
  .progress-text,
  .footer-bottom,
  .dashboard-hero,
  .admin-campaign-head,
  .fundraiser-welcome-head,
  .table-action-row {
    flex-direction: column;
  }

  .filter-row,
  .action-row {
    grid-auto-flow: row;
  }

  .admin-sidebar {
    position: static;
  }

  .fundraiser-sidebar {
    position: static;
  }

  .admin-filter-actions,
  .campaign-action-icons {
    flex-wrap: wrap;
  }
}
