.ts-control {
    border: 1px solid #d0d0d0;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    box-shadow: none;
    border-radius: 3px;
    display: flex;
    flex-wrap: wrap;
}
.full .ts-control {
    background-color: #fff;
}
.disabled .ts-control, .disabled .ts-control * {
    cursor: default !important;
}
.focus .ts-control {
    box-shadow: none;
}
.ts-control > * {
    vertical-align: baseline;
    display: inline-block;
    margin-top: -10px!important;
}
.ts-wrapper.multi .ts-control > div {
    cursor: pointer;
    margin: 0 3px 3px 0;
    padding: 2px 6px;
    background: #f2f2f2;
    color: #303030;
    border: 0 solid #d0d0d0;
}
.ts-wrapper.multi .ts-control > div.active {
    background: #e8e8e8;
    color: #303030;
    border: 0 solid #cacaca;
}
.ts-wrapper.multi.disabled .ts-control > div, .ts-wrapper.multi.disabled .ts-control > div.active {
    color: rgb(124.5, 124.5, 124.5);
    background: white;
    border: 0 solid white;
}
.ts-control > input {
    flex: 1 1 auto;
    min-width: 7rem;
    display: inline-block !important;
    padding: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100% !important;
    text-indent: 0 !important;
    border: 0 none !important;
    background: none !important;
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
    user-select: auto !important;
    box-shadow: none !important;
}
.ts-control > input::-ms-clear {
    display: none;
}
.ts-control > input:focus {
    outline: none !important;
}
.has-items .ts-control > input {
    margin: 0 4px !important;
}
.ts-control.rtl {
    text-align: right;
}
.ts-control.rtl.single .ts-control:after {
    left: 15px;
    right: auto;
}
.ts-control.rtl .ts-control > input {
    margin: 0 4px 0 -2px !important;
}
.disabled .ts-control {
    opacity: 0.5;
    background-color: #fafafa;
}
.input-hidden .ts-control > input {
    opacity: 0;
    position: absolute;
    left: -10000px;
}

.ts-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 10;
    border: 1px solid #d0d0d0;
    background: #fff;
    margin: 0.25rem 0 0;
    border-top: 0 none;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 3px 3px;
}
.ts-dropdown [data-selectable] {
    cursor: pointer;
    overflow: hidden;
}
.ts-dropdown [data-selectable] .highlight {
    background: rgba(125, 168, 208, 0.2);
    border-radius: 1px;
}
.ts-dropdown .option,
.ts-dropdown .optgroup-header,
.ts-dropdown .no-results,
.ts-dropdown .create {
    padding: 5px 8px;
}
.ts-dropdown .option, .ts-dropdown [data-disabled], .ts-dropdown [data-disabled] [data-selectable].option {
    cursor: inherit;
    opacity: 0.5;
}
.ts-dropdown [data-selectable].option {
    opacity: 1;
    cursor: pointer;
}
.ts-dropdown .optgroup:first-child .optgroup-header {
    border-top: 0 none;
}
.ts-dropdown .optgroup-header {
    color: #303030;
    background: #fff;
    cursor: default;
}
.ts-dropdown .active {
    background-color: #f5fafd;
    color: #495c68;
}
.ts-dropdown .active.create {
    color: #495c68;
}
.ts-dropdown .create {
    color: rgba(48, 48, 48, 0.5);
}
.ts-dropdown .spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 5px 8px;
}
.ts-dropdown .spinner::after {
    content: " ";
    display: block;
    width: 24px;
    height: 24px;
    margin: 3px;
    border-radius: 50%;
    border: 5px solid #d0d0d0;
    border-color: #d0d0d0 transparent #d0d0d0 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.ts-dropdown-content {
    overflow: hidden auto;
    max-height: 200px;
    scroll-behavior: smooth;
}

.ts-wrapper.plugin-drag_drop .ts-dragging {
    color: transparent !important;
}
.ts-wrapper.plugin-drag_drop .ts-dragging > * {
    visibility: hidden !important;
}

.plugin-checkbox_options:not(.rtl) .option input {
    margin-right: 0.5rem;
}

.plugin-checkbox_options.rtl .option input {
    margin-left: 0.5rem;
}

/* stylelint-disable function-name-case */
.plugin-clear_button {
    --ts-pr-clear-button: 1em;
}
.plugin-clear_button .clear-button {
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: calc(8px - 6px);
    margin-right: 0 !important;
    background: transparent !important;
    transition: opacity 0.5s;
    cursor: pointer;
}
.plugin-clear_button.form-select .clear-button, .plugin-clear_button.single .clear-button {
    right: max(var(--ts-pr-caret), 8px);
}
.plugin-clear_button.focus.has-items .clear-button, .plugin-clear_button:not(.disabled):hover.has-items .clear-button {
    opacity: 1;
}

