.autocomplete-container {
    position: relative;
    width: 100%;
    margin: 2rem auto;
}
.autocomplete-input {
    padding: 10px 10px 10px 40px; /* Add left padding for the icon */
    width: 100%;
    border-radius: 5px;
    border: 1px solid #444;
    background: #333 !important; /* CRITICAL FIX: Added !important */
    color: #fff !important;    /* CRITICAL FIX: Added !important */
    font-size: 1rem;
}
.autocomplete-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #888;
    pointer-events: none; /* Prevents the icon from capturing mouse events */
}
.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #2d2d2d;
    border: 1px solid #444;
    border-top: none;
    border-radius: 0 0 5px 5px;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}
.autocomplete-item {
    padding: 10px 15px;
    cursor: pointer;
    color: #c4c4c4;
    text-decoration: none;
    display: block;
}
.autocomplete-item:hover {
    background-color: #3a3a3a;
    color: #fff;
}
.autocomplete-item .boardname {
    display: block;
    font-weight: 500;
}
.autocomplete-item .vendor {
    display: block;
    font-size: 0.8rem;
    color: #888;
}