.button-legend {
  text-align: center;
  margin: 0.5rem auto;
  padding: 1rem 0;
  font-family: sans-serif;
  margin-bottom: 2rem;
}

.legend-title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: bold;
}

.legend-horizontal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px; /* Equal space between each circle+label pair */
}

.legend-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px; /* Fixed width to ensure uniform spacing */
  text-align: center;
}

.legend-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-bottom: 6px;
  display: inline-block;
}
