@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

:root {
  color-scheme: only light;
}

html {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  font-size: 14px;
  background-color: #f5f5f5;
  color: #333;
  height: 100%;
  width: 100%;
}

#imgContainer {
  width: 100%; /* or any custom size */
  height: 100%; 
}

img {
  max-width: 100%; /* or any custom size */
  max-height: 100%; 
  object-fit: contain;
}

.root-container {
  padding: 8px;
  gap: 8px;
  position: relative;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}

.MuiButtonBase-root {
  display: none;
}

.classic-app {
  height: 800px;
  width: 1200px;
  border: 1px solid #bbb;
  flex-grow: 1;
  border-radius: 3px;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  box-sizing: border-box;
  overflow: auto;
  position: relative;
}

.viz {
  width: 100%;
  height: 85vh;
  padding: 16px;
  border: 1px solid #bbb;
  border-radius: 3px;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
  /* position: relative; */
}

.iframeStyle {
  position: relative;
  display: inline-block;
  border: 0;
  height: 90vh;
  width: 100%;
}

body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Roboto', 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.header {
  display: flex;
  flex: 1;
  height:3.5rem;
  align-items: center;
  padding: 0 0.5rem;
}

.brand {
  color: #116E71;
  font-size: 1.5rem;
}

.navigation {
  display: flex;
}

@media only screen and (max-width: 680px) {
  .navigation {
    display: flex;
    flex: 1;
    justify-content: space-evenly;
  }

  .navigation button {
    flex: 1;
    width: "100%";
    font-size: 0.7rem;
  }
}

.navigation button {
  margin: 0.5rem;
  border: 1px solid #116E71;
  padding: 0.6rem;
  border-radius: 6px;
  background-color: white;
  color: #116E71;
  text-decoration: none;
  box-shadow: rgba(17, 110, 113, 0.3) 0px 1px 1px 1px;
}

.navigation button:hover {
  background-color: #26A0A7;
  color: white;
  transition: all 0.5s;
}

.navigation button.active {
  background-color: #116E71;
  color: white;
}

.interActive {
  margin: 0.5rem;
  border: 1px solid #116E71;
  padding: 0.6rem;
  border-radius: 6px;
  background-color: white;
  color: #116E71;
  text-decoration: none;
  box-shadow: rgba(17, 110, 113, 0.3) 0px 1px 1px 1px;
  font-size: 18px;
  width: 235px;
  font-weight: bold;
}

.interActive.on {
  background-color: #009845;
  color: white;
}

.interActive:hover {
  background-color: #009845;
  color: white;
  transition: all 0.5s;
}

footer {
  background-color: #26A0A7;
  /* background: linear-gradient(90deg, rgba(38,160,167,1) 0%, rgba(255,255,255,1) 100%, rgba(0,212,255,1) 100%); */
  padding: 0.5rem 1rem 0rem 0rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

footer img {
  width: 4.5rem;
  height: auto;
}

footer span {
  font-size: 1rem;
  margin-right: 0.5rem;
  color: white;
}

.grid-container {
  height: 685px;
  display: grid;
  grid-row-gap: 1ch;
  grid-column-gap: 1ch;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  grid-template-rows: 4ch auto minmax(10px, 60px);
  border-radius: 30px;
  padding: 20px;
}

.currSel {
  grid-column: 1/ span 20;
  grid-row: 1;
  max-height: 50px !important;
}

.filter {
  grid-column: 1 / span 4;
  grid-row: auto / span 4;
  max-width: 274px !important;
  padding: 0px !important;
}

.bar {
  grid-column: 5 / span 6;
  grid-row: 2 / span 4;
}

.bullet {
  grid-column: 5 / span 6;
  grid-row: 6 / span 4;
}

.table {
  grid-column: 12 / span 10;
  grid-row: 2 / span 8;
}

.grid-item {
  min-width: 50px !important;
}

.custom-alert {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 30px;
  background-color: white;
  border-radius: 12px; /* Rounded corners */
  border: 2px solid black;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  width: 300px; /* Set width of the alert */
  text-align: center; /* Center text */
}
.custom-alert-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}
.custom-alert p {
  font-size: 18px; /* Larger font size */
  margin-bottom: 20px;
}
.custom-alert button {
  padding: 10px 20px; /* Larger button */
  font-size: 16px; /* Button font size */
  cursor: pointer;
  background-color: #007bff; /* Nice blue color */
  color: white;
  border: none;
  border-radius: 8px; /* Rounded button corners */
  width: 100%; /* Make the button full width */
}
.custom-alert button:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

#imageContainer {
    position: relative;
    display: inline-block;
  }
  #message {
    text-align: center;
    vertical-align: middle;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
    font-size: 24px;
    opacity: 0; /* Start hidden */
    transition: opacity 1s ease-out; /* Smooth transition for fade effect */
  }
  #loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Make sure it's on top */
  }

  /* Spinner style */
  .spinner {
    border: 12px solid #f3f3f3;
    border-top: 12px solid #3498db;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
  }

  /* Spinner animation */
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }