.data-layout {
  display: flex;
  gap: 20px;
  padding-top: 20px;
  height: 100%;
  box-sizing: border-box;
  &.collapsed {
    .data-layout-sidebar {
      width: auto;
    }
  }

  &-sidebar {
    display: flex;
    flex-direction: column;
    width: 240px;
    background-color: #fff;
    border-radius: 20px;
    &-header {
      color: var(--main-color);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 24px;
      border-bottom: 1px solid #f0f0f0;
      height: 56px;
      span {
        cursor: pointer;
      }
    }

    &-nav {
      flex: 1;
      padding: 10px 14px;
      overflow-x: hidden;
      overflow-y: auto;
      .ant-menu-css-var {
        --ant-menu-collapsed-width: 44px;
        --ant-menu-active-bar-border-width: 0;
        --ant-menu-sub-menu-item-bg: transparent;
      }
      .ant-menu-item-icon {
        width: 18px;
        height: 18px;
      }
      .ant-menu-item,
      .ant-menu-submenu-title {
        padding-left: 10px !important;
      }
      .ant-menu-sub.ant-menu-inline {
        width: auto;
        margin-left: 23px;
        border-left: 1px solid #f0f0f0;
        .ant-menu-item {
          padding-left: 14px !important;
        }
      }
    }
  }
  &-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
  }
}
