/* Autocomplete container */
.autocomplete {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Autocomplete items */
.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 4px 4px;
}

/* Autocomplete item */
.autocomplete-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #d4d4d4;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* When hovering over an autocomplete item */
.autocomplete-item:hover,
.autocomplete-active {
    background-color: #f8f9fa;
}

/* Count badge */
.autocomplete-count {
    background-color: #e9ecef;
    color: #495057;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 0.8em;
    margin-left: 8px;
}

/* Highlighted text */
.autocomplete-match {
    font-weight: bold;
    color: #0d6efd;
}
