﻿body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    background-color: #ffffff;
    margin: 0;
/*    padding: 20px;*/
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.sub-title-notop {
    margin: 100px 0px 50px;
    font-size: 30px;
    text-align: center;
}
/* 상단 타이틀 */
.page-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
    position: relative;
}

    .page-title::after {
        content: '';
        display: block;
        width: 30px;
        height: 2px;
        background-color: #333;
        margin: 15px auto 0;
    }

/**/
.page-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
/*.page-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}*/
/*.table-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}*/
/* 검색 영역 */
/**/
.search-area {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 20px;
    background: #f3f4f5;
    border-radius: 20px;
    box-sizing: border-box;
    margin-bottom: 20px;
}
/*.search-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}*/
/**/
#txt-keyword {
    flex: 1;
    position: relative;
    font-size: clamp(14px, 1vw, 16px);
}
    #txt-keyword::placeholder {
        font-size: 15px;
        color: #999;
    }
/*#search-input input {
    width: 100%;
    height: 44px;
}*/
/**/
/**/
#btn-search {
    width: 100px;
    height: 38px;
    display: flex;
    align-items: center; /* 세로 가운데 */
    justify-content: center; /* 가로 가운데 */

    gap: 6px;
    border: 1px solid #0370c5;
    background: #0370c5;
    color: white;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
}

    #btn-search:hover {
        background: #025aa1;
        border-color: #025aa1;
    }

/**/
.table-wrapper {
    height: calc(100vh - 390px);
    overflow-y: auto;
    border-bottom: 1px solid #ddd;
}
/*.table-wrapper {
    flex: 1;
    overflow-y: auto;
}*/
/**/
.lab-table {
    width: 100%;
}



.search-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-label {
    font-weight: 600;
    font-size: 15px;
}

.search-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;    
    min-width: 200px;
    color: #555;
}
/**/
.search-select,
.search-select option {
    font-size: clamp(15px, 1vw, 16px);
    font-family: "Noto Sans KR", sans-serif;
}

/*#search-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    font-size: 14px;
    width: 200px;
}*/

/**/
/*.table-wrapper {
    height: calc(100vh - 260px);
    overflow-y: auto;
    border-bottom: 1px solid #ddd;
}*/
/*.table-wrapper {
    max-height: 400px; 
    overflow-y: auto;
    border-bottom: 1px solid #ddd;
}*/

/* 스크롤바 디자인 커스텀 (선택 사항 - 크롬, 엣지 등 Webkit 기반 브라우저용) */
.table-wrapper::-webkit-scrollbar {
    width: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* 테이블 영역 */
.list-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 14px;
    table-layout: fixed; /* 추가: 지정한 컬럼 너비를 엄격하게 고정 */
    border-bottom: 1px solid #eee;
    /*border-bottom: 2px solid #333;*/ /* 헤더의 굵은 선과 맞춤 */
}

    .list-table th, .list-table td {
        padding: 8px 10px;
        /*        padding: 15px 10px;*/
        font-size: 14px;
    }

    .list-table th {
        position: sticky; /* 스크롤 시 상단에 고정 */
        top: 0; /* 고정될 위치 (최상단) */
        z-index: 10; /* 스크롤되는 데이터보다 위쪽에 표시되도록 설정 */

        /* 아래는 기존에 있던 스타일 유지 */
        border-top: 2px solid #333;
        border-bottom: 1px solid #ddd;
        font-weight: bold;
        color: #333;
        background-color: #fafafa; /* 배경색이 있어야 스크롤 시 글자가 겹쳐 보이지 않음 */
        padding: 15px 10px;
    }

    .list-table td {
        border-bottom: 1px solid #eee;
        color: #555;
    }

.list-body tr {
    cursor: pointer;
    transition: background-color 0.15s;
    height: 40px;
}

.list-body tr:hover {
    background-color: #f4fbf8; /* 마우스 오버 시 연한 녹색 배경 */
}

.list-body tr:active {
    background: #e6f2ff;
}

#noDataRow {
    height: 38px;
}

/* 2. 데이터 없음 메시지 스타일 */
.no-data-message {
    text-align: center !important;
    padding: 40px 10px !important; /* 위아래 여백을 넉넉히 주어 중앙에 오도록 */
    color: #666;
    background-color: #fff;
    border-bottom: none !important; /* 마지막 행이므로 개별 밑줄 제거 */
}

.text-left {
    text-align: left !important;
}

.code-text {
    color: #666;
}





.labkind-in {
    overflow: hidden;
}

.labkind-btn {
    margin-top: 10px;
    width: calc(100% - 360px);
    float: left;
}

/*.labkind-btn a {
    margin-right: 5px;
    padding: 0 5px;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0;
    font-weight: 500;
    color: #444;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    position: relative;
}*/

.labpart {
    margin-right: 5px;
    padding: 0 5px;
    font-size: 15px !important;
    line-height: 1;
    letter-spacing: 0;
    font-weight: 500;
    color: #444;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    position: relative;
    border: none;
}

/*.labkind-btn a:first-of-type {
    padding-left: 0;
}*/

.labkind-btn button:first-of-type {
    padding-left: 0;
}

/*.labkind-separator {
    position: absolute;
    top: 0;
}*/

/*.labkind-btn a:after {
    font-size: 13px;
    content: "|";
    color: #444;
    position: absolute;
    right: -5px;
    top: 0;
}*/

.labkind-btn button:after {
    font-size: 13px;
    content: "|";
    color: #444;
    position: absolute;
    right: -5px;
    top: 0;
}

.labkind-btn {
/*    margin-top: 15px;*/
}

/*.labkind-btn a.all {
    color: #006fc4;
}*/
.labkind-btn button.all {
    color: #006fc4;
}

/*.labkind-btn a:hover {
    color: #006fc4;
}*/

.labkind-btn button:hover {
    color: #006fc4;
}

.labsearch {
    height: 35px !important;
/*    background-color: yellow;*/
}

.input-group {   
    margin-top: 0.5rem;
    margin-left: 74px
/*    margin-left: 75px;*/
}

.labsearch {    
    
}
.labsearch {
    vertical-align: central;
/*    display: inline-block;*/
}

.lablist {
/*    margin-top: 8px;*/
}

#labiteminfo-Container {
/*    margin-left: 30px;
    margin-right: 30px;*/
}

.labitem-tolist {
    text-align: center;
}
