#stage_header {
	position: relative;
	width : 100%;
	height : 200px;
	/*border-style : solid;*/
	/*color : red;*/
}
.Stage {
	position : absolute;
	top: 0px;
	right: 0px;
	background-color: lightgray;
	padding: 10px;
	text-align: center;
	margin: 20px;
	/* width: calc(100% - 250px); */
	width : 100%;
	font-size: 2em;
}
#StageCenter{
	text-align: center;
	font-weight: bold;
	font-size: 2em;
}
#Information {
	text-align: center;
	font-weight: bold;
	text-decoration: underline;
}
#legend {
	position : absolute;
	top : 0;
	right : 0;
	width : 200px;
	/*border-style : solid;*/
	font-size: 14px;
}
#legend table {
	width : 200px;
}
.Reserved {
	background-color: lightgray;
}
.Purchased {
	background-color: lightblue;
}
.Empty {
	visibility: hidden;
}
.Seat {
	border-style: solid;
	text-align: center;
}
/* .TwentyFive {
	background-color:yellow;
} */
.TwentyFive {
	background-color:#eeadf9;
}
/* .Twenty {
	background-color: lightgreen;
} */
.Thirty {
	background-color: lightgreen;
}
.Forty {
	background-color: lightgreen;
}
/* .Fifteen {
	background-color: lightcoral;
} */
.Fifteen {
	background-color: yellow;
}
.One {
	background-color: bisque;
}
.Row {
	text-align: center;
}
.Selected {
	color: green;
	font-size: 150%;
	background-color: white;
}
.Child {
	color: black;
	font-size: 150%;
	/* background-color: white; */
	background-color:#eeadf9;
}
#Tutorial {
  position: absolute;
  top: 0;
  left: 0;
  background: lightblue;
  padding: 5px;
}
.Buy {
	display: none;
}
.ShowBuyButton {
	display: block;
}
#reserved_seats {
	border-style: solid;
	margin: auto;
	/* width: 600px; */
	text-align: center;
}
#seat_selector {
	border-style: none;
	border-collapse: collapse;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	width : 300px;
}
#seat_selector > td {
	border: 1px solid black;
	border-collapse: collapse;
}
.count_down {
	background: #000000;
	color: #FFFFFF;
	border-color: #F0068E;
	font-size: 40px;
	border-width: 8px;
	border-radius: 6px;
	border-style: solid;
}

#count_down_timer {
	margin: 10px;
}

#stage {
background-color: transparent;
text-align: center;
}

#seats_selection {
	/*border-style : solid;
	border-color : red;*/
	height : auto;
}

/* Spinner overlay */                                                                                                                                                                                          
#spinner-overlay {                                                                                                                                                                                             
  display: none; /* hidden by default */                                                                                                                                                                       
  position: fixed;                                                                                                                                                                                             
  top: 0; left: 0;                                                                                                                                                                                             
  width: 100%; height: 100%;                                                                                                                                                                                   
  background: rgba(0,0,0,0.5);                                                                                                                                                                                 
  z-index: 9999;                                                                                                                                                                                               
  align-items: center;                                                                                                                                                                                         
  justify-content: center;                                                                                                                                                                                     
}                                                                                                                                                                                                              
                                                                                                                                                                                                               
/* Spinner itself */                                                                                                                                                                                           
.spinner {                                                                                                                                                                                                     
  border: 8px solid #f3f3f3; /* Light gray */                                                                                                                                                                  
  border-top: 8px solid #3498db; /* Blue */                                                                                                                                                                    
  border-radius: 50%;                                                                                                                                                                                          
  width: 60px;                                                                                                                                                                                                 
  height: 60px;                                                                                                                                                                                                
  animation: spin 1s linear infinite;                                                                                                                                                                          
}                                                                                                                                                                                                              
                                                                                                                                                                                                               
@keyframes spin {                                                                                                                                                                                              
  0%   { transform: rotate(0deg); }                                                                                                                                                                            
  100% { transform: rotate(360deg); }                                                                                                                                                                          
}

/* The dark overlay */                                                                                                                                                                                         
#popup {                                                                                                                                                                                                       
  display: none; /* hidden by default */                                                                                                                                                                       
  position: fixed;                                                                                                                                                                                             
  top: 0; left: 0;                                                                                                                                                                                             
  width: 100%; height: 100%;                                                                                                                                                                                   
  background: rgba(0,0,0,0.5);                                                                                                                                                                                 
  z-index: 1000;                                                                                                                                                                                               
  justify-content: center;                                                                                                                                                                                     
  align-items: center;                                                                                                                                                                                         
}                                                                                                                                                                                                              
                                                                                                                                                                                                               
