#stage {
  background: #b62729;
  border: 2px solid #ffcb05;
  border-radius: 10px;
  color: #fff;
  padding: 12px 24px;
  margin: 12px 0;
  min-width: 100px;
  text-align: center;
}
.legend {
  border-radius: 5px;
  margin: 0 5px 0 10px;
  width: 10px;
  height: 10px;
}
#fixed-footer {
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  width: 100%;
  padding: 12px 24px;
  text-align: right;
  bottom: 0;
  left: 0;
  z-index: 1000; /* Ensure it's above other elements */
  transition: transform 0.3s ease-in-out;
  transform: translateY(100px);
}
#fixed-footer.active {
  transform: translateY(0);
}
/* Scrollable Zoom Container */
.zoom-container {
  overflow: auto;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f9f9f9;
}

#dining-a .zoom-container {
  height: 100vh;
}

#dining-a .table-layout {
  padding: 0 24px;
}

/* Keep Zoom Controls Fixed */
.zoom-controls {
  position: fixed;
  top: 20px;
  right: 24px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px;
  border-radius: 8px;
  color: white;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.zoom-controls button {
  padding: 10px 15px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background-color: #555;
}

.zoom-controls button:hover {
  background-color: #333;
}

#zoom-level {
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  min-width: 50px;
  text-align: center;
}
/* Responsive Table Layout */
.table-layout {
  /*display: flex;
            flex-direction: column;
            gap: 10px;
            padding: 12px 24px 100px;
            width: 100%;*/
  transition: transform 0.2s ease-in-out;
  transform-origin: center center;
  max-width: none;
  max-height: none;
  padding-left: 100px;
}

/* Each Row */
.table-row {
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: nowrap;
}

/* Table Block */
.table {
  flex: 1 1 auto;
  aspect-ratio: 1;
  /* min-width: 60px;
            max-width: 100px;*/
  border: 1px solid #ccc;
  border-radius: 100%;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Table Colors by Status */
.available {
  background-color: #b5e7a0;
}
.confirmed {
  background-color: #f28b82;
}
.pending {
  background-color: #ffcb05;
}
.selected {
  background-color: rgb(91, 184, 255);
}

/* Responsive Zooming */
@media only screen and (min-width: 576px) {
  .table-layout {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .table {
    font-size: 0.8rem;
  }
}
