/* === Stats Section Styling === */
#stats {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  margin-top: 0;
  padding: 40px 0 60px;
  background-color: #F7F7F7;
}

.charts-container {
  background-color: #ffffff;
  padding-top: 40px;
  padding-bottom: 60px;
}

.section-wrapper {
  box-shadow: 0px 3px 11px #00000029;
  border-radius: 5px;
  max-width: 890px;
  margin: -149px auto 0 3px;
  padding: 30px 40px !important;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1001;
  background: #fff;
}

.section-wrapper h2 {
  font-weight: 600;
  font-size: 21px;
  line-height: 1.3;
  margin-bottom: 20px !important;
}

#municipality-select {
  max-width: 500px;
}

.total-kwh-wrapper {
  background: #61b957;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 14px 18px !important;
}

.total-buildings-wrapper {
  background: #9792bf;
  border-radius: 30px;
  padding: 14px 18px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.total-kwh-wrapper h5,
.total-buildings-wrapper h5 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.total-kwh-val, .total-buildings-val {
  font-size: 48px;
  font-weight: 200;
  line-height: 1;
}

i.fa-solid.fa-arrow-trend-up {
  color: #fc440f;
  font-size: 24px;
  transform: translate(0, -6px);
}

i.fa-solid.fa-bolt {
  color: #000000;
}


.energy-record,
.energy-grid,
.energy-media img {
  position: relative;
  z-index: 0;
}


@media (max-width: 1024px) {
  #stats {
    margin-top: 12px;
  }

  .section-wrapper {
    height: auto;
    padding: 24px 28px !important;
    margin: 0 auto;
    z-index: 1001;
  }

  .total-kwh-wrapper,
  .total-buildings-wrapper {
    width: 100%;
    height: auto;
  }

  .total-kwh-val, .total-buildings-val {
    font-size: 44px;
  }
}