body, html { margin: 0; padding: 0; height: 100%; }
    #map { width: 100%; height: calc(100% - 56px); } /* subtract navbar height */
    .search-container {
      position: absolute;
      top: 70px;
      left: 10px;
      z-index: 2;
      display: flex;
      gap: 5px;
    }
      .bg-custom-green {
    background-color: #002300 !important; /* Dark Green */
  }

  .hover-popup {
  
  color: #333;
 
  font-size: 13px;
 
}

.hover-popup .mapboxgl-popup-tip {
  border-top-color: rgb(33, 33, 33);
}
.hover-popup .mapboxgl-popup-content {
  display:flex;
  flex-direction: column;
  justify-content: space-between; /* pushes button to bottom */
  align-items: center;           /* centers horizontally */
  text-align: center; 
  background-color: rgb(33, 33, 33);
   border-radius: 6px;
   border:solid 1px rgb(62, 62, 62);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  color:rgb(199, 199, 199);
    position: relative;
  padding: 25px 20px 0px 20px;
  width:max-content;
  white-space: nowrap; 
  transition: max-width 0.3s ease;
}

.hover-popup .mapboxgl-popup-close-button{
  color:lightgrey;
  top:5px;
  right:10px;
}


.extra-info {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.extra-info.show {
  opacity: 1;
  max-height: 500px; /* enough to fit your summary text */
}

.expand-btn {
  background: rgb(52, 52, 52);
  color: rgb(195, 195, 195);
  border: solid 1px rgb(195, 195, 195);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-weight: bold;
  font-size: 14px;
  line-height: 18px;
 
  display: block;           /* 🔹 remove inline behavior */
  margin: 5px auto 10px auto;

  cursor: pointer;
  text-align: center;
  padding: 0;
}

.expand-btn:hover{
 background: rgb(100,100,100);
  color: rgb(251, 251, 251);
  border: solid 1px rgb(244, 244, 244);
}

.Copyright{
  color:lightgrey;
}

#loading {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 9999;
}
.loading_hidden {
  display: none!important;
}
#lottie-loader {
  filter: hue-rotate(270deg) brightness(1.4);
}

.popup-pct_change-positive{
  border: 1px solid #018420;
  border-radius : 30px;
  width: auto;
  max-width: 90px;
  display: flex;
  justify-content: center;
  text-align: center;
  margin:  3px auto;
  background-color: #427642;
  color: #00d132;
}

.popup-pct_change-negative{
     border: 1px solid #840101;
    border-radius: 30px;
    width: auto;
    max-width: 90px;
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 3px auto;
    background-color: #764242;
    color: #d10000;
}
