/* Choices.js Bootstrap 5 styling */
.choices {
    margin-bottom: 0;
}

.choices__inner {
    background-color: #fff;
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem;
    font-size: 1rem;
    min-height: 38px;
    padding: 0.375rem 0.75rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.choices[data-type*=select-one] .choices__inner {
    padding-bottom: 0px !important;
}

.choices__inner:hover {
    border-color: #86b7fe;
}

.choices.is-focused .choices__inner {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.choices__list--single{
    padding: 0 !important;
}

.choices__list--single .choices__item {
    padding: 0 !important;
}

.choices__placeholder {
    color: #6c757d;
    opacity: 1;
}

.choices__list--dropdown {
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-top: 0.25rem;
}

.choices__list--dropdown .choices__item {
    color: #212529;
    padding: 0;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #e9ecef;
    color: #212529;
}

.choices__input {
    background-color: transparent;
    border: none;
    color: #212529;
    font-size: 1rem;
    padding: 0;
}

.choices__input:focus {
    outline: none;
}

.choices__button {
    background-color: #6c757d;
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    height: 20px;
    margin: 0 4px;
    opacity: 0.5;
    padding: 0;
    transition: opacity 0.15s ease-in-out;
    width: 20px;
}

.choices__button:hover {
    opacity: 1;
}