:root {
  --bg-main: #faf7f5;
  --bg-card: #ffffff;
  --bg-soft: #f3ede8;
  --bg-accent-soft: #eef7f4;
  --bg-rose-soft: #fdf2f4;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --brand-primary: #0d7a5f;
  --brand-primary-dark: #095c47;
  --brand-primary-light: #d1fae5;
  --brand-rose: #e11d48;
  --brand-rose-light: #ffe4e6;
  --brand-amber: #d97706;
  --brand-amber-light: #fef3c7;
  --border-color: #e5e0dc;
  --shadow-sm: 0 2px 8px rgba(31, 41, 55, 0.05);
  --shadow-md: 0 10px 30px -5px rgba(31, 41, 55, 0.08), 0 4px 12px -2px rgba(31, 41, 55, 0.04);
  --shadow-lg: 0 20px 40px -10px rgba(13, 122, 95, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Top Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 245, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 1.5rem;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-heart-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-primary), #10b981);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(13, 122, 95, 0.25);
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-link:hover {
  color: var(--brand-primary);
  background: var(--bg-accent-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), #109e78);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(13, 122, 95, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 122, 95, 0.36);
}

.btn-rose {
  background: linear-gradient(135deg, var(--brand-rose), #f43f5e);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.25);
}

.btn-rose:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.35);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: var(--bg-accent-soft);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
}

/* Main Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

/* Hero Section */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
}

.hero-story-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.hero-story-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--brand-primary), #34d399, var(--brand-rose));
}

.campaign-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-accent-soft);
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-bottom: 1.1rem;
}

.beneficiary-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.beneficiary-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fce7f3, #d1fae5);
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-primary);
  flex-shrink: 0;
  overflow: hidden;
}

.beneficiary-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.story-box {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  border-left: 4px solid var(--brand-primary);
  margin-bottom: 1.6rem;
}

.story-box h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--brand-primary-dark);
}

.story-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  white-space: pre-line;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* Progress Dashboard Card */
.progress-dashboard-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid rgba(13, 122, 95, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.progress-header-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-primary);
  background: var(--bg-accent-soft);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.raised-amount-wrapper {
  margin-bottom: 1rem;
}

.raised-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.raised-amount {
  font-size: clamp(2.1rem, 4vw, 2.85rem);
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0.2rem 0;
}

.goal-caption {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.goal-caption strong {
  color: var(--text-primary);
}

/* Progress Bar */
.progress-bar-container {
  margin: 1.25rem 0;
}

.progress-bar-track {
  width: 100%;
  height: 18px;
  background: var(--bg-soft);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-primary), #10b981, #34d399);
  border-radius: var(--radius-full);
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 0.5rem;
  color: var(--text-secondary);
}

/* Stats Mini Grid */
.stats-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.1rem 0 1.4rem;
}

.stat-mini-box {
  background: var(--bg-main);
  padding: 0.85rem 0.65rem;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-color);
}

.stat-mini-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
}

.stat-mini-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Exams Breakdown Mini List */
.exams-progress-section {
  border-top: 1px solid var(--border-color);
  padding-top: 1.15rem;
}

.exams-progress-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.exams-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.exam-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg-main);
}

.exam-item.covered {
  background: var(--bg-accent-soft);
  border: 1px solid rgba(13, 122, 95, 0.2);
}

.exam-item-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.exam-status-pill {
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pill-covered {
  background: #d1fae5;
  color: #065f46;
}

.pill-partial {
  background: #fef3c7;
  color: #92400e;
}

.pill-pending {
  background: #e5e7eb;
  color: #374151;
}

/* Two-Column Donation + Registration Section */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 3rem auto 2rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.donation-workflow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.step-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.step-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-number.rose {
  background: var(--brand-rose);
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

/* Quick Amount Chips */
.quick-amounts-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  display: block;
}

.quick-amounts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.amount-chip {
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  background: var(--bg-main);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.amount-chip:hover,
.amount-chip.active {
  border-color: var(--brand-primary);
  background: var(--bg-accent-soft);
  color: var(--brand-primary);
  transform: translateY(-1px);
}

/* Payment Tabs (PIX vs Bank Account) */
.payment-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-soft);
  padding: 0.3rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.35rem;
}

