
.bootstrap-autocomplete-menu {
    overflow: hidden;
}

.bootstrap-autocomplete-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.45rem;
}

.bootstrap-autocomplete-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2rem;
    padding: 0.32rem 0.72rem;
    border: 1px solid rgba(31, 111, 235, 0.18);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(31, 111, 235, 0.1), rgba(86, 183, 255, 0.08));
    color: #17233d;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.1;
    cursor: pointer;
}

.bootstrap-autocomplete-badge:hover {
    background: linear-gradient(180deg, rgba(31, 111, 235, 0.16), rgba(86, 183, 255, 0.12));
}

.bootstrap-autocomplete-badge.bootstrap-autocomplete-badge-custom {
    border-color: rgba(34, 179, 127, 0.28);
    background: linear-gradient(180deg, rgba(34, 179, 127, 0.18), rgba(102, 216, 190, 0.14));
    color: #0e5c40;
}

.bootstrap-autocomplete-badge.bootstrap-autocomplete-badge-custom:hover {
    background: linear-gradient(180deg, rgba(34, 179, 127, 0.24), rgba(102, 216, 190, 0.18));
}

.bootstrap-autocomplete-badge-remove {
    font-size: 1rem;
    line-height: 1;
    opacity: 0.72;
}

.bootstrap-autocomplete-menu .bootstrap-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.bootstrap-autocomplete-color-swatch {
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    flex: 0 0 0.85rem;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 50%;
}

.bootstrap-autocomplete-badge-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.bootstrap-autocomplete-menu .bootstrap-autocomplete-item:hover,
.bootstrap-autocomplete-menu .bootstrap-autocomplete-item:focus,
.bootstrap-autocomplete-menu .bootstrap-autocomplete-item:focus-visible {
    background-color: rgba(31, 111, 235, 0.08);
    color: #17233d;
    outline: 0;
}

.bootstrap-autocomplete-menu .bootstrap-autocomplete-item.active,
.bootstrap-autocomplete-menu .bootstrap-autocomplete-item.active:hover,
.bootstrap-autocomplete-menu .bootstrap-autocomplete-item.active:focus {
    background-color: #1f6feb;
    color: #fff;
}

.bootstrap-autocomplete.is-keyboard-navigation .bootstrap-autocomplete-item:hover:not(.active),
.bootstrap-autocomplete.is-keyboard-navigation .bootstrap-autocomplete-item:focus:not(.active),
.bootstrap-autocomplete.is-keyboard-navigation .bootstrap-autocomplete-item:focus-visible:not(.active) {
    background-color: transparent;
    color: inherit;
}
