/* 전체 레이아웃 */
body {
    background-color: #f8f9fa;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.container-fluid {
    max-width: 1400px;
    padding: 20px;
}

/* 헤더 섹션 */
.header-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.main-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 1rem;
    margin-bottom: 0;
    opacity: 0.9;
}

/* 카드 스타일 */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}

.card-body {
    padding: 1.5rem;
}

/* 폼 요소 */
.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-select, .form-control {
    border-radius: 6px;
    border: 1px solid #ced4da;
}

.form-select:focus, .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* 버튼 */
.btn-primary {
    background-color: #667eea;
    border-color: #667eea;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #5568d3;
    border-color: #5568d3;
}

/* 검색 결과 정보 */
.result-info {
    color: #6c757d;
    font-size: 0.95rem;
}

.result-info strong {
    color: #667eea;
    font-weight: 700;
}

/* 테이블 */
.table {
    font-size: 0.95rem;
}

.table thead th {
    background-color: #f8f9fa;
    color: #495057;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    padding: 1rem 0.75rem;
}

.table tbody tr {
    transition: background-color 0.2s ease;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

.table tbody td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

/* 배지 */
.badge {
    font-weight: 500;
    padding: 0.4em 0.8em;
    font-size: 0.85rem;
}

/* 텍스트 말줄임 */
.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 페이지네이션 */
.pagination {
    margin-top: 1.5rem;
}

.page-link {
    color: #667eea;
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
}

.page-link:hover {
    color: #5568d3;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.page-item.active .page-link {
    background-color: #667eea;
    border-color: #667eea;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.5rem;
    }

    .table {
        font-size: 0.85rem;
    }

    .table thead th,
    .table tbody td {
        padding: 0.75rem 0.5rem;
    }
}

/* 빈 데이터 메시지 */
.text-muted {
    color: #6c757d !important;
}

/* 테이블 반응형 */
.table-responsive {
    border-radius: 8px;
}
