/**
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 * ⚡ APC System - Filter Stylesheet
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 * 📁 파일명: /www/_acc/css/filter.css
 * 📌 버전: v1.0
 * 📅 작성일: 2025-12-16
 * 📝 설명: 필터바, 검색폼, 결과 수 스타일
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 * Filter Bar - 가로 스크롤 (스크롤바 숨김)
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.filter-bar { 
    margin: 0;
    padding: 15px 20px;
    display: flex; 
    flex-wrap: nowrap;
    gap: 12px;
    background: var(--bg);
    border-bottom: 1px solid #fde68a;
    align-items: center;
}

.filter-buttons {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    user-select: none;
}

.filter-buttons::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    height: 38px;
    padding: 0 18px; 
    border-radius: 19px; 
    border: 1px solid #fde68a; 
    background: white; 
    color: #92400e; 
    text-decoration: none; 
    font-size: 0.9rem;
    line-height: 36px;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-btn:hover {
    background: #fef3c7;
}

.filter-btn.active { 
    background: linear-gradient(135deg, #f59e0b 0%, #FF6B35 100%);
    color: white; 
    border-color: #FF6B35; 
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 * 검색 + 결과 수 (한 행)
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.search-result-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* 결과 수 표시 */
.result-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: white;
    height: 38px;
    padding: 0 18px;
    border-radius: 19px;
    border: 1px solid #fde68a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.count-number {
    font-size: 1.1rem;
    font-weight: 800;
    color: #FF6B35;
}

.count-label {
    font-size: 0.85rem;
    color: #92400e;
    font-weight: 600;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 * 검색 폼
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    height: 38px;
    padding: 0 4px 0 14px;
    border-radius: 19px;
    border: 1px solid #fde68a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.search-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9rem;
    width: 150px;
    color: #1f2937;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-btn {
    background: var(--primary);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.search-btn:hover {
    background: var(--primary-hover);
}

.search-btn svg {
    stroke: white;
}

.search-clear {
    color: #9ca3af;
    text-decoration: none;
    font-size: 1rem;
    padding: 4px 8px;
    cursor: pointer;
    transition: color 0.2s;
}

.search-clear:hover {
    color: #ef4444;
}