﻿<style >
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.back-button:hover {
    background: #667eea;
    color: white;
    transform: translateX(-4px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.dark-mode .back-button {
    background: #1a1a2e;
    border-color: #667eea;
    color: #8ab4f8;
}

    .dark-mode .back-button:hover {
        background: #667eea;
        color: white;
    }

/* ========== 밝은 파란색 → 진한 파란색 그라데이션 ========== */
table#researcherTable thead {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
}

table#researcherTable thead tr th {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%) !important;
    background-color: #3b82f6 !important;
    color: white !important;
    padding: 1rem 0.75rem !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-align: center !important;
    border: none !important;
    white-space: nowrap !important;
}

    table#researcherTable thead tr th:first-child {
        border-top-left-radius: 12px !important;
    }

    table#researcherTable thead tr th:last-child {
        border-top-right-radius: 12px !important;
    }

    table#researcherTable thead tr th.sortable-header {
        cursor: pointer !important;
        transition: all 0.2s ease !important;
    }

        table#researcherTable thead tr th.sortable-header:hover {
            background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%) !important;
            background-color: #2563eb !important;
            transform: translateY(-1px) !important;
        }

table#researcherTable .column-search {
    width: 100% !important;
    margin-top: 0.5rem !important;
    padding: 0.4rem 0.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 6px !important;
    font-size: 0.8rem !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    transition: all 0.2s ease !important;
}

    table#researcherTable .column-search::placeholder {
        color: rgba(255, 255, 255, 0.6) !important;
    }

    table#researcherTable .column-search:focus {
        outline: none !important;
        background: rgba(255, 255, 255, 0.25) !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1) !important;
    }

table#researcherTable .sort-indicator {
    display: inline-block !important;
    margin-left: 0.3rem !important;
    font-size: 0.9rem !important;
    color: #ffd700 !important;
    font-weight: bold !important;
}

/* 테이블 바디 hover 효과 */
table#researcherTable tbody tr:hover {
    background-color: #dbeafe !important;
    transform: scale(1.001) !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1) !important;
}

.dark-mode table#researcherTable tbody tr:hover {
    background-color: #1e3a8a !important;
}

/* 링크 스타일 */
table#researcherTable a {
    color: #1e40af !important;
}

    table#researcherTable a:hover {
        color: #3b82f6 !important;
    }

.dark-mode table#researcherTable a {
    color: #60a5fa !important;
}

    .dark-mode table#researcherTable a:hover {
        color: #93c5fd !important;
    }

/* 정렬 컨트롤 */
.sort-controls {
    background: #eff6ff !important;
}

.dark-mode .sort-controls {
    background: #1e3a8a !important;
}

.current-sorts {
    color: #1e40af !important;
}

.dark-mode .current-sorts {
    color: #60a5fa !important;
}

/* 페이지네이션 */
.pagination a:hover {
    background: #3b82f6 !important;
    color: white !important;
}

.pagination .active {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%) !important;
    color: white !important;
}

/* 네비게이션 탭 */
.nav-link:hover {
    color: #3b82f6 !important;
    background: rgba(59, 130, 246, 0.05) !important;
}

.nav-link.active {
    color: #1e40af !important;
}

    .nav-link.active::after {
        background: linear-gradient(90deg, #3b82f6 0%, #1e40af 100%) !important;
    }

/* ========== 전문적인 테이블 디자인 (네이비 블루 테마) ========== */
/* 테이블 컨테이너 스타일 */
.table-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 1.5rem 0;
}

.dark-mode .table-wrapper {
    background: #1a1a2e;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* 테이블 기본 스타일 */
#researcherTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
}

    /* 테이블 헤더 스타일 - 네이비 블루 그라데이션 */
    #researcherTable thead {
        position: sticky;
        top: 0;
        z-index: 10;
    }

    #researcherTable th {
        padding: 1rem 0.75rem;
        font-weight: 600;
        font-size: 0.85rem;
        color: white;
        text-align: center;
        border: none;
        white-space: nowrap;
        position: relative;
        user-select: none;
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    }

        #researcherTable th:first-child {
            border-top-left-radius: 12px;
        }

        #researcherTable th:last-child {
            border-top-right-radius: 12px;
        }

        /* 정렬 가능한 헤더 호버 효과 */
        #researcherTable th.sortable-header {
            cursor: pointer;
            transition: all 0.2s ease;
        }

            #researcherTable th.sortable-header:hover {
                background: linear-gradient(135deg, #162d59 0%, #1e4280 100%);
                transform: translateY(-1px);
            }

/* 정렬 표시기 스타일 */
.sort-indicator {
    display: inline-block;
    margin-left: 0.3rem;
    font-size: 0.9rem;
    color: #ffd700;
    font-weight: bold;
}

