.TableLiveDBHolder {
    position: relative;
    clear: both;
    zoom: 1;
    display: flex;
    flex-direction: column;
}

.TableLiveDB {
    border: none;
    text-align: left;
    font-size: inherit;
    border-collapse: collapse;
    width: 100%;
    overflow: auto;
    white-space: nowrap;
    background-color: var(--second-color-lightest);
    display: table;
    line-height: 2em;
}

.TableLiveDB thead {
    background: var(--second-color-lightest);
    background-color: var(--second-color-lightest);
    top: 0;
    position: sticky;
}
.TableLiveDB thead tr {
    background: var(--second-color-lightest);
    background-color: var(--second-color-lightest);
}

.TableLiveDB th,
.TableLiveDB td {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.TableLiveDB th .sizeableDiv {
    background: var(--second-color-lightest);
    background-color: var(--second-color-lightest);
    resize: horizontal;
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.TableLiveDB th .sizeableDivRestricted {
    resize:none !important;
}

.TableLiveDB td div {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
}

.TableLiveDB tbody tr {
    cursor: pointer;
}

.TableLiveDB .selectedRow td {
    background-color: var(--color-active) !important;
    color: white;
}

.tableLiveDBTableContainer {
    overflow: auto;
    max-height: 50vh;
}

.TableLiveDBHolder .settingDiv {
    float: right;
    display: flex;
    gap: 1em;
}

.TableLiveDBHolder .filterDiv {
    float: left;
    display: flex;
    gap: 1em;
}

.TableLiveDB tbody tr:nth-child(odd) {
    background-color: var(--second-color-light);
}

.TableLiveDBLineDisabled {
    /* background-color: var(--cockpit-gray) !important; */
    color: var(--color-active);
}

.tableLimitWidth {
    max-width: 50vmin;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fixedTBColEnd{
    position: sticky;
    right: 0;
    z-index: 1;
    background-color: #fff;
    border-left: 1px solid #ddd; /* Optional: for visual separation */
    width: -webkit-fill-available !important;
}

.fixedTBColEndCCF{
    position: sticky;
    right: 0;
    z-index: 1;
    background-color: #ddd;
    border-left: 1px solid #ddd; /* Optional: for visual separation */
    width: -webkit-fill-available !important;
}

.tableLiveDBFooter {
    text-align: left;
    opacity: 0.5;
    font-size: 0.8em;
    /* display: ruby; */
    gap: 2em;
}

.tableLiveDBFooter div {
    margin-left: 0.5em;
}

#TableLiveDBFilterWindow {
    width: 60vw;
    position: absolute;
    left: 50vw;
    top: 30vh;
    transform: translate(-50%, -50%);
}

#TableLiveDBFilterWindow table {
    display: inline-table;
    text-align: left;
    border-collapse: separate;
    border-spacing: 3em 0;
}

#TableLiveDBFilterWindow table select {
    /* padding-left: 0.5em; */
    padding-right: 0.5em;
    cursor: pointer;
    border: none;
}

#TableLiveDBFilterWindow table input {
    margin-top: 0.15em;
    width: 98% !important;
    padding-left: 0.2em;
    padding-right: 0.2em;
}

#TableLiveDBFilterWindow .promptWindowButtonHolder {
    display: flex;
    margin-top: 1em;
}