/* Popup content box */                                                                                                                                                                                        
.popup-content {                                                                                                                                                                                               
  position: relative;   /* for absolute positioning of close button */
  width: 60%;
  height: 75%;
  background: white;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
}                                                                                                                                                                                                              

#popuptext {                                                                                                                                                                                               
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 100%;               /* adjust width as you like */
  height: 75vh;             /* 75% of viewport height */
  max-height: 75vh;         /* prevent growing past 75% */
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  position: relative;

  /* Make inner content scrollable */
  overflow-y: auto;
}                                                                                                                                                                                                              
                                                                                                                                                                                                               
/* Close (X) button */                                                                                                                                                                                         
/* .close-btn {                                                                                                                                                                                                   
  position: absolute;                                                                                                                                                                                          
  top: 10px;                                                                                                                                                                                                   
  right: 15px;                                                                                                                                                                                                 
  font-size: 24px;                                                                                                                                                                                             
  cursor: pointer;                                                                                                                                                                                             
} */

.close-btn {                                                                                                                                                                                                   
  position: absolute;         /* stick inside container */
  top: 10px;                   /* stick to top */
  right: 10px;                 /* stick to right */
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 10;              /* make sure it stays above content */
}

 .lang-selector {
    position: fixed; /* stays on screen when scrolling */
    top: 10px;       /* distance from top */
    left: 10px;      /* distance from left */
    background-color: rgba(255, 255, 255, 0.8); /* semi-transparent background */
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    z-index: 1000; /* above other elements */
  }

  .lang-selector a {
    margin-right: 10px; /* space between links */
    text-decoration: none;
    color: #333;
    font-weight: bold;
  }

  .lang-selector a:hover {
    color: #007BFF; /* hover color */
  }
  #contactToggle {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: #007bff;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    z-index: 1000;
  }
  #contactPanel {
    position: fixed;
    top: 50px;
    right: 10px;
    width: 50%;
    padding: 20px;
    background-color: #f7f7f7;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    display: none; /* hidden by default */
    z-index: 999;
  }
  #contactPanel .close-btn {
    float: right;
    cursor: pointer;
    font-weight: bold;
    color: #333;
  }

  #submit {
    border: none;
    background: linear-gradient(135deg, #635bff, #8079ff);
    color: #fff;
    border-radius: 12px;
    padding: 14px 32px;
    box-shadow: 0 4px 12px rgba(99, 91, 255, 0.3);
    margin-top: 10px;
    margin-bottom: 10px;
    transition: all 0.25s ease;
  }
  #submit:hover {
    background: linear-gradient(135deg, #5548ff, #6c63ff);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(99, 91, 255, 0.35);
  }
  #submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(99, 91, 255, 0.25);
  }

  @media (max-width: 844px) {
    .wrapper {
      width: 1920px;
      transform: scale(0.40);
      transform-origin: top left;
      /* background-color: lightcoral; */
    }
    .popup-content {                                                                                                                                                                                               
      position: relative;   /* for absolute positioning of close button */
      width: 80%;
      height: 75vh;
      background: white;
      border-radius: 10px;
      box-shadow: 0 6px 18px rgba(0,0,0,0.25);
      display: flex;
      flex-direction: column;
    } 
    #contactPanel {
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      padding: 10px;
      overflow-y: auto;      /* enables vertical scroll if needed */
      position: relative;   /* for absolute positioning of close button */
    }           
    .wrapper {
      display: block;   /* or block, depending on layout */
      transform-origin: top left;
    }
    #right_center {
				/* background-color: lightgreen; */
				clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 10% 100%);
				transform: rotate(-45deg);
				transform-origin: right top;
				margin-right: 5vw;
        z-index: 1;
			}
      #left_center {
				/* background-color: lightgreen; */
				transform-origin: left top;
				clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 10% 100%);
				transform: rotate(35deg);
				margin-left: 5vw;
        z-index: 1;
			}
      #center {
        z-index: 2;
      }
      #right {
        z-index: 4;
        padding: 5vw;
      }
      #left {
        z-index: 4;
        padding: 5vw;
      }
      #stage_new {
        z-index: 3;
        padding: 5vw;
      }
      #submit {
        border: none;
        background: linear-gradient(135deg, #635bff, #8079ff);
        color: #fff;
        border-radius: 12px;
        padding: 14px 32px;
        margin-top: 10px;
        margin-bottom: 10px;
        box-shadow: 0 4px 12px rgba(99, 91, 255, 0.3);
        transition: all 0.25s ease;
      }
      #submit:hover {
        background: linear-gradient(135deg, #5548ff, #6c63ff);
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(99, 91, 255, 0.35);
      }
      #submit:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(99, 91, 255, 0.25);
      }
  }