/* Layout */
body {
  margin:0;
  font-family: 'Poppins', sans-serif;
  background:#fdf6f0;
}
.container {
  display:flex;
  flex-direction:row;
  height:100vh;
  width:100vw;
}
#map {
  flex:3;
}
#sidebar {
  flex:1;
  background:#fff0e6;
  padding:20px;
  overflow-y:auto;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
}
#sidebar h2 {
  text-align:center;
  color:#b53f3f;
}
#location-list li {
  list-style:none;
  padding:10px;
  margin-bottom:5px;
  cursor:pointer;
  border-radius:5px;
  transition:0.3s;
}
#location-list li:hover {
  background:#b53f3f;
  color:white;
  font-weight:bold;
}

/* Legend */
#legend {
  margin-top:20px;
}
.color-box {
  display:inline-block;
  width:20px; height:20px;
  margin-right:5px;
  border-radius:3px;
}

/* Popup style */
.leaflet-popup-content-wrapper {
  border-radius:15px;
  box-shadow:0 0 15px rgba(0,0,0,0.4);
}
.leaflet-popup-content img {
  width:100%;
  border-radius:10px;
  margin-bottom:10px;
}
.leaflet-popup-content h3 {
  margin:0 0 5px 0;
  color:#b53f3f;
  text-align:center;
}
.leaflet-popup-content p {
  margin:0;
  font-size:14px;
  text-align:justify;
}

/* Tooltip on marker */
.leaflet-tooltip {
  font-weight:bold;
  color:#333;
}

#footer {
  position: fixed;
  bottom: 10px;
  right: 20px;
  background: rgba(255,255,255,0.8);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  color: #b53f3f;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  z-index: 1000;
}
