.table-scroll table {
  width: max-content !important;
  min-width: 0 !important;
  table-layout: auto !important;
}

.table-scroll th[data-mo-auto-fit="true"],
.table-scroll td[data-mo-auto-fit="true"] {
  width: var(--mo-auto-column-width) !important;
  min-width: var(--mo-auto-column-width) !important;
  max-width: var(--mo-auto-column-width) !important;
  box-sizing: border-box !important;
}

.table-scroll td[data-mo-auto-fit="true"] > *,
.table-scroll td[data-mo-auto-fit="true"] .cell-input,
.table-scroll td[data-mo-auto-fit="true"] .cell-select,
.table-scroll td[data-mo-auto-fit="true"] .edited-by-cell,
.table-scroll td[data-mo-auto-fit="true"] .countdown-timer-cell,
.table-scroll td[data-mo-auto-fit="true"] .checkbox-datetime-cell,
.table-scroll td[data-mo-auto-fit="true"] .link-cell {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.table-scroll td[data-mo-auto-fit="true"] .cell-input,
.table-scroll td[data-mo-auto-fit="true"] .cell-select,
.table-scroll td[data-mo-auto-fit="true"] .edited-by-cell,
.table-scroll td[data-mo-auto-fit="true"] .countdown-timer-cell {
  width: 100% !important;
  min-width: 0 !important;
}

.table-scroll td[data-mo-auto-fit="true"] .edited-by-cell,
.table-scroll td[data-mo-auto-fit="true"] .countdown-text,
.table-scroll td[data-mo-auto-fit="true"] .countdown-live {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.table-scroll th.row-number,
.table-scroll td:first-child {
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
}

.table-scroll th.row-actions-column,
.table-scroll td.row-actions-column {
  width: 62px !important;
  min-width: 62px !important;
  max-width: 62px !important;
}
