.filter-select-wrapper {
    margin-bottom: 30px;
    height: 43px;
    width: 40%;
}

.filter-select-wrapper-spec {
    display: none;
}

.filter-select {
    position: relative;
    padding: 11px 20px;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.05);
    border: 1px solid #F4F6FB;
    cursor: pointer;
}

.filter-selected {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 11px;
    left: 20px;
    z-index: 2;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
}

.filter-tag {
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-tag.hidden {
    display: none;
}

.filter-input {
    position: absolute;
    width: 100%;
    height: 43px;
    top: 0;
    left: 20px;
    padding: 0;
    z-index: 1;
    border: none;
    outline: none;
    background: none;
    color: transparent;
}

.filter-input::placeholder {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
}

.filter-arrow {
    position: absolute;
    right: 20px;
    top: calc(50% - 4px);
    transition: transform 0.3s ease;
}

.filter-arrow-rotated {
    transform: rotate(180deg);
}

.filter-dropdown {
    position: absolute;
    top: 43px;
    width: 100%;
    max-height: 240px;
    overflow-y: auto;
    margin-left: -20px;
    background: white;
    border-radius: 5px;
    z-index: 100;
}

.filter-dropdown.hidden {
    display: none;
}

.filter-option {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    padding: 10px 20px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.filter-option:hover {
    background-color: #F4F6FB;
}

@media screen and (max-width: 576px) {
    .filter-select-wrapper {
        width: 100%;
        margin-bottom: 10px;
    }

    .filter-select-wrapper-spec {
        display: block;
    }
}