table.result.tickets {
    td:first-child, td:last-child { text-align: center; }
    td:not(:last-child) { cursor: pointer; }
}

.status {
    font-size: 10pt;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    pointer-events: none;
}
.status-0 { background-color: #dee2e6 !important; border-color: #dee2e6; }
.status-1 { background-color: #f8d7da !important; border-color: #f8d7da; }
.status-2 { background-color: #fff3cd !important; border-color: #fff3cd; }
.status-3 { background-color: #e2d9f3 !important; border-color: #e2d9f3; }
.status-4 { background-color: #cfe2ff !important; border-color: #cfe2ff; }
.status-5 { background-color: #d1e7dd !important; border-color: #d1e7dd; }

#add-supply {
    font-size: 10pt;
    padding: 0.375rem 0.625rem;
}
#add-supply:disabled {
    background-color: #717171;
    border-color: #717171;
}
.supply-list label, .supply-list input, .supply-list select, .supply-list button, .supply-list a { font-size: 0.8rem !important; }
.supply-list a { color: #0d6efd; }
.supply-list .form-label { width: unset; }
.supply-list { border: none !important; }
.supply-list th { border: none !important; padding: 0 0.25rem; font-size: 0.8rem !important; }
.supply-list td { border: none !important; padding: 0 0.25rem; }

.supply-file.disabled {
    background-color: #e9ecef;
    border-color: #e9ecef;
    cursor: default;
    pointer-events: none;
    input, label, i {
        cursor: default;
        pointer-events: none;
        opacity: 0.5; 
    }
}

.fa-check, .fa-xmark:not(.delete-supply-file) { pointer-events: none; }

#save-ticket[data-mode='draft'] { min-width: 197px; }
#add-ticket, #save-ticket, #confirm-ticket, #return-ticket { min-width: 135px; }
#delete-ticket[data-mode='author-view'], #delete-ticket[data-mode='moderator-view'] { min-width: 102px; }
#send-ticket { min-width: 248px; }

#limit-error td {
    text-align: center;
    font-size: 0.8rem;
    color: #dc3545 !important;
}

.label-file {
    text-wrap: nowrap;
    opacity: 0.75;
}

.label-file:hover, .label-file:focus {
    cursor: pointer;
    transition: 0.5s;
}

.has-file {
    color: #008800;
    border-color: #008800;
}

#stat-table { position: relative; }
#stat-table table { font-size: 0.8rem; border-collapse: separate; border-spacing: 0; }
#stat-table table tr .plan-count { text-align: center; }
#stat-table table tr .fact-count { border-right-width: 2px; text-align: center; }
#stat-table table tr.expense td { background-color: #eeffee; font-style: italic; font-weight: bold; }
#stat-table table tr.work-type td { background-color: #fffeea; font-weight: bold; }
#stat-table table tr.work-type td:first-child { padding-left: 1.25rem; }
#stat-table table tr.material td:first-child { padding-left: 2rem; }

#stat-table th.sticky-col, #stat-table td:nth-child(1), #stat-table td:nth-child(2), #stat-table td:nth-child(3), #stat-table td:nth-child(4), #stat-table td:nth-child(5), #stat-table td:nth-child(6) {
  position: sticky;
  background: white;
  z-index: 1;
}

#stat-table th.sticky-col:nth-child(1), #stat-table td:nth-child(1) { left: 0px; }
#stat-table th.sticky-col:nth-child(2), #stat-table td:nth-child(2) { left: 240px; }
#stat-table th.sticky-col:nth-child(3), #stat-table td:nth-child(3) { left: 300px; }
#stat-table th.sticky-col:nth-child(4), #stat-table td:nth-child(4) { left: 380px; }
#stat-table th.sticky-col:nth-child(5), #stat-table td:nth-child(5) { left: 460px; }
#stat-table th.sticky-col:nth-child(6), #stat-table td:nth-child(6) { left: 540px; border-right-width: 2px; }

.doubleScroll-scroll-wrapper.active_scroll {
    position: fixed;
    top: 76px;
    z-index: 5;
}