:host {
  display: block;
  font-size: 0.875rem;
  font-family: var(--anj-font-family);
  font-weight: normal;
  line-height: 1.5;
  outline: none;
  display: inline-flex;
}
: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;
}
@media (max-width: 575.98px) {
  :host {
    display: block;
    margin-bottom: 0.5rem;
  }
}
:host[stacked] {
  display: block;
  margin-bottom: 0.5rem;
}
:host.anj-focused .anj-slide {
  border-color: var(--anj-highlight);
  box-shadow: 0 0 0 0.25rem rgba(18, 105, 186, 0.25);
}
:host[checked] .anj-slide {
  background-color: var(--anj-light);
  border-color: var(--anj-border-dark);
}
:host[checked] .anj-indicator {
  background-color: var(--anj-highlight);
  box-shadow: 0 0 0.3rem var(--anj-neutral);
  transform: translateX(1.2rem);
}
:host[invalid] {
  color: var(--anj-danger);
}
:host[invalid] .anj-slide {
  border-color: var(--anj-danger);
}
:host[invalid] .anj-indicator {
  background-color: var(--anj-danger);
  border-color: var(--anj-danger);
}
:host[invalid] .anj-indicator:hover {
  box-shadow: 0 0 0.3rem var(--anj-danger);
}
:host[invalid].anj-focused .anj-slide {
  box-shadow: 0 0 0 0.25rem rgba(165, 44, 44, 0.25);
}
:host[disabled] {
  color: var(--anj-neutral);
}
:host[disabled] .anj-indicator {
  background-color: var(--anj-background);
  border: none;
  box-shadow: 0 0 0.2rem var(--anj-neutral-light);
}
:host[disabled] .anj-slide {
  background-color: var(--anj-background);
  border: solid 1px;
  border-color: var(--anj-border-dark);
  box-shadow: none;
}
:host[disabled][checked] .anj-indicator {
  background-color: var(--anj-neutral-light);
  transform: translateX(1.2rem);
}
:host .anj-label {
  display: inline-block;
  line-height: 1.1rem;
  margin-bottom: 0;
  padding-left: 2.75rem;
  position: relative;
  transition: all 0.3s ease;
}
:host .anj-indicator {
  background-color: var(--anj-light);
  border-radius: 1.5rem;
  box-shadow: 0 0 0.3rem var(--anj-shadow);
  content: "";
  cursor: pointer;
  display: inline-block;
  line-height: 1.1rem;
  height: 1.1rem;
  left: 0;
  width: 1.1rem;
  position: absolute;
  transition: 0.2s ease;
}
:host .anj-indicator:hover {
  box-shadow: 0 0 0.3rem var(--anj-highlight);
}
:host .anj-slide {
  background-color: var(--anj-light);
  border: solid;
  border-color: var(--anj-border-dark);
  border-radius: 1.5rem;
  border-width: 1px;
  bottom: 0;
  cursor: pointer;
  left: 0;
  margin-top: 1px;
  margin-bottom: 1px;
  position: absolute;
  right: 0;
  transition: border-color 0.3s ease, box-shadow 0.2s ease;
  top: 0;
}
:host .anj-toggle {
  display: inline-block;
  height: 1.1rem;
  left: 0;
  position: absolute;
  top: 0;
  width: 2.25rem;
}