/* Custom styles for Simple Datatables Integration */
.simple-datatables {
  /* Add your custom styles here */
  border: 1px solid #ddd;
  width: 100%;
  margin: 20px 0;
}

.simple-datatables th {
  background-color: #f9f9f9;
  font-weight: bold;
}

.simple-datatables td {
  padding: 8px;
  text-align: left;
}

/* Styles for the paginator */
.datatable-pagination {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.datatable-pagination-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.datatable-pagination-list-item {
  margin: 0 5px;
}

.datatable-pagination-list-item-link {
  background: none;
  border: none;
  color: #272727;
  cursor: pointer;
  text-decoration: none;
  padding: 5px 10px;
}

.datatable-pagination-list-item-link:hover {
  text-decoration: underline;
}

.datatable-pagination-list-item.datatable-active .datatable-pagination-list-item-link {
  font-weight: bold;
  cursor: default;
}

.datatable-pagination-list-item.datatable-disabled .datatable-pagination-list-item-link {
  color: #6c757d;
  cursor: not-allowed;
}

/* Styles for sortable table headers */
.simple-datatables th button {
  background: none;
  border: none;
  color: #272727;
  cursor: pointer;
  text-decoration: none;
  padding: 5px 10px;
  position: relative;
  font-weight: 400;
}

.simple-datatables th button:before {
  content: '\f0dc'; /* Font Awesome icon for sortable */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
}

.simple-datatables th button:hover {
  text-decoration: underline;
}

/* Styles for the table header */
.datatable-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.datatable-dropdown {
  order: 2;
}

.datatable-search {
  order: 1;
}
