/* assets/css/seatmap.css - Clean, Light & On-Brand Venue Croquis & Seat Selector */
.venue-croquis-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 20px;
  position: relative;
  overflow: hidden;
  user-select: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  max-width: 100%;
  box-sizing: border-box;
}

/* Stage / Tarima Principal (On-Brand Royal Purple) */
.venue-stage {
  max-width: 480px;
  margin: 0 auto 28px;
  background: var(--brand-purple);
  border: 2px solid var(--brand-purple-vibrant);
  border-radius: 8px 8px 36px 36px;
  padding: 12px 24px;
  text-align: center;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 0.85rem;
  box-shadow: 0 4px 14px rgba(88, 28, 135, 0.2);
}

/* Legend */
.seatmap-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #475569;
  font-weight: 600;
}

.legend-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

/* Seat Section */
.seat-section {
  margin-bottom: 20px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 14px;
  padding: 18px;
  max-width: 100%;
  box-sizing: border-box;
}

.seat-section-title {
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #0f172a;
  flex-wrap: wrap;
  gap: 8px;
}

/* Seats Row Container - NO HORIZONTAL SCROLL */
.seats-rows-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.seat-row-wrapper,
.seat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.seat-row-label-pill,
.seat-row-label {
  min-width: 76px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 12px;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.seat-row-seats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

/* Individual Seat - Cuadros Más Grandes, Claros y Definidos */
.seat-item {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  flex-shrink: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  background: #ffffff;
  color: #0f172a;
  border: 2px solid #cbd5e1;
  user-select: none;
  box-sizing: border-box;
}

.seat-item:hover:not(.occupied):not(.reserved) {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  border-color: var(--brand-purple-vibrant) !important;
}

.seat-item.occupied {
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  cursor: not-allowed;
  border-color: #e2e8f0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.seat-item.reserved {
  background: #fef3c7 !important;
  color: #b45309 !important;
  border-color: #fde68a !important;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
}

.seat-item.selected {
  background: #10b981 !important;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.4) !important;
  border-color: #059669 !important;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .seat-row-wrapper,
  .seat-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
  }
  .seat-row-seats {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 576px) {
  .seat-item {
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    font-size: 0.8rem;
    border-radius: 7px;
  }
}

/* Tables / VIP Box */
.tables-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 12px 0;
  box-sizing: border-box;
}

.table-box {
  width: 220px;
  max-width: 100%;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.table-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.table-circle {
  width: 52px;
  height: 52px;
  background: var(--brand-purple);
  border-radius: 50%;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  border: 3px solid #ffffff;
}

.table-chairs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  box-sizing: border-box;
}

.table-chairs .seat-item {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 8px;
  box-sizing: border-box;
}

/* General Area */
.general-area-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.general-stepper {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
}

.stepper-btn {
  background: #f8fafc;
  color: #334155;
  border: none;
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.stepper-btn:hover {
  background: #e2e8f0;
}

.stepper-value {
  width: 40px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
}

/* Cart Floating Bar */
.cart-floating-bar {
  position: sticky;
  bottom: 20px;
  background: #ffffff;
  border: 1.5px solid var(--brand-purple-vibrant);
  border-radius: 14px;
  padding: 14px 22px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
