.autocomplete-feature-select input {
    width: calc(100% - 43px);
    outline: none;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 10px;
    padding-right: 31px;
    font-size: 16px;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 2px 10px 2px rgba(0, 0, 0, 0.1);
    border-top: none;
    background-color: #fff;

    z-index: 99;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
}

.autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: rgba(0, 0, 0, 0.1);
}

.header_autocomplete {
    position: relative; /* Ensure the dropdown is positioned relative to this container */
    grid-column-start:1;
    grid-row-start:2;
    text-align: left;
    /*border-radius: 5px;*/
    padding-left: 5%;
    margin-left: -5%;
    margin-right: -5%;
    font-size: 0.75em;
    width: 75%;
    height: 1.4em;
    align-items: stretch;
}

#autocomplete-feature-select {
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    width: 80%;
    background-color: white;
    /*border: 1px solid #ccc;*/
    /*border-radius: 5px;*/
    z-index: 1000;
    display: none; /* Hidden by default */
    max-height: 150px; /* Limit height to show only 5 options */
    overflow-y: hidden; /* Add scrolling for additional options */
}

#autocomplete-feature-select option {
    padding: 8px;
    cursor: pointer;
    font-size: 14px;
    text-align: left;
    display: block;
}

#autocomplete-feature-select option:hover {
    background-color: #f0f0f0; /* Highlight on hover */
}


/* style the items (options), including the selected item: */
.autocomplete-feature-select div,.autocomplete-feature-select-selected {
    color: #ffffff;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
}

/* Style items (options): */
.autocomplete-feature-select {
    position: absolute;
    background-color: DodgerBlue;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    display: inline-block;
    /*position: fixed;*/
    transform: translate(0%, 0%);
    width: 200px;

}

/* Hide the items when the select box is closed: */
.select-hide {
    display: none;
}

.icon-left img, .icon-right img {
    width: 1.2em;
    height: 1.2em;
    background-color: rgba(255, 255, 255, 0);
    border-radius: 0 5px 5px 0;
}

.icon-left {
    transform: scaleX(-1);
    z-index: 500;
}

.icon-right {
    /*margin-left: 10px;*/
    cursor: pointer;
    z-index: 500;
}

.autocomplete-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 5px;
    font-size: 16px;
}

/* Suggestions Dropdown */
/*.suggestions {*/
/*    list-style: none;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    position: absolute;*/
/*    top: 100%;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    background-color: white;*/
/*    border: 1px solid #ccc;*/
/*    border-top: none;*/
/*    border-radius: 0 0 5px 5px;*/
/*    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
/*    z-index: 1000;*/
/*}*/

/*.suggestions li {*/
/*    padding: 10px;*/
/*    cursor: pointer;*/
/*    font-size: 14px;*/
/*}*/

/*.suggestions li:hover {*/
/*    background-color: #f0f0f0;*/
/*}*/

/* Responsive Design */
@media (max-width: 400px) {
    .autocomplete-container {
        width: 90%;
    }
}
