/* Modern Native Select Styling for Search */

.bfhd-native-select {
    width: 100%;
    padding: 12px 36px 12px 16px;
    font-size: 15px;
    font-family: var(--font-family);
    color: var(--color-text-gray);
    border: none;
    background: transparent;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238B8B8B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.bfhd-native-select:hover {
    color: var(--color-text-dark);
}

.bfhd-native-select:focus {
    outline: none;
    color: var(--color-text-dark);
    box-shadow: 0 0 0 2px rgba(0, 226, 193, 0.1);
}

/* Modern dropdown options with rounded corners */
.bfhd-native-select option {
    background: #FFFFFF;
    color: var(--color-text-dark);
    padding: 12px 16px;
    border-radius: 8px;
    margin: 4px 8px;
    font-size: 15px;
    line-height: 1.5;
}

.bfhd-native-select option:checked {
    background: linear-gradient(135deg, #00E2C1 0%, #00C4A8 100%);
    color: #FFFFFF;
    font-weight: 600;
    border-radius: 8px;
}

.bfhd-native-select option:hover {
    background: #F7FAFC;
    border-radius: 8px;
}

/* Modern scrollbar for dropdown */
.bfhd-native-select::-webkit-scrollbar {
    width: 10px;
}

.bfhd-native-select::-webkit-scrollbar-track {
    background: #F7FAFC;
    border-radius: 10px;
    margin: 8px 0;
}

.bfhd-native-select::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #CBD5E0 0%, #A0AEC0 100%);
    border-radius: 10px;
    border: 2px solid #F7FAFC;
}

.bfhd-native-select::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #A0AEC0 0%, #718096 100%);
}

/* Firefox - Custom styling */
@-moz-document url-prefix() {
    .bfhd-native-select option {
        padding: 12px 16px;
    }

    .bfhd-native-select option:checked {
        background: #00E2C1 !important;
        color: #FFFFFF !important;
    }
}