html, body, #map {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

.leaflet-control-search {
    position: absolute;
    top: -75px;
    left: 110px;
    z-index: 1000;
}

.leaflet-control-search .search-label {
    color: #4d4d4d;
}

.search-label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
    margin-left: 30px;
    margin-right: 30px;
}

.mode-toggle {
    position: absolute;
    left: 40px;
    z-index: 1000;
    background: white;
    padding: 7px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mode-label {
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 2px;
    text-align: center;
    font-family: 'Helvetica Neue', sans-serif;
    color: #4d4d4d;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #FFD43B;
  transition: .3s;
  border-radius: 26px;
}

.icon {
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #525252;
  transition: transform .3s, color .3s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider .icon {
  transform: translateX(24px);
  color: #fff;
}

.source-badge {
    padding: 0px 3px;
    border-radius: 4px;
    font-size: 0.9em;
    display: inline-block;
    margin-top: 2px;
    color: white;
}