$bz-sidebar-panel-width-expanded: 244px;

.bz-sidebar-panel {
  background-color: $bz-neutral-200;
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
  width: $bz-sidebar-panel-width-expanded;

  &__header {
    align-items: center;
    display: flex;
    font-size: $bz-font-size-subheading;
    font-weight: $bz-font-weight-semibold;
    height: $bz-sidebar-width;
    padding: $bz-space-inset-squish-m;
    span {
      flex: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      user-select: none;
      white-space: nowrap;
    }
    &--close {
      display: none;
    }
  }

  &__list {
    flex-direction: column;
    flex-grow: 1;
    overflow-x: hidden;
    overflow-y: auto;

    & h2 {
      color: $bz-neutral-500;
      font-size: $bz-font-size-body-small;
      font-weight: $bz-font-weight-regular;
      margin: 0;
      padding: $bz-space-inset-s $bz-space-inset-l;
      text-transform: uppercase;
    }    
  }
}

@media screen and (max-width: 1024px) {
  .bz-sidebar-panel {
    &__header {
      &--close {
        display: block;
      }
    }
  }
}
