﻿/* ============================================================
   한인업소록 - 구인 중 거르개
   ------------------------------------------------------------
   목록 바로 위. 평소에는 네모칸 하나, 켜면 그 옆에 분류 고르개가 따라 나온다.
   ============================================================ */
.yp-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eceff1;
}

/* 네모칸처럼 보이지만 링크다 - 실제로 다른 주소로 간다. 진짜 checkbox 로 두면
   자바스크립트 없이는 아무 일도 일어나지 않고, 주소에 남지도 않는다. */
.yp-hiring-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #1f8a70;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.yp-hiring-toggle:hover {
    color: #1f8a70;
    text-decoration: none;
}

.yp-hiring-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1px solid #c3ccd2;
    border-radius: 3px;
    background: #fff;
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

/* 켜진 상태. 구인 중을 뜻하는 초록은 업소록 칸의 구인 줄과 같은 색이다. */
.yp-hiring-toggle.is-on {
    color: #1f8a70;
}

.yp-hiring-toggle.is-on .yp-hiring-box {
    border-color: #1f8a70;
    background: #1f8a70;
}

.yp-filter-cat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yp-filter-cat label {
    margin: 0;
    color: #6b757d;
    font-size: 13px;
    font-weight: 600;
}

.yp-filter-cat select {
    height: 34px;
    max-width: 260px;
    padding: 0 8px;
    border: 1px solid #dfe4e8;
    border-radius: 4px;
    background: #fff;
    color: #222;
    font-size: 13px;
}

.yp-filter-cat select:hover {
    border-color: #9aa7b2;
}

@media (max-width: 560px) {
    .yp-filter-cat {
        width: 100%;
    }

    .yp-filter-cat select {
        max-width: 100%;
        flex: 1 1 auto;
    }
}
