/* antd ui调整 */
.ant-card-title-reset {
  & .ant-card-head-title {
    font-size: 20px !important;
    font-weight: normal !important;
  }
}

.ant-table-thead th {
  text-align: center !important;
}

.ant-table-cell {
  overflow-wrap: anywhere !important;
}

.ant-layout-content {
  overflow: auto;
}

/* .ant-menu-title-content,
.ant-menu-submenu .ant-menu-item-icon,
.ant-menu-item .ant-menu-item-icon {
  font-size: 16px !important;
} */

.ant-menu-item,
.ant-menu-submenu-title {
  width: 100% !important;
  margin: 4px 0 !important;
  border-radius: unset !important;
}

.ant-menu-item-selected {
  position: relative;

  &::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    content: '';
    background: var(--primary-color);
  }
}

.table-wrapper .ant-pagination-total-text {
  margin-right: auto;
}

.ant-tabs-tab {
  padding: 8px 16px !important;
  margin-left: 0 !important;
}

.ant-tabs-tabpane {
  position: absolute;
  top: 0;
  left: 0;
  display: block !important;
  width: 100%;
  height: 100%;
  background-color: #fff;
}

.ant-tabs-tabpane-hidden {
  z-index: -1;
}

.ant-tabs-tabpane-active {
  z-index: 999;
}

/** antd ui增加 */
.ant-text-btn-color-primary {
  color: var(--primary-color) !important;

  &:hover {
    background-color: #ebfafd !important;
  }

  &:disabled {
    color: rgb(0 0 0 / 25%) !important;
    cursor: not-allowed;

    &:hover {
      background-color: transparent !important;
    }
  }
}

.ant-text-btn-color-cyan {
  color: #13c2c2 !important;

  &:hover {
    background-color: #e1f5f6 !important;
  }
}

.ant-text-btn-color-yellow {
  color: #ff7500 !important;

  &:hover {
    background-color: #fdf0e4 !important;
  }
}

.ant-btn-color-green {
  color: white !important;
  background-color: #0aa344;
  border-color: #0aa344;

  &:hover {
    background-color: #4dbe6b !important;
    border-color: #4dbe6b !important;
  }
}
