/*table*/
.table-check {
    text-align:center;
    width:100%;
}
.table-check th, .table-check td {
    white-space: nowrap;
    border:1px solid #ddd;
    padding: 5px 10px;
}
.table-check td {
    cursor: pointer;
}
.table-check th:first-child, 
.table-check td:first-child {
    border-left:0;
}
.table-check th:last-child, 
.table-check td:last-child {
    border-right:0;
}


.table-check tbody tr:nth-child(even){
    background-color: rgb(221, 230, 242, .3)
}

.table-check td.center {
    text-align:center;
}
.table-check tbody tr:hover {
    background-color: rgb(221, 230, 242, 1)
}

div.dataTables_wrapper div.dataTables_length .ui.selection.dropdown {
    height: 20px;
}

div.table-header-functions {
    margin-bottom:10px;
}

div.table-footer-functions {
    margin-top:10px;
}

div.table-header-functions > div {
    display:inline-block;
    line-height:32px;
}

div.table-header-functions div.dataTables_length {
    float:right;
}

div.table-header-functions div.dataTables_info {
    margin-left:20px;
    padding:0;
}

div.table-footer-functions div.dataTables_paginate .ui.pagination.menu {
    float:right;
}

div.dataTables_wrapper div.dataTables_processing {
    z-index: 1;
}

div.dataTables_wrapper div.dataTables_processing { 
    color:#000;
}

body.dark .ui.basic.buttons .button, 
body.dark .ui.basic.button ,
body.dark .ui.basic.buttons {
    color:#fff!important;
    border-color:#656768;
}

body.dark .ui.basic.buttons .button:hover, 
body.dark .ui.basic.button:hover {
    color:#fff!important;
    background-color:#4e5052!important;
}

body.dark #datatables_buttons_info {
    background-color:#000;
}


.table-check tbody tr.red {
    background-color: #d01717 !important;
    color:#fff !important;
}
.table-check tbody tr.yellow {
    background-color: #ecc504 !important;
    color:#000 !important;
}

/* QC 허용 범위 이탈 강조 — 정도관리 통계·표시 설정 '범위 이탈 값 표시'(마이그레이션 013).
   환자 목록의 지연 전송 표시(tr.red: 진한 빨강·흰 글씨)와 구분되도록 연한 빨강 바탕 + 진한 빨강 글씨 */
.table-check tbody tr.qc-reject,
.table-check tbody tr.qc-reject:nth-child(even),
.table-check tbody tr.qc-reject td,
.table-check tbody td.qc-reject {
    background-color: #fde8e8 !important;
    color: #b71c1c !important;
}
.table-check tbody td.qc-reject {
    font-weight: bold;
}
