.chart .scroll-container {
    max-width: 100%;
    overflow-x: auto;
    padding: 10px;
    box-sizing: border-box;
  }

  .chart .chart-wrapper {
    display: inline-block;
    border: 3px solid black;
    border-radius: 16px;
    padding: 30px;
    background-color: white;
    min-width: 1100px;
    box-sizing: border-box;
  }

 .chart  .stage-tables {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    gap: 40px;
  }

.chart .stage-tables {
    display: flex;  
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    gap: 40px;
  }

  .chart .stage {
    width: 800px;
    height: 250px;
    background: linear-gradient(135deg, #5d2977, #9b59b6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    border-radius: 8px;
    font-size: 50px;
  }

  .chart .tables-left, .tables-right {
    display: flex;
    flex-direction: column;
    gap: 80px;
  }

  .chart .tables-front {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin: 20px 0;
    flex-wrap: wrap;
  }
/* 
  @keyframes vipPulse {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
} */

  .chart .table {
    width: 100px;
    height: 100px;
    background-color:  goldenrod; /* gold-yellow → muted red → purple */
    color: #fff;
    background-size: 200% 200%;
    /* animation: vipPulse 4s ease infinite; */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 30px;

  }

  .chart .seating-area-columned {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

 .chart  .seat-row {
    display: flex;
    justify-content: flex-start;
    width: max-content;
  }

  .chart .seat-group {
    display: flex;
    gap: 4px;
    margin-right: 16px;
  }

  .chart .seat-group:nth-child(2n) {
    margin-right: 60px;
  }

 .chart  .seat {
    width: 28px;
    height: 28px;
    background-color: grey;
    color: white;
    font-size: 10px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

 .chart  .legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 14px;
    margin-top: 20px;
  }

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

  .chart .legend-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
  }


  
 body.modal-open {
  overflow: hidden;
}

  
.chart .scroll-container {
  max-width: 100%;
  max-height: 100vh;
  overflow-x: auto;
  overflow-y: auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
.chart .chart-wrapper {
  transform: scale(0.75);
  transform-origin: top left;
  min-width: auto;
}

.chart .seat {
  width: 20px;
  height: 20px;
  font-size: 8px;
}

.chart .table {
  width: 70px; /* كان 110px */
  height: 70px; /* كان 110px */
  font-size: 22px; /* كان 30px */
}

.chart .stage {
   width: 500px; /* كان 800px */
  height: 150px; /* كان 250px */
  font-size: 40px; /* كان 50px */
}

 .chart .tables-front {
    gap: 60px; /* بدل 80px على الشاشات الصغيرة */
  }
}

@media (max-width: 480px) {
.chart .chart-wrapper {
  transform: scale(0.6);
  transform-origin: top left;
}

.chart .seat {
  width: 16px;
  height: 16px;
  font-size: 7px;
}

.chart .table {
  width: 70px; /* كان 110px */
  height: 70px; /* كان 110px */
  font-size: 22px; /* كان 30px */
}

.chart .stage {
  width: 500px; /* كان 800px */
  height: 150px; /* كان 250px */
  font-size: 40px; 

}


 .chart .tables-front {
    gap: 60px; /* بدل 80px على الشاشات الصغيرة */
  }

}

.chart .seating-area-columned > .seat-row {
display: flex;
align-items: center;
}


.chart .tier-1 .seat {
    background-color: #b03a3a; 
    color: #fff;
    border: 1px solid #922b2b;
}

.chart .tier-2 .seat {
    background-color: #f4d35e; /* Elegant soft yellow */
    color: #333;
    border: 1px solid #d4b447;
}

.chart .tier-3 .seat {
    background-color: #5d2977; /* Deep purple */
    color: #fff;
    border: 1px solid #4a1f60;
}


.chart .reserved {
  background-color: grey !important;
}
