.filter-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
}

.reset-filters-btn {
    font-family: var( --e-global-typography-10192fe-font-size ), sans-serif;
    font-size: var( --e-global-typography-10192fe-font-size ), 24px;
    font-weight: var( --e-global-typography-10192fe-font-weight ), 400;
    line-height: var( --e-global-typography-10192fe-line-height ), normal;
    padding: 8px 16px;
    background: #F1F4FC;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: var( --e-global-color-text ), #292929;
    transition: background-color 0.2s;
    order: -1;
}

.reset-filters-btn:hover {
    background-color: #F1F4FC;
    color: var( --e-global-color-text ), #292929;
}

.reset-filters-btn.active {
    background-color: white;
}

.reset-filters-btn.active:hover {
    background-color: #F1F4FC;
}

.reset-filters-btn:focus {
    outline: none;
    background-color: #F1F4FC;
    color: var( --e-global-color-text ), #292929;
}

/* Filter Group Container */
.filter-group {
    position: relative;
}

/* Custom dropdown container */
.custom-dropdown {
    position: relative;
    width: max-content;
}

/* Selected text display */
.dropdown-selected {
    font-family: var( --e-global-typography-10192fe-font-size ), sans-serif;
    font-size: var( --e-global-typography-10192fe-font-size ), 24px;
    font-weight: var( --e-global-typography-10192fe-font-weight ), 400;
    line-height: var( --e-global-typography-10192fe-line-height ), normal;
    color: var( --e-global-color-text ), #292929;
    background: white;
    border: none;
    padding: 8px 42px 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.dropdown-selected:focus {
    outline: none;
    background-color: white;
}

.dropdown-selected:hover {
    background-color: #F1F4FC;
}

.filter-group.has-value .dropdown-selected {
    background-color: #F1F4FC;
}

.filter-group.has-value .dropdown-selected:hover {
    background-color: #F1F4FC;
}

/* Dropdown options container */
.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 100%;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    margin-top: 4px;
}

.custom-dropdown.open .dropdown-options {
    display: block;
}

/* Individual dropdown options */
.dropdown-option {
    font-family: var( --e-global-typography-10192fe-font-size ), sans-serif;
    font-size: var( --e-global-typography-10192fe-font-size ), 24px;
    font-weight: var( --e-global-typography-10192fe-font-weight ), 400;
    color: var( --e-global-color-text ), #292929;
    padding: 8px 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.dropdown-option:hover {
    background-color: #F1F4FC;
}

/* Dropdown Arrow Icon */
.filter-group::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23292929' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    transition: opacity 0.2s;
}

/* Clear (X) Icon when value is selected */
.filter-group.has-value::after {
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23292929' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
    pointer-events: auto;
    cursor: pointer;
}

/* Hidden elements */
.hidden-job {
    display: none !important;
}

.no-results-message {
    padding: 20px;
    text-align: center;
}

.reset-search-link {
    border: none;
    color: #af0260;
    background: none;
    cursor: pointer;
    padding: 8px 16px;
    font-family: var( --e-global-typography-10192fe-font-size ), sans-serif;
    font-size: var( --e-global-typography-10192fe-font-size ), 24px;
}

/* Mobile view */
@media screen and (max-width: 768px) {
    .filter-controls-container {
        width: 100%;
    }

    .filter-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .filter-group {
        width: 100%;
    }

    .custom-dropdown {
        width: 100%;
        max-width: 100%;
    }

    .dropdown-selected {
        width: 100%;
        box-sizing: border-box;
    }

    .reset-filters-btn {
        width: 100%;
        order: 999;
        margin-top: 8px;
    }
}
