.ccnt2-input-autocomplete {
    position: relative;
    height: auto;
    background: white;
    padding: 4px;
    margin: 0.5em;
    min-width: 8em;
}

.ccnt2-input-autocomplete .searching {
    color: var(--black, black);
    position: absolute;
    right: 0.8rem;
}

.ccnt2-input-autocomplete .chosen-items {
    display: flex;
    align-items: center;
}

.ccnt2-input-autocomplete .chosen-item {
    display: flex;
    align-items: center;
    background-color: #e5e5e5;
    padding: 2px 0.3rem;
    margin-right: 0.25rem;
    width: fit-content;
    border-radius: 4px;
}

.ccnt2-input-autocomplete .remove-item {
    cursor: pointer;
    font-weight: bold;
    margin: 0 4px;
}

.ccnt2-input-autocomplete .autocomplete-input-text {
    /* border: none; */
    max-width: 100%;
    font-size: 0.8rem;
}

/* Styles for suggestions inside p-overlaypanel */
.p-overlaypanel .suggestions {
    max-height: 270px;
    overflow-y: auto;
}

.p-overlaypanel .suggestion {
    padding: 0.5em 1em;
    padding: 0.5em 1em;
    cursor: pointer;
    display: block; /* Ensure it takes full width for hover effect */
    white-space: nowrap; /* Prevent text wrapping if desired */
}

.p-overlaypanel .suggestion:hover {
    background-color: #eee; /* Or your theme's hover color */
}