/* PC-Flex Custom Styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
}

/* Tabellensortierung */
th.sortable {
    position: relative;
    user-select: none;
}
th.sortable::after {
    content: ' \2195';
    opacity: 0.3;
    font-size: 0.8em;
}
th.sortable.sort-asc::after {
    content: ' \2191';
    opacity: 0.8;
}
th.sortable.sort-desc::after {
    content: ' \2193';
    opacity: 0.8;
}
th.sortable:hover {
    background-color: rgba(255, 255, 255, 0.03);
}
thead:not(.table-dark) th.sortable:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* CFR Strukturansicht */
.cfr-struct-rechnung > .card-header {
    background-color: #f8f9fa;
}
.cfr-struct-rechnung .card .card-header[data-bs-toggle="collapse"]:hover {
    background-color: #e9ecef;
}
#cfr-view-toggle .btn.active {
    background-color: #6c757d;
    color: #fff;
    border-color: #6c757d;
}
