/* ========================================================
   Tabulator 디자인 시스템 (공통 스타일)
   ======================================================== */
.tabulator {
    border: none !important;
    background-color: transparent !important;
    font-size: 0.9rem;
    font-family: 'Pretendard', sans-serif;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.tabulator .tabulator-header {
    background-color: #f8fafc !important; 
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 2px solid #eef2ff !important;
    color: #475569 !important;
    font-weight: 700 !important;
}

.tabulator .tabulator-col {
    background-color: #f8fafc !important;
    padding: 8px 0 !important;
}


.tabulator .tabulator-row {
    border-bottom: 1px solid #f1f5f9 !important;
    background-color: #ffffff !important;
    min-height: 40px !important;
    display: flex;
    align-items: center;
}


.tabulator .tabulator-row:hover {
    background-color: #f8fafc !important;
    cursor: pointer;
}


.tabulator .tabulator-footer {
    background-color: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    padding: 5px !important;
    color: #64748b !important;
}

.tabulator .tabulator-page {
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 5px 12px !important;
    margin: 0 2px !important;
    background: #fff !important;
    color: #64748b !important;
    transition: all 0.2s;
}

.tabulator .tabulator-page.active {
    background-color: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
    font-weight: 700;
}

.tabulator .tabulator-page:not(.active):hover {
    background-color: #f1f5f9 !important;
    color: var(--primary-color) !important;
}

/* 1. 헤더 전체 높이 및 패딩 조절 */
.tabulator .tabulator-header .tabulator-col {
    padding: 6px 0 !important; /* 위아래 패딩을 줄여서 높이 감소 (기존 8px -> 4px) */
    background-color: #f8fafc !important;
    border-right: 1px solid #dedede;
}

/* 2. 헤더 내부 텍스트 높이 조절 */
.tabulator .tabulator-header .tabulator-col-content {
    padding: 6px 12px !important; /* 안쪽 여백 최소화 */
}

/* 3. 텍스트가 세로 중앙에 오도록 조정 */
.tabulator .tabulator-header .tabulator-col-title {
    line-height: 1.2 !important; /* 줄 간격을 줄여 텍스트 높이 감소 */
    font-size: 0.85rem !important; /* 높이를 줄일 때 폰트도 살짝 줄이면 더 예쁩니다 */
}

.tabulator-row .tabulator-cell {border-right: 1px solid #dedede !important; height: 40px; padding: 10px;}



/* 기본 버튼 색상 설정 */
.btn-primary {background-color: var(--primary-color) !important; color: white !important; border-color: var(--primary-color) !important;}



/* 필터 섹션 디자인 */
.filter-card {
    background: white;
    padding: 1.25rem;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}










.jstree-default .jstree-anchor {
    font-size:13px;
}

.jstree-default .jstree-clicked {
    background:#e8f2ff;
}