.ClustersMenu {
  $spacing: $padding * 2;

  position: relative;
  text-align: center;
  background: $clusterMenuBackground;
  border-right: 1px solid $clusterMenuBorderColor;
  padding: $spacing 0;
  min-width: 75px;

  .is-mac &:before {
    content: "";
    height: 20px; // extra spacing for mac-os "traffic-light" buttons
  }

  .clusters {
    @include hidden-scrollbar;
    padding: 0 $spacing; // extra spacing for cluster-icon's badge
    margin-bottom: $margin;

    .ClusterIcon {
      margin-bottom: $margin * 1.5;
    }

    &:empty {
      display: none;
    }
  }

  > .add-cluster {
    position: relative;

    .Icon {
      border-radius: $radius;
      padding: $padding / 3;
      color: $addClusterIconColor;
      background: #ffffff66;
      cursor: pointer;

      &.active {
        opacity: 1;
      }

      &:hover {
        box-shadow: none;
        background: #ffffff;
      }
    }

    .Badge {
      $boxSize: 17px;

      position: absolute;
      bottom: 0px;
      transform: translateX(-50%) translateY(50%);
      font-size: $font-size-small;
      line-height: $boxSize;
      min-width: $boxSize;
      min-height: $boxSize;
      text-align: center;
      color: white;
      background: $colorSuccess;
      font-weight: normal;
      border-radius: $radius;
      padding: 0;
      pointer-events: none;
    }
  }

  > .extensions {
    &:not(:empty) {
      padding-top: $spacing;
    }

    .Icon {
      --size: 40px;
    }
  }
}
