/* Select2 Bulma Theme */
.select2-container--bulma .select2-selection--single {
    background-color: white;
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    height: 2.5em;
    padding: calc(0.5em - 1px) calc(0.75em - 1px);
    font-size: 1rem;
    line-height: 1.5;
}

.select2-container--bulma .select2-selection--multiple {
    background-color: white;
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    min-height: 2.5em;
    padding: 0.25em 0.5em;
    font-size: 1rem;
}

.select2-container--bulma .select2-selection--multiple:focus,
.select2-container--bulma .select2-selection--multiple:active {
    border-color: rgb(0, 102, 87);
    box-shadow: 0 0 0 0.125em rgba(0, 102, 87, 0.25);
    outline: none;
}

.select2-container--bulma .select2-selection__rendered {
    padding-left: 0;
    padding-right: 0;
    line-height: 1.5;
}

.select2-container--bulma .select2-selection__arrow {
    height: 2.5em;
    right: 0.75em;
}

.select2-container--bulma .select2-selection__choice {
    border: none;
    border-radius: 4px;
    padding: 0.25em 0.5em;
    margin: 0.125em;
}

.select2-container--bulma .select2-selection__choice__remove {
    margin-right: 0.5em;
}

.select2-container--bulma .select2-selection__choice__remove:hover {
    color: #f14668;
}

/* Dropdown styling */
.select2-container--bulma .select2-dropdown {
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    background-color: white;
}

.select2-container--bulma .select2-results__option {
    padding: 0.5em 0.75em;
}

.select2-container--bulma .select2-results__option[aria-selected=true] {
    background-color: #f5f5f5;
}

/* Search input */
.select2-container--bulma .select2-search--dropdown .select2-search__field {
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    padding: 0.5em 0.75em;
    font-size: 1rem;
}

/* Disabled state */
.select2-container--bulma.select2-container--disabled .select2-selection--single,
.select2-container--bulma.select2-container--disabled .select2-selection--multiple {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    display: inline;
}

.select2-container .select2-selection--multiple .select2-selection__rendered  {
    margin: 0;
}
