/**
 * Custom overrides for tom-select.css
 * Matches styling from ig_layout formelements.scss
 */
:root {
  --ts-pr-clear-button: 0px !important;
  --ts-pr-caret: 0px !important;
  --ts-pr-min: .75rem;
}

.ts-control {
  height: var(--base_formfields_height);
  min-height: var(--base_formfields_height);
  padding: 0 var(--base_formfields_padding-right) 0 var(--base_formfields_padding-left);
  background-color: var(--base_formfields_bg);
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
  display: flex; /* Added display: flex so align-items works */
  align-items: center;

  & input[type="text"] {
    width: auto;
  }
}
.ts-control > input {
  line-height: normal;
}
.ts-wrapper {
    display: inline-block;
    width: 100%;
}
.ts-wrapper.single .ts-control {
  background-color: var(--base_formfields_bg);
}