/* Dropdown Fix CSS */
.companies-select, 
.companies-sort {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #E7E7E8;
    border-radius: 16px;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.11);
    z-index: 1000;
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.companies-select.active .dropdown-content,
.companies-sort.active .dropdown-content,
.dropdown-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    padding: 16px;
    font-family: "Graphik LCG", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
}

.dropdown-item:hover {
    color: #EA53D3;
    background-color: rgba(234, 83, 211, 0.05);
}

.dropdown-item.selected {
    color: #EA53D3;
    background-color: #F8F8F8;
}

.dropdown-empty {
    color: #999;
    font-style: italic;
} 