/* Small additions on top of AdminLTE 2, replacing what its jQuery plugins did. */

/* AdminLTE sets this height from JavaScript; do it in CSS instead. */
.content-wrapper {
  min-height: calc(100vh - 101px);
}

/* Buttons that submit forms but should look like the original links. */
.btn-link-plain {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
}

/* Replaces the old printDiv() helper: print only the #printable block. */
@media print {
  body * {
    visibility: hidden;
  }
  #printable,
  #printable * {
    visibility: visible;
  }
  #printable {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
}

/* Table tools that stand in for the DataTables jQuery plugin. */
.dt-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.dt-toolbar .dataTables_filter input {
  margin-left: 6px;
  display: inline-block;
  width: auto;
}
.dt-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.dt-footer .pagination {
  margin: 0;
}
