/* Styles for ts-control */
.ts-control {
    /* margin-top: 0.5rem; */
    /* mt-2 */
    width: 100%;
    /* w-full */
    border-radius: 0.375rem;
    /* rounded-md */
    border: 1px solid var(--tw-gray-300);
    /* border border-gray-300 */
    padding: 0.25rem 0.75rem;
    /* py-1 px-3 */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    /* shadow-sm */
    outline: none;
    /* focus:outline-none */
    transition: border-color 0.2s, box-shadow 0.2s;
    /* smooth focus effect */
    background-color: var(--tw-light-active);
}

.ts-control:focus {
    border-color: var(--tw-primary);
    /* focus:border-indigo-500 */
    box-shadow: 0 0 0 1px var(--tw-primary);
    ;
    /* focus:ring-indigo-500 */
}

.ts-control {
    display: flex;
    flex-wrap: wrap;
    height: auto !important;
    /* h-9 */
    font-size: 0.875rem;
    /* sm:text-sm */
    line-height: 1.90rem;
    /* sm:leading-6 */
}

/* Styles for ts-control input */
.ts-control input {
    padding-right: 1.25rem !important;
    font-size: 0.875rem;
    /* text-sm */
    margin: 0 !important;
}

/* Styles for ts-wrapper with plugin-remove_button */
.ts-wrapper.plugin-remove_button .item {
    border-radius: 0.375rem;
    /* rounded-md */
}
/* Styles for ts-wrapper.multi */
.ts-wrapper .ts-control>div {
    background-color: var(--tw-gray-300);
    color: var(--tw-gray-700)
}

/* Styles for ts-wrapper.multi */
.ts-wrapper.multi .ts-control>div {
    background-color: var(--tw-gray-300);
    color: var(--tw-gray-700)
}

/* Styles for ts-wrapper.plugin-remove_button .item .remove */
.ts-wrapper.plugin-remove_button .item .remove {
    border: none;
    /* border-none */
    font-size: 1.125rem;
    /* text-lg */
    line-height: 1;
    /* leading-none */
    padding: 0.25rem;
    /* py-1 */
    border-radius: 0 0.375rem 0.375rem 0;
    /* rounded-r-lg */
}

/* Styles for ts-dropdown */
.ts-dropdown {
    border-radius: 0.375rem;
    /* rounded-md */
    border: 1px solid var(--tw-gray-300);
    /* border border-solid border-t border-gray-300 */
    background-color: var(--tw-light-active);
    margin: 0px !important;
}

/* Styles for ts-dropdown options and no-results */
.ts-dropdown [data-selectable].option,
.ts-dropdown .no-results {
    padding: 0.5rem 0.5rem;
    /* py-2 */
}

/* First-child option in ts-dropdown */
.ts-dropdown [data-selectable].option:first-child {
    border-radius: 0.375rem;
    /* rounded-t-md */
    /* background-color: var(--tw-light-active); */
}

/* Last-child option in ts-dropdown */
ts-dropdown [data-selectable].option:last-child {
    border-radius: 0.375rem;
    /* rounded-b-md */
    /* background-color: var(--tw-light-active); */
    color: var(--tw-gray-700)
}

/* Hover and active states for ts-dropdown options */
.ts-dropdown .create:hover,
.ts-dropdown .option:hover,
.ts-dropdown .active {
    background-color: #e0e7ff;
    /* bg-indigo-100 */
    color: #312e81;
    border-radius: 0.375rem;
    /* text-indigo-900 */
}

/* Styles for ts-dropdown spinner */
.ts-dropdown .spinner {
    height: auto;
    /* h-auto */
    width: auto;
    /* w-auto */
}

.ts-dropdown .spinner:after {
    height: 1.25rem;
    /* h-5 */
    width: 1.25rem;
    /* w-5 */
    border-width: 2px;
    /* border-2 */
    padding: 0;
    /* p-0 */
    margin: 0;
    /* my-0 */
    display: inline-block;
    /* inline-block */
}

/* Styles for ts-wrapper single without form-control or form-select */
.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;
    -webkit-print-color-adjust: exact;
    /* print-color-adjust: exact */
    background-color: var(--tw-light-active);
}

.ts-dropdown,
.ts-control,
.ts-control input {
    color: var(--tw-gray-700);
}

.ts-control input::placeholder {
    color: var(--tw-gray-700);

}
.ts-wrapper .ts-control>div {
    padding: 0rem 0.25rem 0rem 0.25rem;
}
.ts-wrapper.multi .ts-control>div {
    padding: 0rem 0.25rem 0rem 0.25rem;
}
.full .ts-control { 
    background-color: var(--tw-light-active);
}
.ts-dropdown-content .selected {
    background-color: var(--tw-light-inverse-dark);
    border-radius: 0.375rem;
    color: var(--tw-light);
}