@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

.leaflet-interactive:focus {
    outline: none !important;
  }

html, body {
    height: 100%;
    margin: 0;
    font-family: Lato, serif;
}

main {
    display: grid;
    grid-template-columns: 10vw 32vw auto;
    grid-template-rows: auto;
    height: 100vh;
}

#map {
    grid-column: 3;
    grid-row: 1;
    height: 100%;
    width: 100%;
}

#toolbar {
  z-index: 1000;
  grid-column: 1; 
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-right: 2px solid #e0e0e0;
  
}

#toolbar button {
  padding: 12px 15px;
  font-size: 14px;
  font-weight: bold;
  line-height:20px;
  color: #fff;
  background-color:#1e7d8b; 
  border: none; 
  border-radius: 8px;
  box-shadow: 0 4px 6px rgb(0 0 0 / 10%);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease; 
}

#toolbar button:hover {
  background-color: #a14b25;
  transform: scale(1.05);
}

#toolbar button:first-of-type {
  margin-top: 0; 
}

#toolbar button:last-of-type {
  margin-bottom: 0;
}

#slider-container {
  grid-column: 2; 
  grid-row: 1;
  margin: 10px 0; 
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: flex-start; 
  padding: 20px;
  background-color: #fff;
}

label {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333; 
  font-weight: bold;
}

input[type="range"] {
  appearance: none;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, #73daff, #1e7d8b);
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  margin-bottom: 10px;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: #89b7a2;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgb(0 0 0 / 30%);
  cursor: pointer;
}

#slider-container p {
  margin: 0.6em 0;
}

#slider-container span {
  display: inline-block;
}

#type-bar{
  width: 420px; 
  height: 345px;
  display: flex; 
  align-items: top; 
  margin-top: 30px;
  margin-left: 5px;
  margin-bottom: 20px; 
}

 #amenity-donut{
  width: 400px; 
  height: 330px;
  display: flex; 
  align-items: center; 
  margin-top: 10px;
  margin-left: 5px;
  margin-bottom: 10px; 
}



#address-search-container, #report-container {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  width: calc(100% - 60px);
  padding: 10px;
  margin: 10px auto;
  background-color: white;
  z-index: 100;
}

#search-label {
  font-size: 20px;
  color: #333;
  font-weight: bold;
  margin-bottom: 10px; 
}

#address-search-container input {
  width: 97%;
  padding: 6px;
  font-size: 16px;
  border: 1px solid #ccc; 
  border-radius: 4px;
  outline: none;
  background-color: white;
  box-shadow: inset 0 1px 2px 
    color-mix(in srgb, rgb(0 0 0), 10%);
}

#report-container input {
  width: 96.5%; 
  padding: 6px;
  font-size: 16px;
  border: 1px solid #ccc; 
  border-radius: 4px;
  outline: none;
  background-color: white; 
  box-shadow: inset 0 1px 2px 
    color-mix(in srgb, rgb(0 0 0), 10%); 
}

#report-container select {
  width: 100%;
  padding: 6px;
  font-size: 16px;
  border: 1px solid #ccc; 
  border-radius: 4px;
  outline: none;
  background-color: white;
  box-shadow: inset 0 1px 2px 
    color-mix(in srgb, rgb(0 0 0), 10%);
}


.reset-view-btn {
  background-color: #6a9b83;
  color: white;
  font-weight: bold;
  font-size: 15px;
  font-family: Lato, serif;
  padding: 8px 15px;
  border-radius: 8px;
  border: none; 
  cursor: pointer;
  text-align: center;
  align-items: center;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.reset-view-btn:hover {
  background-color: #a14b25;
}


input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

/* stylelint-disable-next-line no-descending-specificity */
#report-container button {
  width: 20%;
  padding: 10px;
  margin-top: 20px;
  font-size: 15px;
  font-weight: bold;
  color: white;
  background-color: #6a9b83;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

#report-container button:hover:not(:disabled) {
  background-color: #a14b25;
  transform: scale(1.05);
}

/* stylelint-disable-next-line no-descending-specificity */
#report-container button:disabled {
  background-color: #d3d3d3;
  color: #a1a1a1;          
  cursor: not-allowed; 
  transform: none;          
}


#logo {
  transition: transform 0.3s ease, fill 0.3s ease;
}

#logo:hover {
  transform: scale(1.2);  
}

#logo circle {
  transition: r 0.3s ease;
}

.copyright {
  position: fixed;
  grid-column: 1 ;
  text-align: left;
  font-size: 0.65vw;
  color: #666;
  margin-top:90vh;
  padding-left: 10px;
}

/* stylelint-disable-next-line no-descending-specificity */
.copyright p {
  margin: 5px 0; 
}

.enhanced-paragraph {
  line-height: 1.5;
}



