body {
  font-family: sans-serif;
  text-align: center;
  background-color: #f5f5f5;
  padding: 20px;
}

#seat-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.seat {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: gray;
  border: 2px solid #333;
  display: inline-block;
  transition: transform 0.2s;
}

.seat:hover {
  transform: scale(1.2);
}


.seat[data-faction="Independent"] {
  background-color: #888 !important; /* neutral gray tone */
}

.seat[data-faction="Democratic-Republican"] {
  background-color: #00bfff !important; /* bright blue */
}

.seat[data-faction="Pro-Administration"] {
  background-color: black !important;
}

.seat[data-faction="Populist Party"] {
  background-color: purple !important;
}

#tooltip {
  position: absolute;
  background: #222;
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 0.9em;
  pointer-events: none;
  white-space: pre-line;
  z-index: 10;
  transition: opacity 0.1s;
}

.hidden {
  opacity: 0;
}

#breakdown {
  margin-top: 30px;
  font-size: 1.1em;
  color: #333;
}
