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

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

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

.poiHeading {
  display: flex;
  align-items: center;
  gap: var(--Space-x1);
  color: var(--Text-Default);
}

.poiList {
  list-style: none;
}

.poiItem {
  padding: var(--Space-x1) 0;
  border-bottom: 1px solid var(--Border-Default);
}

.poiButton {
  display: grid;
  grid-template-columns: 1fr max-content;
  align-items: center;
  gap: var(--Space-x2);
  background-color: var(--Base-Surface-Primary-light-Normal);
  border-width: 0;
  color: var(--Text-Default);
  width: 100%;
  padding: var(--Space-x05) var(--Space-x1);
  border-radius: var(--Corner-radius-md);
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s;
}
.poiButton.active {
  background-color: var(--Base-Surface-Primary-light-Hover);
}

.title {
  color: var(--Text-Heading);
}

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

    position: absolute;
    bottom: 0;
    width: 100%;
    border-radius: var(--Corner-radius-lg) var(--Corner-radius-lg) 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;
  }

  .sidebarToggle {
    position: relative;
    color: var(--Text-Secondary);
    background-color: var(--Base-Surface-Primary-light-Normal);
    border-width: 0;
    margin: var(--Space-x2) 0;
    padding: var(--Space-x2);
    width: 100%;
  }

  .sidebarToggle::before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: 3px;
    background-color: var(--Icon-Interactive-Disabled);
  }

  .sidebar:not(.fullscreen) .sidebarContent {
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .sidebarContent {
    padding: var(--Space-x3) var(--Space-x2);
    height: var(--sidebar-mobile-content-height);
    transition: height 0.3s ease-in-out;
  }
}

@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(--Space-x4) var(--Space-x5) var(--Space-x9);
    height: 100%;
    position: relative;
  }
}
