
.page-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 30px;
  background-color: #1f1f1f;
  border-radius: 11px;
}

h1 {
  text-align: center;
  margin-bottom: 40px;
}

.chart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .chart-grid {
	grid-template-columns: 1fr 1fr;
  }
 
}

.chart-container {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.chart-title {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
  text-align: center;
  color: black;
}

/*canvas {
  width: 100% !important;
  height: 300px !important; 
}*//* ✅ Fixed height to preserve label space */

canvas {
  width: 100% !important;
  height: auto !important;
  min-height: 300px;
  max-height: 400px;
  aspect-ratio: 1 / 1; /* Keeps pie charts circular */
}
	
