.tvvn-sr-frontend {
  --tvvn-sr-border: #d9dee7;
  --tvvn-sr-ink: #172033;
  --tvvn-sr-muted: #697386;
  --tvvn-sr-panel: #ffffff;
  --tvvn-sr-soft: #f4f7fb;
  --tvvn-sr-primary: #0f766e;
  --tvvn-sr-accent: #2563eb;
  --tvvn-sr-danger: #c2410c;
  margin: 28px 0;
  color: var(--tvvn-sr-ink);
}

.tvvn-sr-frontend * {
  box-sizing: border-box;
}
.tvvn-sr-frontend{
  max-width: 100% !important;
  width: 100%;
}
.tvvn-sr-frontend-header {
  align-items: flex-end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tvvn-sr-frontend-header h2 {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  margin: 0;
}

.tvvn-sr-frontend-meta {
  color: var(--tvvn-sr-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px;
  justify-content: flex-end;
}

.tvvn-sr-frontend-meta span {
  background: var(--tvvn-sr-soft);
  border: 1px solid var(--tvvn-sr-border);
  border-radius: 999px;
  padding: 5px 10px;
}

.tvvn-sr-frontend-layout {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 370px);
}

.tvvn-sr-seat-chart {
  background: var(--tvvn-sr-panel);
  border: 1px solid var(--tvvn-sr-border);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  min-height: 180px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.tvvn-sr-seat-chart .sc-main-container {
  align-items: flex-start;
  gap: 24px;
  min-width: max-content;
  padding: 20px;
}

.tvvn-sr-seat-chart .sc-right-container {
  margin-left: 0;
}

.tvvn-sr-seat-chart .sc-map {
  background: linear-gradient(180deg, #f8fafc, #eef4f8);
  border: 1px solid #e3e9f0;
  border-radius: 8px;
  padding: 14px;
}

.tvvn-sr-seat-chart .sc-seat {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 7px 7px 3px 3px;
  font-size: 12px;
  font-weight: 700;
  min-height: 40px;
  min-width: 40px;
}

.tvvn-sr-seat-chart .sc-seat.sc-seat-selected {
  outline: 3px solid rgba(37, 99, 235, 0.24);
  transform: translateY(-1px);
}

.tvvn-sr-seat-chart .sc-seat.sc-seat-reserved,
.tvvn-sr-seat-chart .sc-seat-reserved {
  background-color: #b8c0cc;
}

.tvvn-sr-seat-chart .sc-seat.sc-seat-disabled {
  border-color: transparent;
  opacity: 0.2;
}

.tvvn-sr-svg-chart {
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.tvvn-sr-svg-controls {
  display: grid;
  gap: 8px;
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
}

.tvvn-sr-svg-controls button {
  background: #111827;
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  min-height: 36px;
  min-width: 48px;
  padding: 0 10px;
}

.tvvn-sr-svg-controls button:first-child,
.tvvn-sr-svg-controls button:last-child {
  font-size: 22px;
}

.tvvn-sr-svg-shell {
  height: min(72vh, 720px);
  min-height: 360px;
  overflow: hidden;
  touch-action: none;
}

.tvvn-sr-svg-map {
  background: #fff;
  cursor: grab;
  display: block;
  height: 100%;
  max-width: none;
  touch-action: none;
  user-select: none;
  width: 100%;
}

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

.tvvn-sr-svg-shape path,
.tvvn-sr-svg-shape rect,
.tvvn-sr-svg-shape ellipse {
  opacity: 0.88;
  stroke: rgba(15, 23, 42, 0.14);
  stroke-width: 1;
}

.tvvn-sr-svg-shape text {
  fill: #fff;
  font-size: 30px;
  font-weight: 800;
  pointer-events: none;
  text-anchor: middle;
}

.tvvn-sr-svg-shape-label text,
.tvvn-sr-svg-shape-label {
  fill: #111827;
  text-anchor: start;
}

.tvvn-sr-svg-shape-section text {
  fill: #1f2937;
  font-size: 18px;
  text-anchor: middle;
}

.tvvn-sr-svg-seat {
  cursor: pointer;
}

.tvvn-sr-svg-seat circle,
.tvvn-sr-svg-seat rect {
  stroke-width: 1;
  transition: stroke-width 120ms ease, opacity 120ms ease, transform 120ms ease;
}

.tvvn-sr-svg-seat text {
  font-size: 9px;
  font-weight: 800;
  pointer-events: none;
  text-anchor: middle;
}

.tvvn-sr-svg-seat-available:hover circle,
.tvvn-sr-svg-seat-available:hover rect {
  opacity: 0.78;
  stroke-width: 3;
}

.tvvn-sr-svg-seat-selected circle,
.tvvn-sr-svg-seat-selected rect {
  stroke-width: 4;
}

.tvvn-sr-svg-seat-reserved {
  cursor: not-allowed;
  opacity: 0.72;
}

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

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

.tvvn-sr-svg-legend-dot {
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
  display: inline-block;
  height: 14px;
  width: 14px;
}

.tvvn-sr-seat-chart .sc-seat-indexer {
  color: #516071;
  font-size: 12px;
  font-weight: 700;
}

.tvvn-sr-seat-chart .sc-legend {
  background: #ffffff;
  border: 1px solid var(--tvvn-sr-border);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  margin: 0;
  padding: 12px;
}

.tvvn-sr-seat-chart .sc-legend-item {
  margin-bottom: 9px;
}

.tvvn-sr-seat-chart .sc-legend-item:last-child {
  margin-bottom: 0;
}

.tvvn-sr-seat-chart .sc-legend-description {
  color: #334155;
  font-size: 13px;
  margin-left: 8px;
}

.tvvn-sr-selection-panel {
  align-self: start;
  background: #37383e;
  border: 1px solid #4c4e55;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  color: #ffffff;
  min-height: 160px;
  overflow: hidden;
}

.tvvn-sr-panel-show-info h3 {
  background: #292a2f;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  padding: 18px 22px;
  text-transform: uppercase;
}

.tvvn-sr-panel-show-meta {
  border-bottom: 1px solid #51535a;
  display: grid;
  gap: 15px;
  padding: 22px;
}

.tvvn-sr-panel-show-meta-row {
  align-items: center;
  display: grid;
  gap: 6px;
  grid-template-columns: 32px minmax(0, 1fr);
}

.tvvn-sr-panel-show-meta-row strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.tvvn-sr-panel-show-meta-row small {
  color: #c7c9d0;
  display: block;
  font-size: 12px;
  line-height: 1.4;
}

.tvvn-sr-panel-icon {
  display: block;
  height: 22px;
  position: relative;
  width: 22px;
}

.tvvn-sr-panel-icon-calendar {
  background: #ffffff;
  border-radius: 3px;
  margin-top: 4px;
}

.tvvn-sr-panel-icon-calendar:before {
  background: #37383e;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 8px;
}

.tvvn-sr-panel-icon-calendar:after {
  border-left: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  content: "";
  height: 7px;
  left: 7px;
  position: absolute;
  right: 7px;
  top: -4px;
}

.tvvn-sr-panel-icon-location {
  background: #35c978;
  border-radius: 50% 50% 50% 0;
  height: 22px;
  margin-left: 1px;
  transform: rotate(-45deg);
  width: 22px;
}

.tvvn-sr-panel-icon-location:before {
  background: #37383e;
  border-radius: 50%;
  content: "";
  height: 7px;
  left: 8px;
  position: absolute;
  top: 8px;
  width: 7px;
}

.tvvn-sr-panel-ticket-prices {
  padding: 22px;
}

.tvvn-sr-panel-ticket-prices h4 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 18px;
}

.tvvn-sr-panel-ticket-list {
  display: grid;
  gap: 14px;
}

.tvvn-sr-panel-ticket-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 36px minmax(0, 1fr) auto;
}

.tvvn-sr-panel-ticket-color {
  border-radius: 5px;
  display: block;
  height: 22px;
  width: 36px;
}

.tvvn-sr-panel-ticket-name {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.3;
}

.tvvn-sr-panel-ticket-price,
.tvvn-sr-panel-ticket-price .woocommerce-Price-amount,
.tvvn-sr-panel-ticket-price .woocommerce-Price-currencySymbol {
  color: #35c978;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.tvvn-sr-selection-state {
  border-top: 1px solid #51535a;
  padding: 18px 22px 22px;
  background: #fff;
}

.tvvn-sr-selection-empty,
.tvvn-sr-selection-active {
  display: grid;
  gap: 10px;
}

.tvvn-sr-selection-empty[hidden],
.tvvn-sr-selection-active[hidden] {
  display: none;
}

.tvvn-sr-selection-empty strong,
.tvvn-sr-selection-count strong,
.tvvn-sr-selection-total strong {
  color: var(--tvvn-sr-primary);
  font-size: 22px;
  line-height: 1;
}

.tvvn-sr-selection-empty span,
.tvvn-sr-selection-count span,
.tvvn-sr-selection-total span {
  color: #000;
  font-size: 13px;
}

.tvvn-sr-selection-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tvvn-sr-selected-seat {
  background: #292a2f;
  border: 1px solid #5a5c64;
  border-radius: 999px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 9px;
  text-transform: uppercase;
}

.tvvn-sr-selection-total {
  align-items: center;
  border-top: 1px solid #51535a;
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  margin: 10px 0;
}

.tvvn-sr-selection-actions {
  display: grid;
  gap: 8px;
}

.tvvn-sr-add-to-cart-form {
  margin: 0;
}

.tvvn-sr-clear-selection,
.tvvn-sr-add-to-cart {
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 600;
  min-height: 50px;
  padding: 0 14px;
  width: 100%;
}

.tvvn-sr-clear-selection {
  background: var(--tvvn-sr-ink);
  font-weight: normal;
}

.tvvn-sr-add-to-cart {
  background: var(--tvvn-sr-primary);
}

.tvvn-sr-clear-selection:hover,
.tvvn-sr-clear-selection:focus {
  background: var(--tvvn-sr-danger);
}

.tvvn-sr-add-to-cart:hover,
.tvvn-sr-add-to-cart:focus {
  background: #0b5f59;
}

.tvvn-sr-empty-message {
  background: #fff8e6;
  border: 1px solid #f5d58a;
  border-radius: 8px;
  color: #6b4f00;
  padding: 14px 16px;
}

.tvvn-sr-empty-message p {
  margin: 0;
}

.tvvn-sr-hold-page {
  margin: 0;
  min-height: 70vh;
  padding: 34px 18px 46px;
}

.tvvn-sr-hold-wrap {
  margin: 0 auto;
  max-width: 1120px;
  width: 100%;
}

.tvvn-sr-hold-back {
  color: #334155;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 16px;
  text-decoration: none;
}

.tvvn-sr-hold-back:hover,
.tvvn-sr-hold-back:focus {
  color: var(--tvvn-sr-primary);
}

.tvvn-sr-hold-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
}

.tvvn-sr-hold-form-card,
.tvvn-sr-hold-summary {
  background: #ffffff;
  border: 1px solid var(--tvvn-sr-border);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.tvvn-sr-hold-form-card {
  padding: 26px;
}

.tvvn-sr-hold-kicker {
  color: var(--tvvn-sr-primary);
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.tvvn-sr-hold-form-card h1 {
  color: var(--tvvn-sr-ink);
  font-size: 30px;
  line-height: 1.18;
  margin: 0 0 8px;
}

.tvvn-sr-hold-form-card p {
  color: var(--tvvn-sr-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 22px;
}

.tvvn-sr-hold-alert {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #9a3412;
  display: grid;
  font-size: 14px;
  gap: 6px;
  margin-bottom: 16px;
  padding: 12px 14px;
}

.tvvn-sr-hold-form {
  display: grid;
  gap: 14px;
  margin: 0;
}

.tvvn-sr-hold-form label {
  color: #334155;
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 7px;
}

.tvvn-sr-hold-form input {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  color: var(--tvvn-sr-ink);
  font-size: 15px;
  min-height: 46px;
  padding: 0 13px;
  width: 100%;
}

.tvvn-sr-hold-form input:focus {
  border-color: var(--tvvn-sr-primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
  outline: none;
}

.tvvn-sr-hold-form button,
.tvvn-sr-hold-primary-link {
  align-items: center;
  background: var(--tvvn-sr-primary);
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
}

.tvvn-sr-hold-form button:hover,
.tvvn-sr-hold-form button:focus,
.tvvn-sr-hold-primary-link:hover,
.tvvn-sr-hold-primary-link:focus {
  background: #0b5f59;
  color: #ffffff;
}

.tvvn-sr-hold-summary {
  overflow: hidden;
}

.tvvn-sr-hold-summary-head {
  align-items: center;
  border-bottom: 1px solid var(--tvvn-sr-border);
  display: grid;
  gap: 14px;
  grid-template-columns: 86px minmax(0, 1fr);
  padding: 16px;
}

.tvvn-sr-hold-summary-head img,
.tvvn-sr-hold-image-fallback {
  aspect-ratio: 1;
  border-radius: 8px;
  display: block;
  height: 86px;
  object-fit: cover;
  width: 86px;
}

.tvvn-sr-hold-image-fallback {
  align-items: center;
  background: #e0f2fe;
  color: #075985;
  display: flex;
  font-size: 30px;
  font-weight: 900;
  justify-content: center;
}

.tvvn-sr-hold-summary-head span,
.tvvn-sr-hold-summary-head small {
  color: var(--tvvn-sr-muted);
  display: block;
  font-size: 12px;
}

.tvvn-sr-hold-summary-head strong {
  color: var(--tvvn-sr-ink);
  display: block;
  font-size: 18px;
  line-height: 1.3;
  margin: 3px 0;
}

.tvvn-sr-hold-details {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 16px;
}

.tvvn-sr-hold-details div {
  border-bottom: 1px solid #edf1f6;
  display: grid;
  gap: 4px;
  padding: 12px 0;
}

.tvvn-sr-hold-details dt {
  color: var(--tvvn-sr-muted);
  font-size: 12px;
  font-weight: 800;
  margin: 0;
}

.tvvn-sr-hold-details dd {
  color: var(--tvvn-sr-ink);
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.tvvn-sr-hold-seat-list {
  display: grid;
  gap: 0;
  padding: 14px 16px 0;
}

.tvvn-sr-hold-seat-list-title,
.tvvn-sr-hold-seat-row,
.tvvn-sr-hold-total {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.tvvn-sr-hold-seat-list-title {
  color: var(--tvvn-sr-muted);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.tvvn-sr-hold-seat-row {
  border-top: 1px solid #edf1f6;
  gap: 14px;
  min-height: 48px;
  padding: 9px 0;
}

.tvvn-sr-hold-seat-row span,
.tvvn-sr-hold-seat-row small {
  display: block;
}

.tvvn-sr-hold-seat-row strong {
  color: var(--tvvn-sr-ink);
  font-size: 14px;
}

.tvvn-sr-hold-seat-row small {
  color: var(--tvvn-sr-muted);
  font-size: 12px;
  margin-top: 2px;
}

.tvvn-sr-hold-seat-row b {
  color: var(--tvvn-sr-ink);
  font-size: 14px;
  white-space: nowrap;
}

.tvvn-sr-hold-total {
  background: #f8fafc;
  border-top: 1px solid var(--tvvn-sr-border);
  margin-top: 14px;
  padding: 16px;
}

.tvvn-sr-hold-total span {
  color: var(--tvvn-sr-muted);
  font-size: 13px;
  font-weight: 800;
}

.tvvn-sr-hold-total strong {
  color: var(--tvvn-sr-primary);
  font-size: 22px;
}

.tvvn-sr-hold-success-card strong {
  color: var(--tvvn-sr-primary);
  display: inline;
}

.tvvn-sr-hold-error-card {
  margin: 0 auto;
  max-width: 680px;
}

@media (max-width: 900px) {
  .tvvn-sr-frontend-header,
  .tvvn-sr-frontend-layout {
    display: block;
  }

  .tvvn-sr-frontend-meta {
    justify-content: flex-start;
    margin-top: 10px;
  }

  .tvvn-sr-selection-panel {
    margin-top: 14px;
  }

  .tvvn-sr-hold-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .tvvn-sr-panel-show-info h3,
  .tvvn-sr-panel-show-meta,
  .tvvn-sr-panel-ticket-prices,
  .tvvn-sr-selection-state {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tvvn-sr-panel-ticket-row {
    grid-template-columns: 32px minmax(0, 1fr) auto;
  }

  .tvvn-sr-panel-ticket-color {
    width: 32px;
  }

  .tvvn-sr-hold-page {
    padding: 22px 12px 34px;
  }

  .tvvn-sr-hold-form-card {
    padding: 18px;
  }

  .tvvn-sr-hold-form-card h1 {
    font-size: 24px;
  }

  .tvvn-sr-hold-summary-head {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .tvvn-sr-hold-summary-head img,
  .tvvn-sr-hold-image-fallback {
    height: 70px;
    width: 70px;
  }
}
