/* Booking Outcomes Container and Chart*/
.small-card .booking-outcomes-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 8px;
}

/* Force a fixed size for the SVG chart */
.small-card #booking-outcomes svg {
  width: 250px !important;
  height: 250px !important;
  transition: transform 0.3s ease; 
}

.small-card .booking-outcomes-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.small-card .booking-outcomes-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 400;
  color: #333;
  line-height: 1.4;
}

.small-card .booking-outcomes-legend-color {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
}

.small-card .booking-outcomes-arc {
  transition: transform 0.25s ease, filter 0.25s ease; /* Animate transform and brightness */
  cursor: pointer;
  transform-origin: center; /* Ensures scaling happens from the center of the arc */
}

.small-card .booking-outcomes-arc:hover {
  filter: brightness(1.1);
  transform: scale(1.01);
}