.sidebar {
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  overflow: hidden;
  height: inherit;
}

.sidebar .logo {
  /* background-color: #fff; */
  display: flex;
  justify-content: flex-start;
}

.sidebar .logo a {
  height: 64px;
}

.ant-layout-sider .ant-layout-sider-children {
  display: flex;
  flex-direction: column;
  /* height: 100vh; */
  margin-top: 0;
  padding-top: 0;
  /* padding-right: 4px; */
}

.ant-layout-sider-children ul.ant-menu-root {
  overflow: overlay;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  border-right: 0;
}

.ant-layout-sider-children ul.ant-menu-root li::after {
  margin-right: 0px;
}

.ant-layout-sider-children ul.ant-menu-root::-webkit-scrollbar {
  display: block;
  width: 4px;
}

.ant-layout-sider-children ul.ant-menu-root:hover::-webkit-scrollbar {
  width: 9px;
}

.ant-layout-sider-children ul.ant-menu-root::-webkit-scrollbar-thumb {
  background: #ffffff6e;
}

.ant-layout-sider-children ul.ant-menu-root > li:last-child {
  margin-bottom: 4rem;
}

.ant-layout-has-sider .main-sider-menu .slider-trigger-button {
  position: absolute;
  top: 0px;
  right: 0;
  z-index: 3000;
  transform: translateX(100%);
  -webkit-transform: translateX(100%);
  -moz-transform: translateX(100%);
  -ms-transform: translateX(100%);
  -o-transform: translateX(100%);
  max-width: 40px;
  height: 64px;
}

/*when sidebar is closed*/
.ant-layout-has-sider .main-sider-menu .slider-trigger-button[data-collapse-check="1"] {
  transform: scaleX(-102%);
  -webkit-transform: scaleX(-102%);
  -moz-transform: scaleX(-102%);
  -ms-transform: scaleX(-102%);
  -o-transform: scaleX(-102%);
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  background-color: var(--background-color-custom-1-70);
  color: var(--font-color-primary);
}

/*when sidebar is open*/
.ant-layout-has-sider .main-sider-menu .slider-trigger-button[data-collapse-check="0"] {
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
  background-color: var(--font-color-primary);
  color: var(--color-alternate);
}