.ts-wrapper .dropdown-header {
    position: relative;
    padding: 10px 8px;
    border-bottom: 1px solid #d0d0d0;
    background: color-mix(#fff, #d0d0d0, 85%);
    border-radius: 3px 3px 0 0;
}
.ts-wrapper .dropdown-header-close {
    position: absolute;
    right: 8px;
    top: 50%;
    color: #303030;
    opacity: 0.4;
    margin-top: -12px;
    line-height: 20px;
    font-size: 20px !important;
}
.ts-wrapper .dropdown-header-close:hover {
    color: black;
}

.plugin-dropdown_input.focus.dropdown-active .ts-control {
    box-shadow: none;
    border: 1px solid #d0d0d0;
}
.plugin-dropdown_input .dropdown-input {
    border: 1px solid #d0d0d0;
    border-width: 0 0 1px;
    display: block;
    padding: 8px 8px;
    box-shadow: none;
    width: 100%;
    background: transparent;
}
.plugin-dropdown_input .items-placeholder {
    border: 0 none !important;
    box-shadow: none !important;
    width: 100%;
}
.plugin-dropdown_input.has-items .items-placeholder, .plugin-dropdown_input.dropdown-active .items-placeholder {
    display: none !important;
}

.ts-wrapper.plugin-input_autogrow.has-items .ts-control > input {
    min-width: 0;
}
.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input {
    flex: none;
    min-width: 4px;
}
.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input::-ms-input-placeholder {
    color: transparent;
}
.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input::placeholder {
    color: transparent;
}

.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content {
    display: flex;
}
.ts-dropdown.plugin-optgroup_columns .optgroup {
    border-right: 1px solid #f2f2f2;
    border-top: 0 none;
    flex-grow: 1;
    flex-basis: 0;
    min-width: 0;
}
.ts-dropdown.plugin-optgroup_columns .optgroup:last-child {
    border-right: 0 none;
}
.ts-dropdown.plugin-optgroup_columns .optgroup::before {
    display: none;
}
.ts-dropdown.plugin-optgroup_columns .optgroup-header {
    border-top: 0 none;
}

.ts-wrapper.plugin-remove_button .item {
    display: inline-flex;
    align-items: center;
}
.ts-wrapper.plugin-remove_button .item .remove {
    color: inherit;
    text-decoration: none;
    vertical-align: middle;
    display: inline-block;
    padding: 0 6px;
    border-radius: 0 2px 2px 0;
    box-sizing: border-box;
}
.ts-wrapper.plugin-remove_button .item .remove:hover {
    background: rgba(0, 0, 0, 0.05);
}
.ts-wrapper.plugin-remove_button.disabled .item .remove:hover {
    background: none;
}
.ts-wrapper.plugin-remove_button .remove-single {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 23px;
}

.ts-wrapper.plugin-remove_button:not(.rtl) .item {
    padding-right: 0 !important;
}
.ts-wrapper.plugin-remove_button:not(.rtl) .item .remove {
    border-left: 1px solid #d0d0d0;
    margin-left: 6px;
}
.ts-wrapper.plugin-remove_button:not(.rtl) .item.active .remove {
    border-left-color: #cacaca;
}
.ts-wrapper.plugin-remove_button:not(.rtl).disabled .item .remove {
    border-left-color: white;
}

.ts-wrapper.plugin-remove_button.rtl .item {
    padding-left: 0 !important;
}
.ts-wrapper.plugin-remove_button.rtl .item .remove {
    border-right: 1px solid #d0d0d0;
    margin-right: 6px;
}
.ts-wrapper.plugin-remove_button.rtl .item.active .remove {
    border-right-color: #cacaca;
}
.ts-wrapper.plugin-remove_button.rtl.disabled .item .remove {
    border-right-color: white;
}

:root {
    --ts-pr-clear-button: 0px;
    --ts-pr-caret: 0px;
    --ts-pr-min: .75rem;
}

.ts-wrapper.single .ts-control, .ts-wrapper.single .ts-control input {
    cursor: pointer;
}

.ts-control:not(.rtl) {
    padding-right: max(var(--ts-pr-min), var(--ts-pr-clear-button) + var(--ts-pr-caret)) !important;
}

.ts-control.rtl {
    padding-left: max(var(--ts-pr-min), var(--ts-pr-clear-button) + var(--ts-pr-caret)) !important;
}

.ts-wrapper {
    position: relative;
}

.ts-dropdown,
.ts-control,
.ts-control input {
    color: #303030;
    font-family: inherit;
    @apply text-sm
}

.ts-control,
.ts-wrapper.single.input-active .ts-control {
    background: #fff;
    cursor: text;
}

.ts-hidden-accessible {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}
/*# sourceMappingURL=tom-select.css.map */
.ts-control {
    @apply mt-2 w-full rounded-md border border-gray-300 py-5 px-3  shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 h-9 sm:text-sm sm:leading-6 mt-0;
}


.ts-wrapper.plugin-remove_button .item {
    @apply rounded-md;
}
.ts-wrapper.multi .ts-control > div {
    @apply p-0 m-0 pl-1;
}

.ts-wrapper.plugin-remove_button .item .remove {
    @apply border-none text-lg leading-none py-1 rounded-r-lg;
}

.ts-dropdown {
    @apply rounded-md border border-solid border-t border-gray-300;
}

.ts-dropdown [data-selectable].option, .ts-dropdown .no-results {
    @apply py-2;
}
.ts-dropdown [data-selectable].option:first-child {
    @apply rounded-t-md;
}

.ts-dropdown [data-selectable].option:last-child {
    @apply rounded-b-md;
}
.ts-dropdown .create:hover, .ts-dropdown .option:hover, .ts-dropdown .active {
    @apply bg-indigo-100 text-indigo-900;
}

.ts-dropdown .spinner {
    @apply h-auto w-auto;
}

.ts-dropdown .spinner:after {
    @apply h-5 w-5 border-2 p-0 my-0 inline-block;
}

.ts-wrapper:not(.form-control):not(.form-select).single .ts-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    print-color-adjust: exact;
}

