/* Style du champ de texte */
.tag-input-container .form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-sizing: inherit;
    z-index: 2;
}

.tag-input-container {
    position: relative;
    width: 100%;
}

.list-group {
    border-bottom: 0px;
    box-shadow: 0px -10px 10px -10px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.5);
    display: none;
    position: absolute;
    width: inherit;
    box-sizing: inherit;
    max-height: 150px;
    overflow-y: scroll;
    z-index: 1;
    background-color: #000;
    color: #000;
    border-radius: 0px;
    bottom: 52px;
    transition: .2s;
    scrollbar-color: gray transparent;
    scrollbar-width: thin;
}

.list-group::-webkit-scrollbar {
    width: 5px;
    background-color: white;
}

.list-group::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: white;
}

.list-group::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: gray;
}

.list-group.show {
    display: block !important;
}

.tag {
    background-color: rgb(79, 71, 82, .8);
}

.tag-delete {
    color: var(--bs-white);
    transition: 300ms;
}

.tag-delete:hover {
    color: var(--bs-danger) !important;
}


.list-group-item:hover {
    cursor: pointer;
    background-color: var(--bs-primary);
    color: white;
}

.list-group-item.active,
.list-group-item:focus {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

/* Style des tags sélectionnés */
.badge {
    margin-right: 5px;
    cursor: pointer;
}

.badge-primary {
    background-color: #007bff;
}

.badge-primary:hover {
    background-color: #0069d9;
}

/* Style du conteneur de tags sélectionnés */
#selected-tags {
    display: flex;
    gap: .4em;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 5px;
}