:root {
  --primary: #4a6fa5;
  --primary-light: #6d8fc7;
  --secondary: #166088;
  --accent: #4fc3a1;
  --accent-dark: #3aa389;
  --dark: #2d3748;
  --darker: #1a202c;
  --light: #f8f9fa;
  --gray: #e2e8f0;
  --white: #ffffff;
  --urgent: #e53e3e;
}

/* ==================== RENDERERS: CHALLENGES & VOLUNTEERING ==================== */

/* --- Variables adicionales para renderers --- */

/* --- Estilos comunes para tarjetas --- */
.challenge-card,
.volunteering-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--gray);
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.challenge-card:hover,
.volunteering-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

/* --- Imágenes de tarjetas --- */
.challenge-image,
.volunteering-image {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.challenge-image img,
.volunteering-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.challenge-card:hover .challenge-image img,
.volunteering-card:hover .volunteering-image img {
  transform: scale(1.05);
}

/* --- Badges de tarjetas --- */
.challenge-badge,
.volunteering-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-family: 'Poppins', sans-serif;
}

.challenge-badge.urgent,
.volunteering-badge.urgent {
  background: var(--urgent);
  color: white;
}

.challenge-badge.points,
.volunteering-badge.points {
  background: var(--primary);
  color: white;
  left: 1rem;
  right: auto;
}

/* --- Contenido de tarjetas --- */
.challenge-content,
.volunteering-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.challenge-content h3,
.volunteering-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--dark);
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.challenge-content p,
.volunteering-content p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* --- Meta información --- */
.challenge-meta,
.volunteering-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.challenge-meta .meta-item,
.volunteering-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
}

.challenge-meta .meta-item i,
.volunteering-meta .meta-item i {
  color: var(--primary);
}

.challenge-meta .beneficiaries-count,
.volunteering-meta .beneficiaries-count {
  display: inline-flex;
  align-items: center;
  background: #f0f9ff;
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.challenge-meta .beneficiaries-count i,
.volunteering-meta .beneficiaries-count i {
  margin-right: 0.3rem;
}

/* --- Barras de progreso --- */
.challenge-progress,
.volunteering-progress {
  margin-bottom: 1.5rem;
}

.challenge-progress .progress-bar,
.volunteering-progress .progress-bar {
  height: 8px;
  background: var(--gray);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.challenge-progress .progress-fill,
.volunteering-progress .progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.challenge-progress .progress-info,
.volunteering-progress .progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #6b7280;
}

/* --- Acciones de tarjetas --- */
.challenge-actions,
.volunteering-actions {
  display: flex;
  gap: 0.8rem;
}

.challenge-actions .btn,
.volunteering-actions .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
}

/* --- Causa vinculada --- */
.challenge-content .linked-cause,
.volunteering-content .linked-cause {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #f8fafc;
  padding: 0.8rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
}

.challenge-content .linked-cause img,
.volunteering-content .linked-cause img {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
}

.challenge-content .linked-cause span,
.volunteering-content .linked-cause span {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}

/* --- Grids responsivos --- */
.challenges-grid,
.volunteering-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  padding: 1rem 0;
}

/* --- Modal específico para challenges y volunteering --- */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 9999;
  /* justify-content: center; */
  /* align-items: center; */
  display: flex;
  justify-content: flex-start; /* <-- Cambia a la izquierda */
  align-items: flex-start;     /* <-- Arriba */
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 18px;
  max-width: 800px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(74,111,165,0.13);
  position: relative;
  font-family: 'Poppins', sans-serif;
  margin: 2.5rem 0 0 2.5rem; /* Opcional: separa del borde superior/izquierdo */
}

/* --- Responsive Design para renderers --- */
@media (max-width: 768px) {
  .challenges-grid,
  .volunteering-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  
  .challenge-actions,
  .volunteering-actions {
    flex-direction: column;
  }
  
  .challenge-meta,
  .volunteering-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 900px) {
  .challenges-grid,
  .volunteering-grid {
    padding: 1.2rem 0.5rem;
  }
}

/* --- Estados de carga y vacío --- */
.challenges-grid .empty-state,
.volunteering-grid .empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: #6b7280;
  font-size: 1.1rem;
}

