.tvvn-sr-image-zones-chart {
  background: #ffffff;
  display: grid;
  gap: 0;
  position: relative;
}

.tvvn-sr-image-zones-shell {
  background: #111827;
  overflow: hidden;
  touch-action: none;
}

.tvvn-sr-image-zones-map {
  display: block;
  min-height: 360px;
  touch-action: none;
  user-select: none;
  width: 100%;
}

.tvvn-sr-image-zones-map.is-panning {
  cursor: grabbing;
}

.tvvn-sr-image-zone-front {
  cursor: pointer;
}

.tvvn-sr-image-zone-front polygon {
  transition: fill-opacity 140ms ease, stroke-width 140ms ease;
  fill: transparent;
  stroke: transparent;  
}

.tvvn-sr-image-zone-front:hover polygon,
.tvvn-sr-image-zone-front.is-selected polygon {
  fill-opacity: 0;
  stroke: #f59e0b;
  stroke-width: 3;
}

.tvvn-sr-image-zone-front.is-sold-out {
  cursor: not-allowed;
  opacity: 0.48;
}

.tvvn-sr-image-zone-front-label,
.tvvn-sr-image-zone-front-count {
  fill: #ffffff;
  font-size: 24px;
  font-weight: 900;
  paint-order: stroke;
  pointer-events: none;
  stroke: rgba(15, 23, 42, 0.75);
  stroke-width: 5px;
  text-anchor: middle;
  display: none;
}

.tvvn-sr-image-zone-front-count {
  fill: #facc15;
  font-size: 21px;
}

.tvvn-sr-zone-controls {
  background: #ffffff;
  border-top: 1px solid var(--tvvn-sr-border);
  display: grid;
  gap: 8px;
  padding: 12px;
}

.tvvn-sr-zone-control-row {
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: 30px minmax(0, 1fr) 34px 58px 34px;
  min-height: 48px;
  padding: 8px;
}

.tvvn-sr-zone-control-row.is-disabled {
  opacity: 0.58;
}

.tvvn-sr-zone-control-color {
  border-radius: 4px;
  display: block;
  height: 30px;
  width: 30px;
}

.tvvn-sr-zone-control-main {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 0;
  text-align: left;
  box-shadow: none;
}

.tvvn-sr-zone-control-main strong {
  color: #111827;
  font-size: 14px;
  line-height: 1.2;
  display: none;
}

.tvvn-sr-zone-control-main small {
  color: #000;
  font-size: 14px;
  line-height: 1.3;
}

.tvvn-sr-zone-control-main:hover{
  background: transparent ;
}

.tvvn-sr-zone-step {
  background: #111827;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  height: 34px;
  padding: 0;
}

.tvvn-sr-zone-step:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}

.tvvn-sr-zone-quantity {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  height: 34px;
  text-align: center;
  width: 100%;
  padding: 10px !important;
}

.tvvn-sr-zone-legend {
  align-items: center;
  background: #ffffff;
  border-top: 1px solid var(--tvvn-sr-border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  list-style: none;
  margin: 0 !important;
  padding: 12px 16px !important;
}

.tvvn-sr-zone-legend li {
  align-items: center;
  color: #334155;
  display: inline-flex;
  font-size: 13px;
  gap: 7px;
  margin: 0;
}

.tvvn-sr-zone-legend-dot {
  border-radius: 50%;
  display: inline-block;
  height: 14px;
  width: 14px;
}

@media (max-width: 520px) {
  .tvvn-sr-zone-control-row {
    grid-template-columns: 30px minmax(0, 1fr) 32px 52px 32px;
  }
}
