.ant-collapse-content-box {
  padding: 0 !important;
}

.ant-table {
  @apply max-w-[calc(100vw-320px)];
}

.ant-table[data-fullwidth="true"] {
  @apply max-w-[100vw];
}

.table__wrapper .ant-table-row {
  cursor: pointer;
}

.table__title {
  padding: 0 1rem;
  display: flex;
  align-items: baseline;
  margin-bottom: 0;
}

.title__content {
  font-size: 16px;
  font-weight: 600;
  flex-grow: 1;
  display: flex;
  column-gap: 12px;
  align-items: center;
}

.table__badge {
  background-color: rgba(51, 51, 51, 0.05);
}

.ant-table-pagination.ant-pagination {
  @apply !my-2 !mx-3;
}

.ant-table.ant-table-small .ant-table-title,
.ant-table.ant-table-small .ant-table-footer,
.ant-table.ant-table-small .ant-table-thead > tr > th,
.ant-table.ant-table-small .ant-table-tbody > tr > td,
.ant-table.ant-table-small tfoot > tr > th,
.ant-table.ant-table-small tfoot > tr > td {
  padding: 4px;
}

.ant-collapse > .ant-collapse-item > .ant-collapse-header {
  @apply !items-center;
}

.ant-collapse-header-text {
  @apply flex items-center;
}

.ant-table-tbody > tr.ant-table-row-selected > td {
  background-color: transparent !important;
}

.ant-table-tbody > tr:not(.ant-table-placeholder):hover > td {
  @apply !bg-grey-light;
}

.ant-table-tbody > tr.ant-table-row-selected.scroll-row > td {
  @apply !bg-primary-light;
}

.ant-table-tbody > tr.ant-table-row.scroll-row > td {
  @apply !bg-primary-light;
}

.ant-table-tbody > tr.ant-table-row-selected.scroll-row:hover > td {
  @apply !bg-primary-light;
}

.ant-table-tbody > tr.ant-table-row.scroll-row:hover > td {
  @apply !bg-primary-light;
}
