.toolbar-wrapper {
  align-items: center;
  align-self: stretch;
  background-color: #f7f8fc;
  border: 1px solid #d3dae6 !important;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  height: 34px;
  padding: 6px 10px 6px 6px;
  .toolbar-wrapper--left {
    align-items: center;
    align-self: stretch;
    display: flex;
    font-size: 12px;
    gap: 16px;
  }
  .toolbar-wrapper--right {
    align-items: center;
    align-self: stretch;
    display: flex;
    font-size: 12px;
    gap: 16px;
  }
}

.columnVisiblityButton {
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.p0 {
  padding: 0 !important;
}

.smart-cmc-table {
  .ant-table {
    border: none;
  }

  .ant-table-small .ant-table-thead > tr > th {
    padding: 6px !important;
    font-size: 12px;
    background-color: var(--core-lightest-shade, #f1f4fa) !important;
    border-bottom: 1px solid #d3dae6 !important;
    border-top: 1px solid #d3dae6 !important;
  }

  .ant-table-tbody > tr > td {
    height: 40px;
    font-size: 12px;
    padding: 4px !important;
  }

  tr td:first-child {
    padding-left: 8px !important;
    border-left: 1px solid #d3dae6 !important;
  }

  tr th:first-child {
    border-left: 1px solid #d3dae6 !important;
  }

  tr td:last-child {
    border-right: 1px solid #d3dae6 !important;
  }

  tr th:last-child {
    border-right: 1px solid #d3dae6 !important;
  }

  tr:first-child > *:first-child {
    border-start-start-radius: 0 !important;
  }

  tr:first-child > *:last-child {
    border-start-end-radius: 0 !important;
  }

  thead th {
    border-right: 1px solid #d3dae6 !important;
  }
  .ant-btn-icon-only {
    width: 24px;
    height: 24px;
    padding: 2.4px 0;
    font-size: 12px;
    border-radius: 2px;
    vertical-align: -3px;
  }
}

.sortColumnsDivider {
  margin-left: -12px;
  margin-right: -12px;
  width: calc(100% + 24px);
}

.dragAndDrop {
  transform: rotate(90deg) scaleY(2);
  padding: 8px;
}

.wrap-columns .ant-table-thead th {
  white-space: nowrap; /* Don't wrap text */
}

.smartTable__checkbox--wrapper {
  height: 250px;
  overflow-y: scroll;
  gap: 8px;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
