.seat-map-listing {
  margin-bottom: 30px;
  container-type: inline-size;
}
.seat-map-listing .swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  margin-right: 5px;
  vertical-align: -1px;
}
.seat-map-listing .swatch.cat-0 {
  background: #f5c400;
}
.seat-map-listing .swatch.cat-1 {
  background: #7b3fa0;
}
.seat-map-listing .swatch.cat-2 {
  background: #2f55c4;
}
.seat-map-listing .swatch.cat-3 {
  background: #d6262c;
}
.seat-map-listing .swatch.cat-4 {
  background: #1f9d55;
}
.seat-map-listing .swatch.cat-5 {
  background: #ef7d00;
}
.seat-map-listing .swatch.booked {
  background: #c9ccd1;
}
.seat-map-listing .swatch.selected {
  background: #13a538;
}
.seat-map-listing .seat-map-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.seat-map-listing .seat-map-days {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.seat-map-listing .seat-map-days .button {
  margin: 0;
}
.seat-map-listing .seat-map-days .button small {
  display: block;
  font-size: 0.7rem;
  font-weight: normal;
}
.seat-map-listing .seat-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.85rem;
}
.seat-map-listing .seat-map-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
@container (min-width: 900px) {
  .seat-map-listing .seat-map-body {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}
.seat-map-listing .seat-map-canvas {
  position: relative;
  height: 62vh;
  min-height: 360px;
  max-height: 640px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  background: #eef1f5;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.seat-map-listing .seat-map-canvas .seat-map-svg,
.seat-map-listing .seat-map-canvas .seat-map-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}
.seat-map-listing .seat-map-canvas svg {
  touch-action: none;
  cursor: grab;
}
.seat-map-listing .seat-map-canvas .seat {
  fill: #c9ccd1 !important;
  stroke: #fff;
  stroke-width: 3;
}
.seat-map-listing .seat-map-canvas .seat.cat-0 {
  fill: #f5c400 !important;
}
.seat-map-listing .seat-map-canvas .seat.cat-1 {
  fill: #7b3fa0 !important;
}
.seat-map-listing .seat-map-canvas .seat.cat-2 {
  fill: #2f55c4 !important;
}
.seat-map-listing .seat-map-canvas .seat.cat-3 {
  fill: #d6262c !important;
}
.seat-map-listing .seat-map-canvas .seat.cat-4 {
  fill: #1f9d55 !important;
}
.seat-map-listing .seat-map-canvas .seat.cat-5 {
  fill: #ef7d00 !important;
}
.seat-map-listing .seat-map-canvas .seat.unavailable, .seat-map-listing .seat-map-canvas .seat.booked {
  fill: #c9ccd1 !important;
}
.seat-map-listing .seat-map-canvas .seat.mine {
  fill: #a6e6b5 !important;
  stroke: #13a538;
  stroke-width: 6;
}
.seat-map-listing .seat-map-canvas .seat.selected {
  fill: #13a538 !important;
  stroke: #000;
  stroke-width: 6;
}
.seat-map-listing .seat-map-canvas.overview g.allocated-area {
  cursor: zoom-in;
}
.seat-map-listing .seat-map-canvas.focus g.allocated-area.faded {
  opacity: 0.25;
  cursor: default;
}
.seat-map-listing .seat-map-canvas.focus .seat.other {
  fill: #c9ccd1 !important;
  opacity: 0.5;
  cursor: default;
}
.seat-map-listing .seat-map-canvas.zoomed .seat[data-cat]:not(.booked):not(.mine):not(.other) {
  cursor: pointer;
}
.seat-map-listing .seat-map-canvas.zoomed .seat[data-cat]:not(.booked):not(.mine):not(.other):hover {
  stroke: #000;
  stroke-width: 6;
}
.seat-map-listing .seat-map-pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.seat-map-listing .seat-map-pin {
  position: absolute;
  pointer-events: auto;
  background: #fff;
  color: #111;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  padding: 4px 8px;
  font-size: 0.75rem;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
}
.seat-map-listing .seat-map-pin b {
  display: block;
  font-size: 0.8rem;
}
.seat-map-listing .seat-map-pin .swatch {
  width: 9px;
  height: 9px;
  margin-right: 2px;
}
.seat-map-listing .seat-map-pin:hover {
  border-color: currentColor;
}
.seat-map-listing .seat-map-tooltip {
  display: none;
  position: absolute;
  pointer-events: none;
  background: #111827;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 3px;
}
.seat-map-listing .seat-map-controls {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
}
.seat-map-listing .seat-map-controls .button {
  margin: 0;
}
.seat-map-listing .seat-map-busy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
}
.seat-map-listing .seat-map-bar {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: -6px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #13a538;
  border-radius: 6px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
}
.seat-map-listing .seat-map-bar .button {
  margin: 0;
}
@container (min-width: 900px) {
  .seat-map-listing .seat-map-bar {
    display: none;
  }
}
.seat-map-listing .seat-map-panel {
  scroll-margin-top: 90px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px;
  font-size: 0.85rem;
  align-self: start;
}
.seat-map-listing .seat-map-panel h4 {
  font-size: 1rem;
  margin: 0 0 8px;
}
.seat-map-listing .seat-map-panel hr {
  margin: 14px 0;
}
.seat-map-listing .seat-map-panel .muted {
  color: #6b7280;
}
.seat-map-listing .seat-map-panel select {
  margin: 0;
  height: auto;
  padding: 3px 6px;
  font-size: 0.8rem;
}
.seat-map-listing .seat-map-panel .button {
  margin: 10px 0 0;
}
.seat-map-listing .seat-map-seat {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 4px 8px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}
.seat-map-listing .seat-map-seat b {
  display: block;
}
.seat-map-listing .seat-map-seat-price {
  text-align: right;
}
.seat-map-listing .seat-map-seat-price select {
  width: auto;
  margin-top: 2px;
}
.seat-map-listing .seat-map-remove {
  font-size: 1.2rem;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
}
.seat-map-listing .seat-map-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  padding-top: 8px;
}
.seat-map-listing .seat-map-best {
  display: flex;
  gap: 6px;
}
.seat-map-listing .seat-map-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.seat-map-listing .seat-map-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.seat-map-listing .seat-map-card.active {
  border-color: #0a57c2;
  box-shadow: 0 0 0 2px rgba(10, 87, 194, 0.15);
}
.seat-map-listing .seat-map-card-head {
  display: flex;
  align-items: center;
  font-size: 1rem;
}
.seat-map-listing .seat-map-card-head .swatch {
  width: 14px;
  height: 14px;
  margin-right: 8px;
}
.seat-map-listing .seat-map-card-stands {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 2px 0 10px 22px;
}
.seat-map-listing .seat-map-card-stands a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.seat-map-listing .seat-map-card-stands a:hover {
  color: #0a57c2;
}
.seat-map-listing .seat-map-card-days {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  gap: 0 6px;
}
.seat-map-listing .seat-map-card-day {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  align-items: center;
  row-gap: 2px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 7px 4px;
  text-align: center;
  color: inherit;
  background: #fff;
  cursor: pointer;
  line-height: 1.25;
}
.seat-map-listing .seat-map-card-day b {
  display: block;
  font-size: 0.8rem;
  align-self: end;
}
.seat-map-listing .seat-map-card-day .price {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
}
.seat-map-listing .seat-map-card-day .extra {
  align-self: start;
}
.seat-map-listing .seat-map-card-day small {
  display: block;
  font-size: 0.7rem;
  color: #6b7280;
}
.seat-map-listing .seat-map-card-day small.left {
  color: #b45309;
  font-weight: 600;
}
.seat-map-listing .seat-map-card-day:hover {
  border-color: #0a57c2;
}
.seat-map-listing .seat-map-card-day.on {
  background: #0a57c2;
  border-color: #0a57c2;
  color: #fff;
}
.seat-map-listing .seat-map-card-day.on small, .seat-map-listing .seat-map-card-day.on small.left {
  color: rgba(255, 255, 255, 0.85);
}
.seat-map-listing .seat-map-card-day.sold-out {
  opacity: 0.45;
  cursor: default;
}
.seat-map-listing .seat-map-card-day.sold-out:hover {
  border-color: #d1d5db;
}
.seat-map-listing .seat-map-chooser {
  position: sticky;
  bottom: 0;
  z-index: 5;
  margin-top: 12px;
  padding: 10px 12px 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  font-size: 0.85rem;
  color: #6b7280;
}
.seat-map-listing .seat-map-chooser b {
  color: #111;
}
.seat-map-listing .seat-map-chooser-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.seat-map-listing .seat-map-chooser-buttons .button {
  margin: 0;
}
.seat-map-listing .seat-map-added {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #e8f6ec;
  color: #0f6b2b;
  font-weight: 600;
}
.seat-map-listing .seat-map-chosen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.seat-map-listing .seat-map-back {
  cursor: pointer;
  font-size: 0.85rem;
  margin-right: 6px;
}
.seat-map-listing .seat-map-pill {
  font-size: 0.75rem;
  background: #eef2ff;
  color: #0a57c2;
  border-radius: 999px;
  padding: 2px 10px;
}
.seat-map-listing .seat-map-best-view {
  max-width: 520px;
}
.seat-map-listing .seat-map-best-view h4 {
  font-size: 1.1rem;
  margin: 14px 0 6px;
}
.seat-map-listing .seat-map-best-view .muted {
  color: #6b7280;
  font-size: 0.85rem;
}
.seat-map-listing .seat-map-count {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.seat-map-listing .seat-map-count b, .seat-map-listing .seat-map-count span {
  display: block;
}
.seat-map-listing .seat-map-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.seat-map-listing .seat-map-stepper a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  color: inherit;
  font-size: 1.15rem;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.seat-map-listing .seat-map-stepper output {
  min-width: 18px;
  text-align: center;
  font-weight: 700;
}
.seat-map-listing .seat-map-found {
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid #13a538;
  border-left-width: 5px;
  border-radius: 8px;
  font-size: 0.85rem;
}
.seat-map-listing .seat-map-found b {
  display: block;
  font-size: 0.95rem;
}
