:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  /* color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424; */

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  height: 100vh;
}

html body {
  margin: 0;
  height: 100vh;
}

/* Custom green Sidebar Menu Styles */
.custom-green-menu.ant-menu-dark .ant-menu-item-selected {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
}

.custom-green-menu.ant-menu-dark .ant-menu-item-selected::after {
  border-right-color: white !important;
}

.custom-green-menu.ant-menu-dark .ant-menu-item:hover,
.custom-green-menu.ant-menu-dark .ant-menu-submenu-title:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: white !important;
}

.custom-green-menu.ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title {
  color: white !important;
}

.custom-green-menu.ant-menu-dark.ant-menu-inline .ant-menu-sub {
  background: rgba(0, 0, 0, 0.2) !important;
}

.custom-green-menu.ant-menu-dark .ant-menu-item,
.custom-green-menu.ant-menu-dark .ant-menu-submenu-title {
  color: rgba(255, 255, 255, 0.9) !important;
}

.custom-green-menu.ant-menu-dark .ant-menu-item-active,
.custom-green-menu.ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title {
  color: white !important;
}

/*start styling for scrollbar menu */
.custom-menu-scrollbar::-webkit-scrollbar {
    width: 8px;
}
.custom-menu-scrollbar::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
    margin: 5px 0;
}
.custom-menu-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1BAA56 0%, rgb(5, 75, 34) 100%);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.custom-menu-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2bc56d 0%, rgb(8, 94, 43) 100%);
}
.custom-menu-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #1BAA56 transparent;
}
/* Hilangkan panah atas/bawah dengan important */
.custom-menu-scrollbar::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
/*end styling for scrollbar menu */