.TopBar.ant-layout-header {
  padding-left: 16px;
  padding-right: 16px;
}
.TopBar > .trigger {
  cursor: pointer;
  font-size: 18px;
  line-height: 64px;
  padding: 0 8px 0 0;
  margin-right: 8px;
  transition: color 0.3s;
}
.TopBar > .trigger:hover {
  color: #1890ff;
}

.TabBar {
  padding: 16px 16px 0 16px;
}
.TabBar .ant-tabs-bar,
.TabBar .ant-tabs-nav {
  margin-bottom: 0;
}
.TabBar .ant-tabs-tab {
  padding: 0 !important;
}
.TabBar .ant-tabs-tab > div {
  padding: 0 16px;
}
.TabBar .ant-tabs-extra-content {
  position: relative;
}
.TabBar .ant-dropdown-trigger:after {
  position: absolute;
  content: '';
  inset: 0;
}
.tab-bar-tab-menu.transform-menu .ant-dropdown-menu {
  transform: translate(10px, 10px);
}
.tab-bar-tab-menu .ant-dropdown-menu-item {
  color: var(--tx-primary);
}
.tab-bar-tab-menu .ant-dropdown-menu-item:hover {
  color: #0a58ca;
}
.tab-bar-tab-menu .ant-dropdown-menu-item.ant-dropdown-menu-item-disabled {
  color: #6c757d;
}

.SelectPage.ant-select .ant-select-selector {
  background-color: transparent;
  border-color: transparent;
  color: white;
}

.LayoutSideBar {
  background: #001529;
}
.LayoutSideBar .side-bar-head {
  padding: 16px;
}
.LayoutSideBar .side-bar-head .logo-text {
  background-color: rgba(255, 255, 255, 0.3);
  line-height: 32px;
  min-height: 32px;
  overflow: hidden;
  white-space: nowrap;
}
.LayoutSideBar .side-bar-foot {
  cursor: pointer;
  bottom: 0;
  color: #ffffff;
  height: 48px;
  line-height: 48px;
  text-align: center;
  transition: all 0.2s;
  z-index: 1;
}
.LayoutSideBar .ant-menu:not(.ant-menu-sub) > .ant-menu-item {
  margin-top: 0;
}
.LayoutSideBar .ant-menu-sub > .ant-menu-item:not(:first-child) {
  margin-top: 0;
}
.LayoutSideBar .ant-menu-sub > .ant-menu-item:not(:last-child) {
  margin-bottom: 0;
}

.layout-app {
  min-height: 100dvh;
}
.layout-app .ant-layout-sider {
  z-index: 10;
}
.layout-app-head {
  background-color: #f0f2f5;
  height: 118px;
  padding: 0;
}
.layout-app-main {
  background-color: #f0f2f5;
  padding: 16px;
}
#body-main {
  height: calc(100dvh - 118px - 16px - 16px);
  overflow: auto;
}

