#root {
    height: 100%;
}

td > a {
    text-shadow: 0 0 5px white;
}

.sortable-table-header {
    user-select: none;
    cursor: pointer;
}

.selectable-table-row {
    user-select: none;
}

.btn-group > .btn:not(:last-of-type) {
    margin-right: 2px;
}

.table.table-sticky-header {
    border-spacing: 0;
    border-collapse: separate;
}

.table.table-sticky-header > thead {
    background-color: white;
    position: sticky;
    top: 0;
}

/* Bootstrap 5.3 paints an opaque background on the cells (--bs-table-bg defaults to
   var(--bs-body-bg), where 5.2 used transparent), so a background-color on the row is
   covered up. Set the variable the cells read instead. Striping and hover are
   semi-transparent box-shadows layered on top of it and keep working. */
.table > tbody > tr.active {
    --bs-table-bg: skyblue;
}

.table > tbody > tr.marked {
    --bs-table-bg: lightcoral;
}

.table > tbody > tr.marked.active {
    --bs-table-bg: indianred;
}

.table > tbody > tr.marked.active > * {
    color: #fff;
}
