.sidebar {
  background-color: var(--Base-Surface-Primary-light-Normal);
  z-index: 2;
}

.sidebarContent {
  display: grid;
  gap: var(--Spacing-x5);
  align-content: start;
  overflow-y: auto;
}

.poiGroup {
  display: grid;
  gap: var(--Spacing-x2);
}

.poiHeading {
  display: flex;
  align-items: center;
  gap: var(--Spacing-x1);
}

.poiList {
  list-style: none;
}

.poiItem {
  padding: var(--Spacing-x1) 0;
  border-bottom: 1px solid var(--Base-Border-Subtle);
}

.poiButton {
  background-color: var(--Base-Surface-Primary-light-Normal);
  border-width: 0;
  font-family: var(--typography-Body-Regular-fontFamily);
  font-size: var(--typography-Body-Regular-fontSize);
  font-weight: var(--typography-Body-Regular-fontWeight);
  color: var(--UI-Text-High-contrast);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr max-content;
  gap: var(--Spacing-x2);
  align-items: center;
  padding: var(--Spacing-x-half) var(--Spacing-x1);
  border-radius: var(--Corner-radius-Medium);
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s;
}
.poiButton.active {
  background-color: var(--Base-Surface-Primary-light-Hover);
}

@media screen and (max-width: 767px) {
  .sidebar {
    --sidebar-mobile-toggle-height: 84px;
    --sidebar-mobile-top-space: 40px;
    --sidebar-mobile-content-height: calc(
      var(--hotel-map-height) - var(--sidebar-mobile-toggle-height) -
        var(--sidebar-mobile-top-space)
    );

    position: absolute;
    bottom: calc(-1 * var(--sidebar-mobile-content-height));
    width: 100%;
    transition:
      bottom 0.3s,
      top 0.3s;
    border-radius: var(--Corner-radius-Large) var(--Corner-radius-Large) 0 0;
  }

  .sidebar.fullscreen + .backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
  }

  .sidebar.fullscreen {
    bottom: 0;
  }

  .sidebarToggle {
    position: relative;
    margin-top: var(--Spacing-x4);
  }

  .sidebarToggle::before {
    content: "";
    position: absolute;
    display: block;
    top: -0.5rem;
    width: 100px;
    height: 3px;
    background-color: var(--UI-Text-High-contrast);
  }

  .sidebarContent {
    padding: var(--Spacing-x3) var(--Spacing-x2);
    height: var(--sidebar-mobile-content-height);
  }
}

@media screen and (min-width: 768px) {
  .sidebar {
    position: static;
    width: 40vw;
    min-width: 10rem;
    max-width: 26.25rem;
    background-color: var(--Base-Surface-Primary-light-Normal);
  }

  .sidebarToggle {
    display: none;
  }

  .sidebarContent {
    padding: var(--Spacing-x4) var(--Spacing-x5);
    height: 100%;
    position: relative;
  }
}
