/* DataTable search container styling */
div.dt-search {
  float: left !important;
  text-align: left !important;
  background: #f5edde;
  position: relative;
  padding: 15px;
  width: 100% !important;
}

div.dt-search input {
  height: 40px !important;
  border: 0 !important;
  background: #FFF !important;
  width: calc(100% - 60px) !important;
  display: inline-block;
  margin-left: 0;
}

/* Search icon styling within DataTable search */
div.dt-search i.fa-search {
  position: absolute;
  right: 15px;
  top: 20px;
  font-size: 25px;
}

/* DataTable layout adjustments */
.datatables.ui-tabs-panel table {
  width: 100% !important;
}

/* Flex table adjustments */
.table-flex table.dataTable.no-footer {
  border-bottom: none;
}

.table-flex .table > thead {
  display: none;
}

.table-flex .table > tbody {
  border-top: none;
  border-bottom: none;
  display: flex;
  flex-wrap: wrap;
}

.table-flex .table td {
  border-bottom: none;
}

/* Hover effect styling for flex table */
.table-flex .table-hover tbody tr:hover {
  background: none !important;
}

/* Mark element styling */
.mark, mark {
  padding: 0;
}

/* Responsive flex layout adjustments for large screens */
@media (min-width: 992px) {
  .table-flex .table tr {
    flex: 0 0 auto;
    width: 33.333%;
  }

  .table-flex .table tr:nth-child(3n) td {
    padding-right: 0;
  }

  .table-flex .table tr:nth-child(3n+1) td {
    padding-left: 0;
  }
}
