
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'Montserrat', sans-serif;
  background-color: #f0f0f0;
}

header {
  z-index: 1030;
}

nav.navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 128, 128, 0.4);
}

.info-bar {
  background-color: teal;
  color: #fff;
  font-size: 14px;
  padding: 6px 12px;
}

.btn-outline-teal {
  color: teal;
  border-color: teal;
}

.btn-outline-teal:hover,
.btn-outline-teal:focus {
  background-color: #009688;
  color: white;
  border-color: teal;
}


main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#map {
  flex: 1;
  width: 100%;
}

    .my-footer {
      background-color: teal;
      color: #fff;
      font-size: 14px;
      padding: 6px 12px;
      display: flex;
      justify-content: space-around;
    }

    footer .tab {
      all: unset;
      cursor: pointer;
      padding: 10px 20px;
      color: #fff;
      font-weight: 400;
    }

    footer .tab:hover {
      background-color: #ccc;
      border-bottom: 3px solid #2a6f91;
      color: teal;
      font-weight: bold;
    }
.breadcrumb-link {
  text-decoration: none;
  transition: color 0.2s ease, border-bottom 0.2s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.breadcrumb-link:hover {
  color: teal;
  border-bottom: 2px solid teal;
}

.nav-link {
  color: #000;
  position: relative;
  font-weight: normal;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: teal;
  font-weight: bold;
}

.nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: teal;
}

.nav-link.active {
  color: teal;
  font-weight: bold;
}

.nav-link.active::after {
  content: none;
}

.nav-link.active:hover {
  color: teal;
  font-weight: bold;
}

.nav-link.active:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: teal;
}



   #map.shifted {
  transform: translateX(-320px);
  transition: transform 0.3s ease;
}


   #searchButton {
  position: relative;
  top: 50%;
  right: 16px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center;
  z-index: 1040; /* lebih tinggi dari Leaflet (biasanya 400–1000) */
  padding: 6px 16px;
  background-color: black;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
}

/* Offcanvas khusus yang muncul dari bawah info-bar */
#searchCanvasCustom .offcanvas-header,
#searchCanvasCustom .p-3.border-bottom {
  background-color: #000;  /* Hitam */
  color: #fff;             /* Teks putih */
}

/* Agar tombol close tetap terlihat */
#searchCanvasCustom .btn-close {
  filter: invert(1);
}

#searchCanvasCustom {
  position: fixed;
  top: var(--header-height); /* Ganti dari --info-bar-height */
  right: 0;
  height: calc(100% - var(--header-height));
  width: 320px;
  background-color: #f8f9fa;
  z-index: 2000;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.08); /* 👉 shadow tipis di sisi kiri */
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  border-left: 1px solid #ccc;
}


#searchCanvasCustom.show {
  transform: translateX(0);
}

.category-header,
.category-list li {
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
}

.category-list li label {
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* Ubah background header saat collapse di bawahnya terbuka */
.category-header[aria-expanded="true"] {
  background-color: #66CCCC;
  color: white;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.category-list li {
  font-size: 14px; /* ukuran subkategori */
  font-weight: 400;
}

.chat-icon-wrapper {
  background-color: teal;
  border-radius: 12px;
  padding: 6px 8px;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  position: relative;
}

.chat-icon-wrapper::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid teal;
}

#searchButton {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#searchButton[style*="hidden"] {
  opacity: 0;
  pointer-events: none;
}

    .contributor-card {
      border: none;
      border-radius: 1rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      transition: transform 0.2s;
    }
    .contributor-card:hover {
      transform: scale(1.02);
    }
.avatar {
  width: 80px !important;
  height: 80px !important;
  border-radius: 70% !important;
  object-fit: cover !important;
  border: 3px solid teal !important;
  display: block;
}
    .badge-role {
      background-color: teal;
      color: white;
      font-size: 12px;
    }
    .join-date {
      font-size: 13px;
      color: gray;
    }
 
  .feather {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
  }

  