@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

:root {
  --mainColor: #09afa7;
}




* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  color: var(--mainColor);
}

body {
  background-color: #e7e7e7;


}


header {
  background-color: #ffffff;
  padding: 20px 40px;
  display: flex;
  align-items: center;
}

main {
  padding: 20px 2%;
}

h1 {
  margin-bottom: 10px;
}

sub {
  font-size: 10px;
  color: #036405;
}

#lastUpdated {
  font-size: 14px;
  color: #969696;
  margin-right: 5px;
}

.title {
  color: var(--mainColor);
  font-weight: 600;
  margin-left: 20px;
}

.logoUpsensor {
  position: absolute;
  height: 60px;
  right: 40px;

}

section {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

section>* {
  flex: 1 1 calc(33.33% - 10px);
  /* Adjust child elements to wrap */
  box-sizing: border-box;
}

#map {
  z-index: 1;
  border-radius: 5px;
  min-width: 325px;
  height: 700px;
}




.numberedCircle {
  width: 48px !important;
  height: 48px !important;
  margin-left: -20px;
  margin-top: -12px;
  border-radius: 50%;
  border: 2px solid var(--mainColor);
  text-align: center;
  color: #ffffff;
  background-color: #fff;
  font-size: 16px;
  padding-top: 11px;
}

#deviceDetails {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  min-width: 350px;
  overflow-x: hidden;

}

.deviceName {
  font-size: 20px;
  color: var(--mainColor);
  font-weight: 600;
  width: 100%;
  margin-top: 5px;
  margin-left: 5px;
  margin-bottom: 16px;
}

.chartsContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
  overflow-y: auto;
  max-height: 450px;
}

.chartContainer {
  width: 100%;
  box-sizing: border-box;
}

.chartDiv {
  height: 120px;
  width: 100%;
}

.chartStats {
  text-align: right;
  margin-right: 5px;
}

@media (max-width: 600px) {
  .legendNumber {
    display: none;
  }
}

#heatMap {
  z-index: 1;
  border-radius: 5px;
  min-width: 325px;
  height: 700px;
}

#heatDetails {
  flex: 1 1 0;
  padding: 10px;
  min-width: 350px;

  max-height: 500px;
 

}
