:host {
  display: inline-block;
  font-size: 0.875rem;
  font-family: var(--anj-font-family);
  font-weight: normal;
  line-height: 1.5;
  outline: none;
  width: 100%;
}
:host, :host::before, :host::after {
  box-sizing: border-box;
  outline: none;
}
:host:focus, :host:active, :host *:focus, :host *:active {
  outline: none;
}
:host .anj-hidden-control {
  clip: rect(0 0 0 0);
  height: 0;
  left: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  top: 0;
  width: 0;
}
:host input,
:host textarea,
:host .anj-select-toggle {
  border-radius: 0.25rem;
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  color: var(--anj-text-dark);
  background-color: var(--anj-light);
  background-clip: padding-box;
  border: 1px solid var(--anj-form-control-border);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: visible;
}
:host input::-ms-expand,
:host textarea::-ms-expand,
:host .anj-select-toggle::-ms-expand {
  background-color: transparent;
  border: 0;
}
:host input::placeholder,
:host textarea::placeholder,
:host .anj-select-toggle::placeholder {
  color: var(--anj-neutral-dark);
  opacity: 1;
}
:host input:disabled, :host input[readonly],
:host textarea:disabled,
:host textarea[readonly],
:host .anj-select-toggle:disabled,
:host .anj-select-toggle[readonly] {
  background-color: var(--anj-light);
  opacity: 1;
}
:host input:focus,
:host textarea:focus,
:host .anj-select-toggle:focus {
  outline: none;
}
:host .anj-select-toggle {
  padding-right: 2.25rem;
}
:host[readonly] {
  --anj-form-control-border: var(--anj-border-dark);
}
:host[readonly] input,
:host[readonly] textarea,
:host[readonly] .anj-select-toggle {
  background-color: var(--anj-background);
}
:host[disabled] input,
:host[disabled] textarea,
:host[disabled] .anj-select-toggle {
  color: var(--anj-text-muted);
}
:host :host-context(td) input,
:host :host-context(td) textarea,
:host :host-context(td) .anj-select-toggle,
:host :host-context(anj-filter) input,
:host :host-context(anj-filter) textarea,
:host :host-context(anj-filter) .anj-select-toggle,
:host :host-context(anj-type-ahead[search]) input,
:host :host-context(anj-type-ahead[search]) textarea,
:host :host-context(anj-type-ahead[search]) .anj-select-toggle {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}
:host :host-context(td) input,
:host :host-context(td) .anj-select-toggle {
  background-color: inherit;
}
:host :host-context(td) input[type=number],
:host :host-context(td) .anj-select-toggle[type=number] {
  text-align: right;
}
:host :host-context(td) input {
  padding: 0 0 8.5px;
}
:host :host-context(td) .anj-select-toggle {
  padding-bottom: 0.5rem;
  padding-left: 0;
  padding-top: 0;
}
:host :host-context(td) .anj-select-toggle anj-icon-opener {
  margin-top: -0.25rem;
}
:host[multiple] .anj-selected-label:not(:last-child)::after {
  content: ", ";
}
:host[disabled] anj-icon-opener {
  display: none;
}
:host[disabled] .anj-select-toggle {
  color: var(--anj-text-muted);
  cursor: default !important;
}
:host:not([invalid]) .anj-select-toggle:focus, :host:not([invalid]) .anj-select-toggle.anj-active {
  border-color: var(--anj-highlight);
  box-shadow: none;
}
:host .anj-select-toggle {
  position: relative;
  text-align: left;
}
:host .anj-select-toggle anj-icon-opener {
  height: 18px;
  margin-top: -1px;
  position: absolute;
  right: 0.5rem;
  top: calc(50%);
  transform: translateY(-50%);
  transition: color 0.3s ease;
}
:host .anj-select-toggle anj-icon-opener svg {
  fill: var(--anj-neutral-light);
}
:host .anj-select-toggle.anj-placeholder {
  color: var(--anj-neutral-dark);
}
:host .anj-select-toggle > .values-wrapper {
  overflow: hidden;
  text-overflow: ellipsis;
}
:host .anj-select-toggle .anj-selected-label {
  display: inline;
  position: relative;
  white-space: nowrap;
}

:host-context(anj-pager) .anj-select-toggle {
  border-bottom: 0;
  font-size: 0.75rem;
  height: auto;
  padding-left: 0;
  padding-right: 0;
}
:host-context(anj-pager) .anj-dropdown-menu {
  min-width: 2.25rem;
}

:host-context(anj-time-picker-clock) .anj-select-toggle {
  padding-right: 1.75rem;
}