.slider {
  position: relative;
  height: 100%;
  overflow: hidden;
  background-color: #fff !important;
  border: unset !important;
  border-right: 1px solid #f5f5f5 !important;

  & :global(.ant-layout-sider-children) {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
  }
}

.slider-menus {
  position: relative;
  z-index: 2;
  flex: 1;
  overflow: auto;
  /* stylelint-disable-next-line declaration-block-no-duplicate-properties */
  overflow: overlay;
  background-color: transparent !important;
  border-inline: unset !important;

  & :global(.ant-menu) {
    border-inline-end: unset;
  }

  &::-webkit-scrollbar {
    display: none;
    width: 6px;
    background-color: transparent;
    border-radius: 6px;
    transition: all 500ms linear;
  }

  &:hover::-webkit-scrollbar {
    display: block;
  }

  &::-webkit-scrollbar-thumb {
    cursor: pointer;
    background-color: #ccc;
    border-radius: 6px;
    transition: background-color 500ms linear;

    &:hover {
      background-color: var(--primary-color);
    }
  }

  & :global(.ant-menu-item-icon) {
    color: #bbb !important;
  }

  & :global(.ant-menu-item-selected),
  & :global(.ant-menu-submenu-selected) {
    & :global(.ant-menu-item-icon) {
      color: var(--primary-color) !important;
    }
  }
}

.slider-btn {
  position: sticky;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 40px;
  padding: 0 20px;
  background-color: #fff !important;
}

.slider-btn-collapsed {
  padding: 0 32px;
}

.slider-btn-icon {
  font-size: 22px;
  cursor: pointer;
  transition: all 200ms linear;
}

.slider-btn-icon-collapsed {
  transform: rotate(180deg);
}

.lottie {
  position: absolute;
  bottom: 0;
  left: -800px;
  z-index: 1;
  width: 1600px;
  transform: rotate(-130deg);
}
