﻿.autocomplete-container {
    position: relative;
}

.autocomplete {
    position: absolute;
    z-index: 99;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
    /*border: 1px solid #ddd;*/
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

    .autocomplete > div {
        padding: 10px 12px;
        cursor: pointer;
        background: #fff;
        border-bottom: 1px solid #eee;
    }

        .autocomplete > div:hover,
        .autocomplete > div.active {
            background-color: #0c61e7;
            color: #fff;
        }

        .autocomplete > div:last-child {
            border-bottom: none;
        }
        /* Visual dropdown */
#autocomplete-menu {
    width: 400px;
    max-height: 500px;
    overflow-y: auto;
    z-index: 1000;
}

    /* Set default text color */
    #autocomplete-menu .dropdown-item {
        color: #000; /* black text */
    }

        /* Optional: keep black text on hover/active */
        #autocomplete-menu .dropdown-item:hover,
        #autocomplete-menu .dropdown-item.active {
            color: #000; /* black text on hover/active */
            background-color: #f0f0f0; /* light gray background for hover */
        }

.dropdown-item:hover,
.dropdown-item.active {
    background-color: #f0f0f0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
