/* 대학 검색 전용 스타일 */
/* [변경 이력] */
/* 2026-04-10 | 최초 생성 */
/* 2026-04-14 | language.css 패턴과 동일하게 전면 재구성 */

/* 듀얼 레인지 슬라이더 */
.dual-range-container {
    position: relative;
    height: 36px;
}

.dual-range-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    transform: translateY(-50%);
}

.dual-range-fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #003366, #00A896);
    border-radius: 2px;
}

.dual-range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    margin: 0;
}

.dual-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid #003366;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    transition: transform 0.15s, box-shadow 0.15s;
}

.dual-range-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0,51,102,0.3);
}

.dual-range-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid #003366;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* 대학 카드 */
.uni-card {
    transition: all 0.3s ease;
}

.uni-card:hover {
    box-shadow: 0 10px 40px rgba(0,51,102,0.12);
}

/* 특성 태그 버튼 */
.spec-tag-btn.active {
    background-color: #003366 !important;
    color: white !important;
    border-color: #003366 !important;
}

/* 필터 토글 아이콘 */
.filter-toggle-icon {
    transition: transform 0.3s ease;
}

/* 라인 클램프 */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 로딩 스피너 */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* 반응형 카드 그리드 */
@media (max-width: 768px) {
    .uni-card .h-40 {
        height: 120px;
    }
}