/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #f9ea65, #f9835c); /* vibrant yellow-orange gradient */
  color: #333;
}

.overlay {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 40px;
}

header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #b3541e;
}

header p {
  font-size: 1.1rem;
  color: #5a3e2b;
}

/* Cards Section */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #d35400;
}

.card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2c3e50;
}

.highlight {
  border: 2px solid #e67e22;
}

/* Chart + Donor List Layout */
.chart-donor-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.chart, .donor-list {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chart:hover, .donor-list:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.chart h2, .donor-list h2 {
  color: #b3541e;
  margin-bottom: 20px;
}

/* Chart Size */
.chart canvas {
  max-width: 100%;
  height: 300px !important;
  display: block;
  margin: 0 auto;
}

/* Donor List */
.donor-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.donor-list li {
  padding: 10px;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
  color: #333;
}

.donor-list li:last-child {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .chart-donor-container {
    grid-template-columns: 1fr;
  }
}
