:root {
  --font-opensans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-jost: "Jost", sans-serif;
  --font-poppins: "Poppins", sans-serif;
}

:root {
  --main-color: #ae0000;
  --accent-color: #ae0000;
  --accent-color-1: #ae0000;
  --background-color: #ffffff;
  --default-color: #666565;

  --color-green: #16c47f;
  --color-red: #ff7588;
  --color-blue: #5470c6;
  --color-toast: #00b5b8;
  --color-yellow: #ffa87d;

  --bg-green: #16c47f;
  --bg-red: #ff5370;
  --bg-blue: #4099ff;
  --bg-toast: #00b5b8;
  --bg-yellow: #ffb64d;

  --hover-bg-green: #02975b;
  --hover-bg-red: #e23653;
  --hover-bg-blue: #277de0;
  --hover-bg-toast: #009fa2;
  --hover-bg-yellow: #e29b39;
}

.container-map {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
}

.shadow-navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(15, 15, 15, 0.85) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 1000;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  padding: max(0px, env(safe-area-inset-top)) 10px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

.left-menu, .right-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.left-menu button,
.right-menu button {
  background: none;
  border: 0;
  font-size: 24px;
  cursor: pointer;
  color: #ffffff;
}

.pencarian {
  position: relative;
  background-color: #ffffff;
  padding: 5px 10px;
  width: 280px;
  display: flex;
  align-items: center;
  border-radius: 5px;
}

.pencarian i {
  font-size: 18px;
}

.pencarian input {
  width: 100%;
  border: none;
  margin-left: 10px;
  font-size: 14px;
  color: #8f8f8f;
}

.pencarian input:focus {
  outline: none;
  box-shadow: none;
}

.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-top: 6px;
  padding: 6px;
  z-index: 9999;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
  display: none;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.search-item:hover,
.search-item.active {
  background: #f3f4f6;
}

.search-item .title {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
}

.search-item .meta {
  font-size: 12px;
  color: #6b7280;
}

.search-empty {
  padding: 10px;
  color: #6b7280;
  font-size: 13px;
}


.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .5px;
  color: #ffffff;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.panel-detail {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 350px;
  height: calc(100% - 40px);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(-120%);
  transition: transform .3s ease;
}

.panel-detail.show {
  transform: translateX(0);
}

.header {
  font-size: 20px;
  font-weight: 700;
  color: var(--main-color);
  background-color: #ffffff;
  border-bottom: 1px solid #ae000030;
  padding: 15px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .close {
  background-color: transparent;
  color: var(--main-color);
  border: none;
}

.body {
  font-size: 16px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px;
}

.image .wrapper {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  border-radius: 5px;
}

.offcanvas-map-bottom {
  height: 80vh !important;
  border-radius: 10px 10px 0 0;
}

@media (max-width: 768px) and (orientation: portrait) {
  .brand {
    display: none !important;
  }

  .left-menu button,
  .right-menu button {
    position: relative;
    z-index: 1002;
  }

  .pencarian {
    position: absolute;
    left: 60px;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    z-index: 1001;
  }

  .pencarian input {
    font-size: 16px;
  }

  .left-menu, .right-menu {
    gap: 10px;
  }
}

@media (max-width: 576px) and (orientation: portrait) {
  .pencarian {
    left: 60px;
    right: 60px;
  }
}