/* Plan de salle — bar / restaurant / lounge */
.seating-admin-grid {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}
@media (max-width: 860px) {
  .seating-admin-grid { grid-template-columns: 1fr; }
}
.seating-form h2,
.seating-preview-wrap h2 {
  font-family: var(--font-display, Georgia, serif);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
}
.seating-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mute, #5b6577);
  margin: 0.65rem 0 0.3rem;
}
.seating-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.seating-check {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem !important;
  font-weight: 600 !important;
  color: var(--ink, #0f172a) !important;
}
.seating-form .btn { margin-top: 1rem; width: 100%; }

.seat-map {
  --cols: 5;
  background: #0b1524;
  border-radius: 18px;
  padding: 1rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.seat-map.stage-bottom { flex-direction: column-reverse; }
.seat-map.stage-left { flex-direction: row; }
.seat-map.stage-right { flex-direction: row-reverse; }
.seat-map.stage-left .seat-grid,
.seat-map.stage-right .seat-grid { flex: 1; }

.seat-stage {
  background: linear-gradient(90deg, #e8a017, #f0c14b);
  color: #0b1524;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-size: 0.78rem;
}
.seat-map.stage-left .seat-stage,
.seat-map.stage-right .seat-stage {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 0.75rem 0.4rem;
}

.seat-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: 0.45rem;
}
.seat-cell-form { margin: 0; }
.seat-cell {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 10px;
  background: #1c2e4a;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.seat-cell strong { font-size: 0.78rem; }
.seat-cell span { font-size: 0.65rem; opacity: 0.75; }
.seat-cell:hover:not(:disabled) { transform: scale(1.04); }
.seat-cell.status-available { background: #1a5c45; }
.seat-cell.status-held { background: #e8a017; color: #0b1524; }
.seat-cell.status-reserved { background: #c43c2c; cursor: default; }
.seat-cell.status-blocked { background: #3a4458; opacity: 0.55; }
.seat-cell.kind-table { border-radius: 14px; }
.seat-cell.kind-stool { border-radius: 999px; }
.seat-cell.kind-lounge { border-radius: 16px 16px 8px 8px; }

.seat-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--mute, #5b6577);
}
.seat-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 0.35rem;
  vertical-align: -1px;
}
.seat-legend .lg.available { background: #1a5c45; }
.seat-legend .lg.held { background: #e8a017; }
.seat-legend .lg.reserved { background: #c43c2c; }
.seat-legend .lg.blocked { background: #3a4458; }

/* Acheteur */
.buy-seating {
  margin-bottom: 1.25rem;
}
.buy-seating .seat-map { margin-top: 0.75rem; }
.buy-seat-pick {
  cursor: pointer;
  border: 0;
  width: 100%;
}
.buy-seat-pick.is-selected {
  outline: 2px solid #f0c14b;
  box-shadow: 0 0 0 3px rgba(232, 160, 23, 0.35);
  background: #e8a017 !important;
  color: #0b1524 !important;
}
.buy-seat-pick:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.buy-selected-seats {
  margin-top: 0.65rem;
  font-weight: 700;
  color: var(--brand, #152238);
}