.payment-tab-btn {
  padding: 0.65rem;
  border: none;
  background: transparent;
  border-radius: calc(var(--radius-md) - 4px);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.payment-tab-btn.active {
  background: #ffffff;
  color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}

.pix-panel,
.bank-panel {
  display: none;
}

.pix-panel.active,
.bank-panel.active {
  display: block;
}

.pix-key-box {
  background: var(--bg-accent-soft);
  border: 1.5px dashed var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.pix-key-type {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-primary);
  letter-spacing: 0.05em;
}

.pix-key-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0.35rem 0 0.9rem;
  word-break: break-all;
}

.qr-code-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-main);
  padding: 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

#pixQrCanvas {
  width: 170px;
  height: 170px;
  background: #fff;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 0.65rem;
}

.bank-details-card {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.15rem;
  position: relative;
  overflow: hidden;
}

.bank-details-row {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.bank-details-row:last-child {
  border-bottom: none;
}

.bank-details-row span:first-child {
  color: #94a3b8;
}

.bank-details-row strong {
  color: #f8fafc;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  background: var(--bg-main);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(13, 122, 95, 0.12);
}

.currency-input-wrapper {
  position: relative;
}

.currency-prefix {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 800;
  color: var(--brand-primary);
}

.currency-input-wrapper .form-input {
  padding-left: 2.8rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-primary);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.45rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--brand-primary);
  cursor: pointer;
}

/* Message Prompts */
.message-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.prompt-chip {
  font-size: 0.76rem;
  background: var(--bg-rose-soft);
  color: var(--brand-rose);
  border: 1px solid #fecdd3;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: var(--transition);
}

.prompt-chip:hover {
  background: var(--brand-rose-light);
}

/* Mural of Love for Evelyn */
.mural-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: var(--bg-card);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.mural-filters {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-main);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}

.mural-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.35rem;
}

.message-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.message-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.message-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.donor-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.donor-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary-light), #fce7f3);
  color: var(--brand-primary-dark);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.donor-name {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--text-primary);
}

.donation-time {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.donation-amount-badge {
  background: var(--bg-accent-soft);
  color: var(--brand-primary);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.donation-amount-badge.hidden-amount {
  background: var(--bg-rose-soft);
  color: var(--brand-rose);
}

.donor-message-body {
  background: var(--bg-main);
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  position: relative;
  border-left: 3px solid #f43f5e;
}

.admin-reply-box {
  background: var(--bg-rose-soft);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  font-size: 0.85rem;
  color: #881337;
  margin-bottom: 0.9rem;
}

.admin-reply-box strong {
  display: block;
  margin-bottom: 0.2rem;
}

.message-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  border-top: 1px solid var(--bg-soft);
}

.heart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-rose-soft);
  color: var(--brand-rose);
  border: 1px solid #fecdd3;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.heart-btn:hover,
.heart-btn.liked {
  background: var(--brand-rose);
  color: #ffffff;
  transform: scale(1.05);
}

/* Updates / Timeline Section */
.updates-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 850px;
  margin: 0 auto 3.5rem;
}

.update-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--brand-primary);
  box-shadow: var(--shadow-sm);
}

.update-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.update-category {
  background: var(--bg-accent-soft);
  color: var(--brand-primary);
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
}

/* Modal / Overlays (Admin Panel & Evelyn Presentation Mode) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-window {
  background: var(--bg-card);
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-main);
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
}

/* Admin Tabs */
.admin-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.admin-tab-btn {
  padding: 0.65rem 1.1rem;
  border: none;
  background: transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 3px solid transparent;
  cursor: pointer;
}

.admin-tab-btn.active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.admin-table th {
  background: var(--bg-main);
  font-weight: 700;
  color: var(--text-secondary);
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.toast {
  background: #1e293b;
  color: #ffffff;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  animation: slideInUp 0.3s ease forwards;
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 1.25rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .donation-workflow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .quick-amounts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-mini-grid {
    grid-template-columns: 1fr;
  }
  .hero-story-card,
  .progress-dashboard-card,
  .step-card {
    padding: 1.4rem;
  }
}
