.scroll-table-container:not(.auto_height) {
  height: calc(100vh - 390px);
  /* Adjust height as needed */
  overflow: auto;
}

.scroll-table-container .table-bordered > thead > * {
  border-width: 0;
}

.table:not(.table-borderless):not(.dataTable) thead th {
  border-block-start-width: 0;
}

.scroll-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

[data-bs-theme="light"] .sticky-bg {
  background-color: #fff;
}

/* Target dark theme */
[data-bs-theme="dark"] .sticky-bg {
  background-color: #2f3248;
}

.scroll-table thead,
.scroll-table tfoot {
  position: sticky;
  background-color: var(--bs-light) !important;
  color: var(--bs-body-color) !important;
  z-index: 4;
}

.scroll-table thead th,
.scroll-table thead td,
.scroll-table tfoot th,
.scroll-table tfoot td {
  background-color: var(--bs-light) !important;
  color: var(--bs-body-color) !important;
  border-bottom-width: 0;
}

.scroll-table thead {
  top: 0;
}

.scroll-table tfoot {
  bottom: 0;
}

.sortable_heading {
  cursor: pointer;
}

.sortable_heading.sorted_heading {
  font-weight: bold;
}

.table_sorting_icon {
  /* position: absolute; */
  right: 10px;
  padding: 1px 5px;
  opacity: 0.2;
  width: 26px;
  display: inline-block;
}

.sortable_heading:hover .table_sorting_icon {
  opacity: 1;
}

.table th .form-check {
  font-size: initial !important;
}

table tr .action_cell {
  min-width: 100px;
}

table tr .action_cell .action_element:not(:last-child) {
  margin-right: 10px;
}

/* table.table-bordered tbody th,
table.table-bordered tbody td {
  border-width: 1px !important;
} */

.pagination_wrapper {
  padding: 10px 10px 10px 0;
}

.pagination_wrapper ul.pagination {
  margin: 0;
}

table.table td:not(.ignore-min-width),
table.table th:not(.ignore-min-width) {
  width: 50px;
  white-space: nowrap;
}

.table.table-sm thead tr th {
  padding-block: 10px;
}

.table th:not(.sticky-col)) {
  position: relative;
}

.help-support .form-text {
  min-height: 1.118rem !important;
}

textarea.form-control.autosize[rows="1"] {
  min-block-size: 1rem !important;
}
