.seat-map {
  max-width: 700px;
  margin: 0 auto;
  padding: 32px 16px;
  text-align: center;
}

.screen {
  width: 70%;
  margin: 0 auto 50px;
  padding: 12px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--text-muted);
  border-bottom: 3px solid var(--accent);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 15px 35px -5px rgba(91, 123, 154, 0.4);
  background: linear-gradient(to bottom, transparent, rgba(91, 123, 154, 0.05));
}

.seat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.row-label {
  width: 24px;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: right;
}

.row-seats {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}

/* aisle gap after every 4th seat */
.row-seats .seat:nth-child(4n) {
  margin-right: 24px;
}

.seat {
  position: relative;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 6px 6px 10px 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.seat .seat-number {
  pointer-events: none;
}

.seat:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.seat-state-marker {
  position: absolute;
  top: -5px;
  right: -4px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  color: #212529;
  font-size: 11px;
  line-height: 13px;
  pointer-events: none;
}

.seat-selected-marker {
  display: none;
}

.seat.selected .seat-selected-marker {
  display: block;
}

.seat.available:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: var(--accent);
  color: var(--text);
  box-shadow: 0 5px 12px rgba(91,123,154,0.2);
}

.seat.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(91,123,154,0.5), 0 0 0 2px rgba(91,123,154,0.2);
}

.seat.reserved {
  background: rgba(240, 240, 240, 0.04);
  border-color: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
}

.seat:disabled {
  pointer-events: none;
}

.seat.couple-left,
.seat.couple-right {
  width: 32px;
  border-bottom: 3px double currentColor;
}

.seat.couple-left {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}

.seat.couple-right {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: none;
  margin-left: -6px !important;
}

.legend-box.couple {
  width: 22px;
  background: var(--bg-elevated);
  border-bottom: 3px double currentColor;
}

.seat-summary {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 24px !important;
}

.seat-summary strong {
  color: var(--text);
}

.seat-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px !important;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid var(--border);
}

.legend-box.available {
  background: var(--bg-elevated);
}

.legend-box.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.legend-box.reserved {
  background: rgba(240, 240, 240, 0.04);
}

@media (max-width: 576px) {
  .seat {
    width: 22px;
    height: 22px;
  }
  .row-seats {
    gap: 4px;
  }
  .row-seats .seat:nth-child(4n) {
    margin-right: 10px;
  }
}
