/* styles.css */
body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 2rem;
}

.container {
    max-width: 95%;
    margin: 0 auto;
    background: #ffffff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
    color: #222;
}

canvas {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.description {
    background-color: #f9f9f9;
    border-left: 5px solid #007bff;
    padding: 15px 20px;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.description p {
    margin: 0 0 10px;
}

.description p:last-child {
    margin-bottom: 0;
}

h2 {
    color: #007bff;
    margin-bottom: 20px;
}

footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #666;
}

.statChart {
  width: 100% !important;
  height: 500px !important;
  /* Optional: set max-width if needed */
  max-width: 100%; /* or whatever max width you want */
  display: block; /* removes inline spacing */
}

footer img {
  height: 24px;       /* control height */
  width: auto;        /* keep aspect ratio */
  vertical-align: middle; /* align nicely with text */
  margin-left: 8px;   /* spacing from text */
  max-width: 100%;    /* responsive inside footer */
  display: inline-block;
}

.description .note {
    background-color: #fff8dc; /* light yellow */
    border-left: 5px solid #ffae00;
    padding: 12px 16px;
    margin-top: 16px;
    border-radius: 4px;
    font-style: italic;
    color: #333;
}

.chart-header {
  text-align: center;
  margin-bottom: 2rem;
}

.chart-header h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.chart-header .subtitle {
  font-size: 1rem;
  color: #666;
  font-style: italic;
}

.subtitle-small {
  font-size: 1rem;       /* Slightly smaller than h3 */
  color: #555;           /* Medium gray for subtlety */
  margin-top: 0.25rem;   /* Small spacing above */
  margin-bottom: 1rem;   /* Space below before next content */
  font-weight: 400;      /* Normal weight */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Clean, readable font */
}
