body { background-color: #f8f9fa; }
.table thead th { white-space: nowrap; }
.truncate { max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Page polish */
.card .badge.text-bg-light.border { border-color: rgba(0,0,0,.15) !important; }

/* Allow full text wrapping in selected cells */
.wrap-cell {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Grid enhancements */
.table-sticky-wrap {
  max-height: 70vh;
  overflow: auto;
  border-radius: 0.5rem;
}

.table-sticky-wrap thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.table.table-enhanced > :not(caption) > * > * {
  padding-top: .6rem;
  padding-bottom: .6rem;
}

.table.table-enhanced tbody tr:nth-of-type(odd) {
  background-color: rgba(0,0,0,.02);
}

.table.table-enhanced tbody tr:hover {
  background-color: rgba(13,110,253,.06);
}

.table.table-enhanced tbody tr.row-selected {
  background-color: rgba(25,135,84,.12) !important;
}

/* Make the header select-all checkbox border black */
.check-input-custom {
    cursor: pointer !important;
}
.check-input-custom input{
    cursor: pointer !important;
}

.form-check-input.select-all-checkbox {
    border-color: #000;
}
.form-check-input.select-all-checkbox:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.12);
}

