/* FilaBridge Dashboard - Dropdown Styles */

/* Custom dropdown styles */
.custom-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.dropdown-button {
    width: 100%;
    padding: 10px 15px;
    background: #3a3a3a;
    border: 1px solid #555;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-button:hover {
    background: #4a4a4a;
    border-color: #666;
}

.dropdown-button.open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: #3a3a3a;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #3a3a3a;
    border: 1px solid #555;
    border-top: none;
    border-radius: 0 0 5px 5px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.dropdown-content.show {
    display: block;
}

.dropdown-option {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s ease;
}

.dropdown-option:hover {
    background: #4a4a4a;
}

.dropdown-option.selected {
    background: #007bff;
}

.option-text {
    flex: 1;
    font-size: 14px;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown-arrow.open {
    transform: rotate(180deg);
}

/* Search functionality styles */
.dropdown-search-container {
    padding: 10px 12px;
    border-bottom: 1px solid #555;
    background: #3a3a3a;
}

.dropdown-search {
    width: 100%;
    padding: 8px 12px;
    background: #2a2a2a;
    border: 1px solid #555;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.dropdown-search:focus {
    border-color: #007bff;
    background: #333;
}

.dropdown-search::placeholder {
    color: #999;
}

.dropdown-options-container {
    max-height: none;
    overflow-y: visible;
}

.dropdown-no-results {
    padding: 15px;
    text-align: center;
    color: #999;
    font-style: italic;
    display: none;
}
