﻿.progress span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

#libraryFilesPanel tbody tr:last-child td, #libraryFilesPanel tbody tr:last-child th {
    border: none;
}

html[data-bs-theme="light"] #libraryFilesPanel thead th:not(:last-child) {
    border-right: 1px solid #dee2e6;
}

html[data-bs-theme="dark"] #libraryFilesPanel thead th:not(:last-child) {
    border-right: 1px solid #495057;
}

#libraryFileListPanel {
    height: calc(100vh - 416px);
}

#libraryLiveViewPanel {
    height: calc(100vh - 177px);
    flex: 1;
    padding-right: 16px;
}

#libraryFileListPanel, #libraryLiveViewPanel {
    overflow-y: auto;
    overflow-x: hidden;
}

#libraryFilesPanel th, #libraryFilesPanel td {
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

#libraryModal .custom-modal-content {
    margin: 40px;
    max-height: calc(100% - 80px);
    overflow-y: auto;
    width: 100%;
}

.report-heading {
    color: #499787;
}

.specBody {
    padding: 8px 12px;
    border-left: 1px solid;
    border-bottom: 1px solid;
    border-end-start-radius: 12px;
    margin-top: 16px;
}

html[data-bs-theme="light"] #libraryFileListPanel td {
}

html[data-bs-theme="light"] .specBody {
    border-color: #adb5bd;
    background: #eff2f5;
}

html[data-bs-theme="dark"] .specBody {
    border-color: #343a40;
    background: #1a1d20;
}

.status-span {
    padding: 1px 3px;
    border-radius: 4px;
}

.status-ok {
    background: green;
}

.status-bad {
    background: red;
}

html[data-bs-theme="light"] .status-ok, html[data-bs-theme="light"] .status-bad {
    color: white;
}

html[data-bs-theme="dark"] .status-ok, html[data-bs-theme="dark"] .status-bad {
    color: black;
}

tr.file-in-edit th, tr.file-in-edit td {
    background: rgba(70, 155, 70, 0.5);
}

tr.file-in-edit-other-session th, tr.file-in-edit-other-session td {
    background: rgba(68, 91, 151, 0.5);
}