#tampilan-mobile {
  display: none;
}
#tampilan-mobile table tr td {
  padding-left: 0.5rem;
}
#tampilan-mobile table tr td:last-child {
  padding-right: 0.5rem !important;
}
.table tfoot > tr > th:first-child, .table thead > tr > th:first-child, .table tr th:first-child, .table tr td:first-child,
.table tfoot > tr > th:last-child, .table thead > tr > th:last-child, .table tr th:last-child, .table tr td:last-child {
  padding: 8px 10px;
}
.table-sm tbody > tr > td {
  padding: 4px 8px !important;
}
#tampilan-mobile .table-sm tbody > tr > td {
  padding: 2px 8px !important;
  font-size: 14px;
}
/* kalau layar max 768px (mobile/tablet), sembunyikan website, munculkan mobile */
#map {
  width: 100%;
  height: 800px;
}
@media (max-width: 768px) {
  #tampilan-website {
    display: none;
  }
  #tampilan-mobile {
    display: block;
  }
  #btn-add-data {
    padding: 12px;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    position: fixed;
    bottom: 25px;
    right: 15px;
    z-index: 999;
  }
  #btn-add-data span {
    display: none;
  }
  #map {
    width: 100%;
    height: 300px;
  }
}

h1, h2, h3, h4, h5 {
  /* color: #004586; */
}

/* styling thumbnail control */
.map-thumb-control {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  padding: 2px;
  z-index: 999;
}
.map-thumb {
  width: 40px;
  height: 30px;
  object-fit: cover;
  border-radius: 3px;
  margin: 5px;
  border: 2px solid transparent;
  cursor: pointer;
}
.map-thumb.active {
  border-color: #007bff;
}
.leaflet-control-geosearch {
  z-index: 1000;
}
.leaflet-control-geosearch {
  font-family: 'Poppins', sans-serif;
  z-index: 999;
}
/* Bar utama */
.leaflet-control-geosearch .leaflet-bar-part {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  overflow: hidden;
}
/* Input pencarian */
.leaflet-control-geosearch form input {
  width: 260px !important;
  padding: 10px 14px;
  border: 1px solid #dcdcdc;
  border-radius: 12px;
  outline: none;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
}
.leaflet-control-geosearch form input:focus {
  border-color: #4e73df;
  box-shadow: 0 0 5px rgba(78, 115, 223, 0.4);
}
/* Tombol kaca pembesar */
.leaflet-control-geosearch button {
  background-color: #4e73df;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 8px 10px;
  margin-left: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.leaflet-control-geosearch button:hover {
  background-color: #2e59d9;
}
/* Daftar hasil */
.leaflet-control-geosearch .results {
  background: #fff;
  border-radius: 10px;
  margin-top: 4px;
  border: 1px solid #ddd;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}
.leaflet-control-geosearch .results > div {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background 0.2s;
}
.leaflet-control-geosearch .results > div:hover {
  background: #f1f3f9;
  color: #4e73df;
}
.leaflet-control-geosearch .results, .leaflet-touch .leaflet-geosearch-bar form {
  border: none;
}
.leaflet-touch .leaflet-geosearch-bar form input, .leaflet-touch .leaflet-control-geosearch button.reset {
  height: 40px;
}
.leaflet-control-geosearch form input {
  font-size: 16px;
}
.leaflet-control-geosearch button.reset {
  padding: 0px 15px;
  border-radius: 0 20px 20px 0;
}
.leaflet-control-geosearch form {
  background: transparent;
}
.leaflet-control-geosearch .results.active {
  padding: 0px;
}

.timeline-simple {
  width: 100%;
}