/* Searchable Dropdown Styles */
.searchable-dropdown-container {
    position: relative;
    width: 100%;
}

.searchable-dropdown-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background-color: #fff;
    cursor: pointer;
}

.searchable-dropdown-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.searchable-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
    max-height: 250px;
    overflow-y: auto;
    display: none;
    animation: fadeInDown 0.2s ease;
}

.searchable-dropdown-menu.show {
    display: block;
}

.searchable-dropdown-search {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    z-index: 1;
}

.searchable-dropdown-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    font-size: 0.9rem;
}

.searchable-dropdown-option {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 0.9rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.searchable-dropdown-option:hover {
    background: #f8f9fa;
}

.searchable-dropdown-option.active {
    background: #667eea;
    color: white;
}

.searchable-dropdown-option.no-results {
    color: #999;
    font-style: italic;
    cursor: default;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar styling */
.searchable-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.searchable-dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.searchable-dropdown-menu::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.searchable-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #999;
}