/* Интерактивная карта мест (лендинг) */
/* Interactive Seat Map Styles */
.seat-map-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 30px;
  margin-top: 40px;
}

.seat-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 25px;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.legend-dot.free {
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 0 5px rgba(0, 240, 255, 0.4);
}

.legend-dot.occupied {
  background: rgba(255, 0, 127, 0.15);
  border: 1px solid var(--accent-pink);
  box-shadow: 0 0 5px rgba(255, 0, 127, 0.4);
}

.seat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
  gap: 10px;
}

.seat-node {
  aspect-ratio: 1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.seat-node.free {
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--accent-cyan);
}

.seat-node.free:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: var(--shadow-glow-cyan);
  transform: scale(1.1);
}

.seat-node.occupied {
  background: rgba(255, 0, 127, 0.05);
  border: 1px solid rgba(255, 0, 127, 0.15);
  color: var(--accent-pink);
  cursor: not-allowed;
  opacity: 0.6;
}

.seat-node.vip {
  border-style: double;
  border-width: 2px;
}


.seat-summary {
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 18px;
}

.seat-summary-free {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent-cyan);
  text-shadow: var(--shadow-glow-cyan);
}

.seat-node.occupied {
  pointer-events: none;
}

@media (max-width: 860px) {
  .seat-map-panel {
    padding: 20px 16px;
    margin-top: 24px;
  }

  /* Клетки мельче, но не меньше пальца: 38px ещё попадаемо */
  .seat-grid {
    grid-template-columns: repeat(auto-fill, minmax(38px, 1fr));
    gap: 8px;
  }

  .seat-legend {
    gap: 16px;
    font-size: 0.8rem;
  }

  .seat-summary-free {
    font-size: 1.35rem;
  }
}