/* Wrapper et contrôle principal */
.ts-control {
    @apply w-full rounded-md border border-gray-300 shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm sm:leading-6 bg-white text-gray-900 text-sm;
}
.dark .ts-control {
    @apply bg-gray-700 text-gray-100 border-gray-600 focus:border-indigo-400 focus:ring-indigo-400;
}

/* Dropdown */
.ts-dropdown {
    @apply rounded-md border border-solid border-t border-gray-300 bg-white text-gray-900;
}
.dark .ts-dropdown {
    @apply bg-gray-900 border-gray-700 text-gray-100;
}

/* Options dans le dropdown */
.ts-dropdown [data-selectable].option,
.ts-dropdown .no-results {
    @apply py-2 cursor-pointer;
}
.ts-dropdown [data-selectable].option:first-child {
    @apply rounded-t-md;
}
.ts-dropdown [data-selectable].option:last-child {
    @apply rounded-b-md;
}
.ts-dropdown .create:hover,
.ts-dropdown .option:hover,
.ts-dropdown .active {
    @apply bg-indigo-100 text-indigo-900 dark:bg-indigo-700 dark:text-white;
}

/* Items multi sélectionnés */
.ts-wrapper.multi .ts-control > div {
    @apply p-0 m-0 pl-1 bg-gray-200 text-gray-800;
}
.dark .ts-wrapper.multi .ts-control > div {
    @apply bg-gray-700 text-gray-100;
}
.ts-wrapper.multi .ts-control > div.active {
    @apply bg-gray-300 text-gray-900;
}
.dark .ts-wrapper.multi .ts-control > div.active {
    @apply bg-gray-600 text-white;
}

/* Item avec bouton remove */
.ts-wrapper.plugin-remove_button .item {
    @apply rounded-md;
}
.ts-wrapper.plugin-remove_button .item .remove {
    @apply border-none text-lg leading-none py-1 rounded-r-lg hover:bg-gray-200 dark:hover:bg-gray-700;
}

/* Input */
.ts-control > input {
    @apply bg-transparent text-inherit;
}
.dark .ts-control > input {
    @apply text-gray-100;
}

/* Spinner */
.ts-dropdown .spinner:after {
    @apply h-5 w-5 border-2 border-gray-300 dark:border-gray-500;
}

/* Option group header */
.ts-dropdown .optgroup-header {
    @apply text-gray-700 bg-white dark:text-gray-300 dark:bg-gray-900;
}

.dark .ts-control, .dark .ts-wrapper.single.input-active .ts-control {
    @apply bg-gray-700 text-gray-100 border-gray-700 focus:border-indigo-400 focus:ring-indigo-400;
}
