body {
  background-color: #c5c5c5;
}


/* "submit construction updates here" */
.headerbox-home {
  position: relative;
  display: block;
  left: calc(50% - 225px);
      
  top: 80px;
  width: 450px;
  height: 150px;
  padding: 10px 20px;
  border-radius: 5px;

  text-align: center;
  background: #aaaaaa;
  color: white;

  box-shadow: 0 5px 5px rgba(15, 15, 15, 0.3);
}
.headerbox-home h4 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: 600;
}

#submit-button {
  top: 10px;
}
    

/* Content boxes: map and updates outline */
.contentbox {
  position: relative;
  display: flex;
  gap: 29px; /*THIS CONTROLS THE GAP BETWEEN MAP AND UPDATES*/
}

.samplebox {
  position: relative;
  display: block;
  left: calc(50% - 365px);
  
  top: 110px;
  padding: 10px;
  border-radius: 10px;
  
  box-shadow: 0 5px 5px rgba(15, 15, 15, 0.3);
  background: #aaaaaa;
  color: #ffffff;
}

  #map-container{
    width: 500px;
    height: 400px;
  }

  #updates {
  width: 200px;          /* fixed width */
  height: 400px;         /* fixed height */
  overflow-y: auto;      /* vertical scrollbar appears if content is too tall */
  overflow-x: hidden;    /* prevent horizontal scrolling */
  word-wrap: break-word; /* break long words so they stay inside the box */
  padding: 10px;
  box-sizing: border-box;
  background: #aaaaaa;   /* optional background for visibility */
  color: #ffffff;        /* optional text color */
}

/* Optional: make the scrollbar look nicer */
#updates::-webkit-scrollbar {
  width: 8px;
}

#updates::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

#updates::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
     
  /* Popup Search Styles */
.search-button {
  padding: 8px 16px;
  background-color: #aaaaaa;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 15px;
  margin-left: 10px;
  transition: background 0.3s;
}

.search-button:hover {
  background-color: #005fa3;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup-box {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-input {
  width: 250px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}
  .search-input:focus{
    outline: 3px solid #aaaaaa;
  }

.close-btn {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #555;
}

.close-btn:hover {
  color: #000;
}


hr {
  margin-top: 15px;
  border: 0;
  height: 1px;
  background-color: white; 
  border-top: 1px solid rgba(255,255,255,0.6);
}