/* ========================================
   검사항목 조회 페이지
   ======================================== */

.tests-section {
    background: #fff;
    padding: 48px 0 96px;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}
.tests-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 60px;
    background: #fff;
    border-radius: 30px 30px 0 0;
}
.tests-section .container { position: relative; z-index: 1; }

/* ===== 카테고리 탭 ===== */
.tl-tabs {
    display: flex;
    gap: 30px;
    padding: 14px 0 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.tl-tab {
    border: none;
    background: none;
    padding: 4px 0;
    font-size: 1rem;
    font-weight: 500;
    color: #b4a898;
    cursor: pointer;
    transition: color 0.2s;
}
.tl-tab:hover { color: #333; }
.tl-tab.active {
    color: #1a1a1a;
    font-weight: 800;
}

/* ===== 테이블 ===== */
.tl-table-wrap {
    overflow-x: auto;
}
.tl-table {
    width: 100%;
    border-collapse: collapse;
}
.tl-table thead tr {
    border-bottom: 1px solid #e8e5dd;
}
.tl-table th {
    padding: 18px 24px;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 700;
    color: #888;
    background: transparent;
}
.tl-table th.tl-col-price { text-align: left; }

.tl-table tbody tr {
    border-bottom: 1px solid #f0ede5;
    transition: background 0.15s;
}
.tl-table tbody tr:hover {
    background: #faf8f3;
}
.tl-table td {
    padding: 22px 24px;
    font-size: 0.92rem;
    color: #333;
    vertical-align: middle;
}
.tl-name {
    font-weight: 700;
    color: #1a1a1a;
}
.tl-desc { color: #666; }
.tl-price {
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.3px;
}
.tl-note { color: #888; font-size: 0.88rem; }

/* ===== 비급여 안내 버튼 ===== */
.tl-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 28px;
}
.tl-noncovered-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border: 1.5px solid #c8102e;
    color: #c8102e;
    background: #fff;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}
.tl-noncovered-btn:hover {
    background: #c8102e;
    color: #fff;
}

/* 빈 상태 */
.tl-empty {
    text-align: center;
    padding: 80px 0;
    color: #999;
}
.tl-empty i {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}

/* ===== 반응형 ===== */
@media (max-width: 767px) {
    .tl-tabs { gap: 18px; }
    .tl-tab { font-size: 0.92rem; }
    .tl-table th, .tl-table td { padding: 14px 12px; font-size: 0.85rem; }
    .tl-desc, .tl-note { font-size: 0.78rem; }
}