.challenges-grid .loading-state,
.volunteering-grid .loading-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: var(--primary);
  font-size: 1.1rem;
}

/* --- Animaciones adicionales --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.challenge-card,
.volunteering-card {
  animation: fadeInUp 0.5s ease-out;
}

/* --- Botones específicos de participar --- */
.challenge-actions .participate-btn:disabled,
.volunteering-actions .participate-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.challenge-actions .participate-btn:disabled:hover,
.volunteering-actions .participate-btn:disabled:hover {
  transform: none !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('otra-hoja.css');

body {
  background: var(--light);
  color: var(--darker);
  line-height: 1.6;
  font-family: 'Roboto', sans-serif;
}

/* Header */
header {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  width: 100%;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0.1rem 0.5rem !important;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  font-size: 2rem;
  color: var(--primary);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.auth-buttons {
  display: flex;
  gap: 1rem;
}

/* Botones mejorados */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

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

.btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(22, 96, 136, 0.2);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(63, 195, 161, 0.2);
}

.btn i {
  font-size: 1.1rem;
}

/* --- Menú de usuario robusto y limpio --- */
#user-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  background: #fff;
}

.user-name {
  font-weight: 600;
  margin-left: 0.5em;
}

#user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 110%;
  min-width: 200px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.13);
  border-radius: 8px;
  z-index: 1001;
  padding: 0.5em 0;
}

#user-menu:hover #user-dropdown,
#user-dropdown:hover {
  display: block;
}

#user-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.7em 1.2em;
  color: #333 !important;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  border: none;
  background: none;
}

#user-dropdown a:hover {
  background: #f5f5f5;
  color: #2dd4bf !important;
}

