/* 필터 (지역, 성별, 플랫폼, 마감 가리기) 정렬 */
.filter-container {
    display: flex;                    /* 가로로 배치 */
    justify-content: flex-end;        /* 오른쪽 정렬 */
    gap: 12px;                        /* 셀렉트박스 사이 여백 */
    margin-bottom: 20px;              /* 아래쪽 여백 */
}

/* 마감 가리기 기본 상태: 회색 */
.hide-btn {
    border: 2px solid #B0B8C1;
    border-radius: 20px;
    padding: 6px 16px;
    background-color: white;
    color: #6B7684;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: 500;
}

/* 마감 가리기 활성 상태: 파란색 */
.hide-btn.active {
    border-color: #0064FF;
    color: #0064FF;
}
/* 기본 필터 버튼 스타일 */
.filter-chip {
    border: 1.8px solid #D1D5DB;
    background-color: white;
    color: #6B7684;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* 필터 적용됨 (활성화 상태) */
.filter-chip.active {
    border-color: #0064FF;
    color: #0064FF;
}

.filter-chip.active .filter-chip-arrow{
    content: url("/img/filter-chip-arrow-selected.svg");
}

/****************/
.modal-overlay {
    display: none; /* 기본은 숨김 */
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* 반투명 배경 */
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.modal-body label {
    display: flex;
    align-items: center;
    font-size: 16px;
    padding: 8px 0;
}

.modal-footer {
    margin-top: 20px;
}

.apply-btn {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    font-size: 15px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

#vacancyRange {
    width: 100%;          /* 부모 영역 다 채우기 */
    max-width: 300px;     /* 너무 길어지지 않도록 제한 */
    margin-top: 8px;

}

/* 슬라이더 트랙 (크롬, 사파리 등) */
#vacancyRange::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

/* 파이어폭스 대응 */
#vacancyRange::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    border: none;
    cursor: pointer;
}