/*.autocomplete-suggestions {*/
/*    text-align: left; cursor: default; border: 1px solid #ccc; border-top: 0; background: #fff; box-shadow: -1px 1px 3px rgba(0,0,0,.1);*/

/*    !* core styles should not be changed *!*/
/*    position: absolute; display: none; z-index: 9999; max-height: 254px; overflow: hidden; overflow-y: auto; box-sizing: border-box;*/
/*}*/
/*.autocomplete-suggestion { position: relative; padding: 0 .6em; line-height: 23px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1.02em; color: #333; }*/
/*.autocomplete-suggestion b { font-weight: normal; color: #1f8dd6; }*/
/*.autocomplete-suggestion.selected { background: #f0f0f0; }*/


.autocomplete-suggestions {
    text-align: left;
    cursor: default;
    border: 1px solid #ccc;
    border-top: 0;
    background: #fff;
    position: absolute;
    display: none;
    z-index: 9999;
    max-height: 254px;
    overflow: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    border-radius: 5px; /* dodane zaokrąglenie */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* dodany cień */
}

.autocomplete-suggestion-item {
    display: block;
    padding: 4px;
    margin-bottom: 4px;
    text-decoration: none;
    border-radius: 3px; /* dodane zaokrąglenie */
    transition: background-color 0.2s; /* animacja dla koloru tła */
}

.autocomplete-suggestion-item:hover {
    background-color: #f6f6f6; /* kolor tła dla stanu hover */
}

.suggestion-image {
    width: 42px;
    height: 42px;
    margin-right: 6px;
    display: inline-block;

    border-radius: 50%; /* zaokrąglenie obrazu */
    overflow: hidden; /* ukrywanie narożników obrazu */
}

.suggestion-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}


/* Styl dla niestandardowego paska przewijania */
.autocomplete-suggestions::-webkit-scrollbar {
    width: 8px;
}

.autocomplete-suggestions::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.autocomplete-suggestions::-webkit-scrollbar-thumb:hover {
    background: #b3b3b3;
}

.autocomplete-suggestions::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
}