@charset "UTF-8";
/* 선택한 조건이 쌓이는 줄 — 비어 있으면 통째로 숨김(부모 flex 의 gap 도 함께 사라짐) */
.company-list-box .comp-search-form .ms-tags {
    width: 100%;
    margin-top: -20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.company-list-box .comp-search-form .ms-tags:empty {
    display: none;
}

/* 조건 한 개 */
.company-list-box .comp-search-form .ms-tags .ms-tag {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 8px 0 12px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    color: #3D3D3D;
    word-break: keep-all;
    white-space: nowrap;
    background: white;
    border: none;
    border-radius: 999px;
}

/* 어느 조건인지 구분하는 앞 라벨 (희망분야·지역 양쪽에 '전체' 값이 있어 반드시 필요) */
.company-list-box .comp-search-form .ms-tags .ms-tag .ms-tag-label {
    font-size: 13px;
    font-weight: 500;
    font-style: normal;
    line-height: 1;
    color: #707070;
}

.company-list-box .comp-search-form .ms-tags .ms-tag .ms-tag-label::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 11px;
    margin-left: 6px;
    background: #ddd;
    vertical-align: -1px;
}

.company-list-box .comp-search-form .ms-tags .ms-tag .ms-tag-text {
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    color: #3D3D3D;
}

/* 조건 하나 삭제 */
.company-list-box .comp-search-form .ms-tags .ms-tag .ms-tag-del {
    width: 20px;
    height: 20px;
    padding: 0;
    font-size: 13px;
    line-height: 1;
    color: #707070;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.company-list-box .comp-search-form .ms-tags .ms-tag .ms-tag-del:hover {
    color: #2D2D2D;
    background: #f0f0f0;
}

/* 전체 해제 */
.company-list-box .comp-search-form .ms-tags .ms-tag-reset {
    height: 34px;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    color: white;
    background: transparent;
    border: 1px solid white;
    border-radius: 999px;
    cursor: pointer;
}

.company-list-box .comp-search-form .ms-tags .ms-tag-reset:hover {
    color: #3D3D3D;
    background: white;
}

@media (max-width: 1280px) {
    .company-list-box .comp-search-form .ms-tags {
        margin-top: -12px;
    }
}

@media (max-width: 1024px) {
    .company-list-box .comp-search-form .ms-tags .ms-tag,
    .company-list-box .comp-search-form .ms-tags .ms-tag-reset {
        height: 30px;
        font-size: 14px;
    }

    .company-list-box .comp-search-form .ms-tags .ms-tag .ms-tag-label {
        font-size: 12px;
    }

    .company-list-box .comp-search-form .ms-tags .ms-tag .ms-tag-text {
        font-size: 14px;
    }
}

@media (max-width: 540px) {
    .company-list-box .comp-search-form .ms-tags {
        justify-content: center;
    }
}
