body {
  padding-top: 0;
  background: #f3f7fb;
}

.navbar {
  background-color: rgb(189, 210, 230);
  border-bottom: 1px solid rgba(56, 82, 106, 0.14);
}

.nav-link-btn:hover,
.nav-link-btn:focus {
  color: #7d2c2c;
}

.btn-custom {
  background: linear-gradient(135deg, rgb(56, 82, 106), rgb(119, 174, 225));
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  padding: 8px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-custom:hover {
  background: linear-gradient(135deg, rgb(119, 174, 225), rgb(56, 82, 106));
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.btn-outline-custom {
  color: rgb(56, 82, 106);
  border: 1px solid rgba(56, 82, 106, 0.35);
  background-color: #fff;
}

.btn-outline-custom:hover {
  background-color: rgba(56, 82, 106, 0.08);
  color: rgb(56, 82, 106);
}

.map-page-wrap {
  padding: 16px 16px 0;
}

.map-layout {
  height: calc(100vh - 96px);
  position: relative;
}

#map {
  height: 100%;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(56, 82, 106, 0.13);
  box-shadow: 0 10px 30px rgba(30, 49, 66, 0.1);
}

#sidebar {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 400px;
  max-height: calc(100vh - 128px);
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(56, 82, 106, 0.12);
  box-shadow: 0 18px 35px rgba(32, 51, 68, 0.16);
  overflow-y: auto;
  z-index: 1000;
  flex: none;
}

#searchBar {
  border: 1px solid rgba(56, 82, 106, 0.08);
  box-shadow: 0 8px 18px rgba(32, 51, 68, 0.08) !important;
}

.sidebar-title {
  color: rgb(56, 82, 106);
}

.form-label {
  font-weight: 600;
  color: rgb(56, 82, 106);
}

.form-control {
  border: 1px solid rgba(56, 82, 106, 0.2);
}

.form-control:focus {
  border-color: rgba(56, 82, 106, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(56, 82, 106, 0.12);
}

.discount-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #2f4559;
}

.result-box {
  background: #f7fbff;
  border: 1px solid rgba(56, 82, 106, 0.12);
  border-radius: 12px;
  padding: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.autocomplete-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  background: #fff;
  max-height: 240px;
  overflow-y: auto;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(56, 82, 106, 0.2);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(36, 56, 75, 0.2);
  z-index: 1200;
}

.autocomplete-item {
  padding: 8px 10px;
  cursor: pointer;
  border-bottom: 1px solid rgba(56, 82, 106, 0.08);
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
  background: rgba(119, 174, 225, 0.2);
}

.suggest-main {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2c4458;
}

.suggest-sub {
  font-size: 0.75rem;
  color: #6b7f91;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 992px) {
  .map-page-wrap {
    padding: 10px 10px 0;
  }

  .map-layout {
    height: auto;
    min-height: calc(100vh - 90px);
  }

  #map {
    height: 55vh;
  }

  #sidebar {
    position: static;
    width: 100%;
    max-height: none;
    margin-top: 10px;
  }
}