/* Colores para los íconos del menú de usuario */
.icon-profile { color: #4a6fa5 !important; }
.icon-messages { color: #4fc3a1 !important; }
.icon-settings { color: #fbbf24 !important; }
.icon-help { color: #10b981 !important; }
.icon-logout { color: #ef4444 !important; }

/* Dropdown styles para el menú principal */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropbtn {
  cursor: pointer;
}

.dropbtn.btn-accent {
  color: var(--accent);
  background: transparent;
  border: none;
  font-weight: 600;
  transition: color 0.3s;
}

.dropbtn.btn-accent:hover,
.dropdown:hover .dropbtn.btn-accent {
  color: var(--accent-dark);
  background: transparent;
}

.dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 100;
  border-radius: 8px;
  margin-top: 0;
}

.dropdown-content a {
  color: #333;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a[href="/profile"] {
  color: #2dd4bf !important;
  font-weight: 600;
}

.dropdown:hover .dropdown-content,
.dropdown-content:hover {
  display: block;
}

.dropdown-content a:hover {
  background: #f1f1f1;
}

/* Solo para el avatar del sidebar */
.sidebar-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  background: #fff;
}

/* Solo para el avatar del navbar */
#user-menu .user-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  background: #fff;
}

/* Badges de tipo de actividad, arriba a la izquierda y estilo consistente */
.activity-badge {
  position: absolute;
  top: 1em;
  left: 1em;
  z-index: 2;
  font-size: 0.92em;
  font-weight: 600;
  padding: 0.16em 0.85em;
  border-radius: 999px;
  min-width: 64px;
  text-align: center;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(76,163,161,0.09);
  letter-spacing: 0.01em;
  display: inline-block;
  border: none;
  text-transform: uppercase;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.2;
}
.activity-badge.cause { background: #e74c3c !important; }
.activity-badge.task { background: #3498db !important; }
.activity-badge.challenge { background: #f39c12 !important; }
.activity-badge.volunteering { background: #2ecc71 !important; }
.activity-badge.trending {
  background: #ff9800 !important;
  color: #fff !important;
  margin-top: 2.3em;
  left: 1em;
  right: auto;
  min-width: 70px;
}

/* Tarjetas de actividad: colores y fuente consistentes */
.activity-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(76,163,161,0.07);
  border: 1.5px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  transition: box-shadow 0.18s, border 0.18s;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.activity-card:hover {
  box-shadow: 0 6px 24px rgba(76, 163, 161, 0.13);
  border-color: #4fc3a1;
}
.activity-header {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1.08em;
  font-weight: 700;
  margin-bottom: 0.5em;
  color: #4a6fa5;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin: 0 0 0 0;
}
.activity-content h4 {
  font-size: 1.13em;
  color: #2d3748;
  font-weight: 700;
  margin-bottom: 0.2em;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.activity-meta, .activity-impact {
  color: #6b7280;
  font-size: 0.97em;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.activity-link {
  color: #4a6fa5;
  font-weight: 600;
  text-decoration: underline;
  font-size: 0.97em;
  margin: 0.7em 1.2em 1.2em 1.2em;
  align-self: flex-start;
  transition: color 0.18s;
}
.activity-link:hover { color: #4fc3a1; }

/* --- Estilos para compartir (compartidos en causas, tareas, etc) --- */
.share-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}
.share-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary, #4a6fa5);
  margin-bottom: 1.5rem;
  text-align: center;
}
.share-content {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.share-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 1rem;
}
.share-highlight {
  color: var(--primary, #4a6fa5);
  font-weight: 600;
}
.share-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.share-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  color: white;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.share-btn-facebook { background: #3b5998; }
.share-btn-twitter { background: #1da1f2; }
.share-btn-whatsapp { background: #25d366; }
.share-btn-link { background: var(--primary, #4a6fa5); }

/* Estilos del menú de administración */
.admin-menu-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(74,111,165,0.10);
  padding: 1.5rem 1.2rem;
  margin: 1.2rem 0;
  font-family: inherit;
}

.admin-menu-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary, #4a6fa5);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.admin-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-menu-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  color: var(--primary, #4a6fa5);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  margin-bottom: 0.2rem;
}

.admin-menu-link:hover {
  background: var(--accent, #eaf3fb);
  color: var(--primary-dark, #3a5a8a);
}

.admin-menu-link-danger {
  color: #e53e3e;
  font-weight: 600;
}

.admin-menu-link-danger:hover {
  background: #ffeaea;
  color: #b91c1c;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-image {
    max-width: 600px;
    margin: 0 auto;
  }

  /* Oculta el navbar de escritorio en móvil */
  .navbar {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .challenges-grid,
  .volunteering-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  
  .challenge-actions,
  .volunteering-actions {
    flex-direction: column;
  }
  
  .challenge-meta,
  .volunteering-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 4rem 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .features, .testimonials, .causes, .cta {
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 991px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 80vw;
    max-width: 340px;
    background: #fff;
    box-shadow: -2px 0 16px rgba(74,111,165,0.10);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(.77,0,.18,1);
    z-index: 999;
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    gap: 1.5rem;
  }
  .nav-links.active {
    transform: translateX(0);
  }
}

/* 📱 Espacio para la barra de navegación móvil */
@media screen and (max-width: 1024px) {
  body {
    padding-bottom: 70px; /* Espacio para que no tape el contenido */
  }
  
  /* Ajuste específico para contenedores principales */
  .main-container,
  .profile-main-container,
  .container {
    margin-bottom: 20px;
  }

  /* Estados de cuenta Stripe */
.account-status {
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 1.5rem;
}
.account-status i {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.account-status.inactive {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #d97706;
}
.account-status.pending {
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  color: #3b82f6;
}
.account-status.active {
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  color: #16a34a;
}
.account-status.warning {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #ef4444;
}
.requirements-errors {
  text-align: left;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,0.7);
  border-radius: 8px;
}
.requirements-errors ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}
.requirements-errors li {
  margin-bottom: 0.3rem;
}
/* Donación modal */
.donation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.donation-modal .modal-content {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.donation-info {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-align: center;
}
.donation-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
.donation-amount {
  padding: 1rem;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
}
.donation-amount:hover, .donation-amount.selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.custom-donation {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.custom-donation input {
  flex: 1;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
}
.fee-transparency {
  background: #f8fafc;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid #e2e8f0;
}
.fee-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}
.fee-total {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  font-weight: 600;
  font-size: 1.1rem;
}
}