/* 열 검색 입력 필드 */
.column-search {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.4rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transition: all 0.2s ease;
}

    .column-search::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

    .column-search:focus {
        outline: none;
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
    }

/* 테이블 바디 스타일 */
#researcherTable tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

    #researcherTable tbody tr:hover {
        background-color: #f0f7ff;
        transform: scale(1.001);
        box-shadow: 0 2px 8px rgba(30, 60, 114, 0.1);
    }

.dark-mode #researcherTable tbody tr {
    border-bottom-color: #2a2a3e;
}

    .dark-mode #researcherTable tbody tr:hover {
        background-color: #252540;
    }

#researcherTable td {
    padding: 0.9rem 0.75rem;
    font-size: 0.85rem;
    color: #333;
    border: none;
    vertical-align: middle;
}

.dark-mode #researcherTable td {
    color: #e0e0e0;
}

/* 멀티라인 셀 */
.multi-line-cell {
    white-space: normal;
    line-height: 1.6;
}

/* 셀 텍스트 스타일 */
.cell-text {
    display: inline-block;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

/* 정보 아이콘 */
.info-icon {
    cursor: help;
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    background: rgba(30, 60, 114, 0.1);
    border-radius: 50%;
    font-size: 0.75rem;
    color: #1e3c72;
    margin-left: 0.25rem;
    transition: all 0.2s ease;
    vertical-align: middle;
}

    .info-icon:hover {
        background: #1e3c72;
        color: white;
        transform: scale(1.15);
    }

.dark-mode .info-icon {
    background: rgba(66, 133, 244, 0.15);
    color: #4285f4;
}

    .dark-mode .info-icon:hover {
        background: #4285f4;
        color: #1a1a2e;
    }

/* 정렬 컨트롤 영역 */
.sort-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 1rem 0;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.dark-mode .sort-controls {
    background: #16213e;
}

.current-sorts {
    color: #1e3c72;
    font-weight: 600;
    font-size: 0.9rem;
}

.dark-mode .current-sorts {
    color: #4285f4;
}

/* 버튼 스타일 개선 */
.btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-outline-secondary {
    background: white;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

    .btn-outline-secondary:hover {
        background: #6c757d;
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

    .btn-success:hover {
        background: linear-gradient(135deg, #218838 0%, #1aa179 100%);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    }

.dark-mode .btn-outline-secondary {
    background: #1a1a2e;
    color: #b0b0b0;
    border-color: #333;
}

    .dark-mode .btn-outline-secondary:hover {
        background: #2a2a3e;
        color: white;
    }

/* 페이지네이션 스타일 개선 */
.pagination {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

    .pagination a,
    .pagination span {
        padding: 0.6rem 1rem;
        border-radius: 6px;
        text-decoration: none;
        color: #1e3c72;
        background: white;
        border: 1px solid #e0e0e0;
        transition: all 0.2s ease;
        font-weight: 500;
    }

        .pagination a:hover {
            background: #1e3c72;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 2px 8px rgba(30, 60, 114, 0.3);
        }

    .pagination .active {
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        color: white;
        border-color: transparent;
    }

.dark-mode .pagination a,
.dark-mode .pagination span {
    background: #1a1a2e;
    color: #4285f4;
    border-color: #333;
}

    .dark-mode .pagination a:hover {
        background: #1e3c72;
        color: white;
    }

/* 네비게이션 탭 스타일 개선 */
.nav-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 1.5rem 0;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0;
    overflow: hidden;
}

.dark-mode .nav-tabs {
    border-bottom-color: #333;
}

.nav-link {
    padding: 0.8rem 1.5rem;
    border-radius: 8px 8px 0 0;
    text-decoration: none;
    color: #6c757d;
    background: transparent;
    border: none;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

    .nav-link:hover {
        color: #1e3c72;
        background: rgba(30, 60, 114, 0.05);
    }

    .nav-link.active {
        color: #1e3c72;
        background: white;
        font-weight: 600;
    }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%);
        }

.dark-mode .nav-link {
    color: #b0b0b0;
}

    .dark-mode .nav-link:hover {
        color: #4285f4;
        background: rgba(66, 133, 244, 0.1);
    }

    .dark-mode .nav-link.active {
        color: #4285f4;
        background: #1a1a2e;
    }

/* 링크 스타일 */
#researcherTable a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

    #researcherTable a:hover {
        color: #2a5298;
        text-decoration: underline;
    }

.dark-mode #researcherTable a {
    color: #4285f4;
}

    .dark-mode #researcherTable a:hover {
        color: #6c9ed6;
    }

/* 반응형 디자인 */
@@media (max-width: 768px) {
    #researcherTable {
        font-size: 0.8rem;
    }

        #researcherTable th,
        #researcherTable td {
            padding: 0.6rem 0.4rem;
        }

    .sort-controls {
        font-size: 0.8rem;
    }

    .btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
}

</style >
