
/* Контейнер схемы мест */
#seatsWrapper {
  display: none;
  position: relative;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0;
}

#seatsWrapper.active {
  display: block;
}

/* Картинка зала (фон) */
#hallImage {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* SVG карта мест поверх картинки */
#seatsMap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Места кликабельны */
.seat {
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s ease;
}

.seat.available {
  fill: rgba(76, 175, 80, 0.7);
  stroke: #2e7d32;
  stroke-width: 2;
}

.seat.available:hover {
  fill: rgba(76, 175, 80, 0.9);
  stroke-width: 3;
}

.seat.selected {
  fill: rgba(33, 150, 243, 0.8);
  stroke: #1565c0;
  stroke-width: 3;
}

.seat.occupied {
  fill: rgba(158, 158, 158, 0.6);
  stroke: #616161;
  stroke-width: 2;
  cursor: not-allowed;
}

/* Информационная панель */
#infoPanel {
  background: white;
  padding: 20px;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#infoPanel h3 {
  margin-top: 0;
  color: #333;
}

#infoPanel p {
  margin: 10px 0;
  font-size: 16px;
}

#buyButton {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 15px;
}

#buyButton:hover {
  background: #45a049;
}

#buyButton:disabled {
  background: #cccccc;
  cursor: not-allowed;
}
