* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #333;
  background: #f0f0f0;
  overflow: hidden;
}

.h2 {
font-size: 1.5em;
  font-weight: bold;
  color: #333333;
}

.h5 {
  font-size: 1.5em;
    font-weight: normal;
    color: #333333;
  }
  .h7 {
    font-size: 1.5em;
      font-weight: normal;
      color: #333333;
    }

#map {

  background: none;
  backdrop-filter:none;
  box-shadow:none;
  text-align:left;
  border:none;
  }


#map .h6, #map .h5{

  position: absolute;
  top:34px;
   width:160px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.8); /* Gradient background */
  border-radius: 5px;
  box-shadow: 0px 0px 17px rgba(82, 79, 159, 0.1);
  z-index: 1000;
  pointer-events: auto;
  border: 2px solid rgb(255, 255, 255);
  backdrop-filter: blur(16px);
  font-size: 1.5em;
  font-weight: bold;
  color: #625de4;
}


.dialog-type6 .message-container .h5 {
  font-size: 2.4em;
    font-weight: bold;
    color:  #625de4;
    margin-bottom:30px;
  }

  .dialog-type6 .message-container .h6 {
    font-size: 1.4em;
      font-weight: normal;
      color: #4b4b4b;
    
    }

    .dialog-type6 .message-container .h7{
      font-size: 1.4em;
        font-weight: bold;
        color: #4b4b4b;
        margin-top: 12px;
      }

#map .h6{
  left: 236px;
  text-align:center;
}

#map .h5{
  left: 770px;
  text-align:center;
}

.canvas {
  width: 1241px;
  height: 700px;
  margin: auto;
  overflow: visible;
  display: flex;
  transition: margin-left 0.3s ease, width 0.3s ease;
}

#mainVideo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  
}



#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.5); */
  display: none;
}

#info-overlay {
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%; /* Match canvas width */
  height: 100%; /* Match canvas height */
  background: rgba(40, 48, 121, 0.795); /* Blue, semi-transparent */
  z-index: 1006; /* Above #overlay, below info-dialog */
  opacity: 0;
  transition: opacity 0.5s ease;
  backdrop-filter: blur;
}

#info-overlay.active {
  display: block;
  opacity: 1;
}

.dialog {
  position: fixed;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.5s ease;
  visibility: hidden;
  z-index: 1000;
}

.dialog.active {
  opacity: 1;
  visibility: visible;
}

.dialog.position-left {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.dialog.position-center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.dialog.position-right {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(98, 93, 228, 0.9);
  padding: 0px;
  color: white;
  border: none;
  height: 100px;
  width: 150px;
  text-align: center;
  border-radius: 30px;
  font-size: 55px;
  cursor: pointer;
  z-index: 1002;
  transition: opacity 0.3s ease;
}

.play-button.hidden {
  opacity: 0;
  pointer-events: none;
}

#canvas-continue-button {
  position: fixed;
  bottom: 42px;
  right: 42px;
  background: #625de4;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  z-index: 1003;
  display: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#canvas-continue-button::after {
 
  margin-left: 5px;
  position: relative;
  top: 0.2px;
}

/* Sidebar styles */
#sidebar {
  width: 250px;
  background: rgb(243, 241, 241); 
font-family: "Poppins";
  transition: width 0s ease;
  padding-right: 0px;
}

#sidebar.expanded {
  width: 900px; /* Expanded width to fit both main content and table */
}

.sidebar-main-content {
  width: 230px;
  padding: 125px 0;
  float:left;
}

.sidebar-header {
  display: flex;
  height:108px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 0 10px;
}

.sidebar-features {
  font-weight: bold;
  color: #1e1bef;
  font-size: 16px;
}

.sidebar-toggle {

  color: #625de4;
  border: none;
  cursor: pointer;
  width:20px;
  font-size: 13px;
  height:700px;
  float: right;
}

.sidebar-toggle:hover {
  background: #8986eb;
  border-radius: 0px;
  color: white;
}

.sidebar-buttons {
  margin-bottom: 10px;
}

.sidebar-timeframe-button {
  display: flex;
  justify-content: center;
  width: 100%;
  height:50px;
  padding: 14px 12px 10px 12px;
  background: rgb(243, 241, 241);
  color: hsl(0, 0%, 20%);
  border: 0px;
  border-top: 1px solid #ddd;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
  transition: background 0s ease;
  font-family: "Poppins";
}

.sidebar-timeframe-button:hover {
  background: #f0f0f0;
}
.sidebar-timeframe-button.active {
  color: #625de4;
}

.sidebar-table-container {
  display: none; 
  width: 730px; /* Fixed width for the type5 table */
  padding: 0px;
}

.sidebar-table-container.expanded {
  display: block; /* Show when expanded */

}

.sidebar-table {
  width: 465px;
  border-collapse: collapse;
  text-align: center;
  float:left;;
  margin-top:125px
}



.sidebar-table th,
.sidebar-table td {
  padding: 10px;
  
  border-bottom: 1px solid #ddd;
  font-size: 15px;
  color: #333;
  padding: 13px 0;
}

.sidebar-table th {
  font-weight: bold;
  color: #1e1bef;
 height: 118px;
  padding: 10px;
  width:0px;

font-size: 13px;
}

.sidebar-table tr:last-child td {
  border-bottom: none;
  font-weight:600;
  font-size:13px;
}

.sidebar-table tr td:first-child {
  text-align: center;

}



/* Responsive adjustments 
@media (min-width: 1366px) {
  .dialog {
    max-width: 600px;
  }
  .play-button {
    font-size: 55px;
  }
  #sidebar {
    width: 250px;
    height: 100%;
  }
  #sidebar.expanded {
    width: 950px;
  }
  .sidebar-main-content {
    width: 350px;
  }
  .sidebar-table-container {
    width: 600px;
  }
  .sidebar-timeframe-button {
    font-size: 14px;
    padding: 8px;
  }  
  .sidebar-table th,
  .sidebar-table td {
    font-size: 14px;
    padding: 13.2px;
  }
  .sidebar-table tr:nth-last-child(-n + 1) td {
    padding-bottom: 35px; 
  }
}

@media (min-width: 1920px) {
  .dialog {
    max-width: 800px;
  }
  .play-button {
    font-size: 55px;
  }
  #sidebar {
    width: 250px;
    height: 100%;
  }
  #sidebar.expanded {
    width: 1000px;
  }
  .sidebar-main-content {
    width: 250px;
  }
  .sidebar-table-container {
    width: 750px;
    margin-right:30px;
  }
  .sidebar-timeframe-button {
    font-size: 16px;
    height:50px;
    padding: 14px 12px 10px 12px;
  }
  .sidebar-table th,
  .sidebar-table td {
    font-size: 16px;
    padding: 12px;
  }
}
  */


 