/**
 * Auto-generated file. Do not edit directly.
 */
/* stylelint-disable value-keyword-case */
/* stylelint-enable value-keyword-case */
.hint-wrapper {
  flex: 0 1 auto;
  display: flex;
  gap: 0.5rem;
}

.hint-section {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: rgb(var(--cat-font-color-muted, 81, 92, 108));
  font-size: 0.875rem;
  line-height: 1.125rem;
}
.hint-section .input-hint,
.hint-section ::slotted([slot=hint]) {
  margin: 0 !important;
}

:host {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

:host([hidden]) {
  display: none;
}

label {
  flex: 0 1 auto;
  display: flex;
  gap: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.25rem;
  font-weight: var(--cat-font-weight-body, 400);
  /* stylelint-disable property-no-vendor-prefix */
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* stylelint-enable property-no-vendor-prefix */
  cursor: pointer;
}

.label-left {
  flex-direction: row-reverse;
}

input {
  position: absolute;
  margin: 0;
  width: 2rem;
  height: 1.25rem;
  opacity: 0;
  cursor: inherit;
}

.toggle-placeholder {
  width: calc(2rem + 1px);
  flex-shrink: 0;
}

.toggle {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 2rem;
  height: 1.25rem;
  border-radius: 10rem;
  background-color: rgb(var(--cat-border-color-dark, 215, 219, 224));
  transition: background-color 125ms ease;
  pointer-events: none;
}
:checked + .toggle {
  background-color: rgb(var(--cat-primary-bg, 0, 129, 148));
}
:focus-visible + .toggle {
  outline: 2px solid rgb(var(--cat-border-color-focus, 0, 113, 255));
  outline-offset: 1px;
}
.toggle::after {
  content: "";
  position: absolute;
  width: 1rem;
  height: 1rem;
  background: #fff;
  border-radius: 10rem;
  transform: translateX(calc(2px - 0.5rem));
  transition: transform 125ms linear;
  box-shadow: 0 1px 2px rgba(27, 31, 38, 0.06), 0 1px 3px rgba(27, 31, 38, 0.1);
}
:checked + .toggle::after {
  transform: translateX(calc(-2px + 0.5rem));
  background: rgb(var(--cat-primary-fill, 255, 255, 255));
}
.is-disabled .toggle {
  background-color: rgb(var(--cat-border-color-dark, 215, 219, 224));
}

:host(.cat-error) .toggle {
  background-color: rgba(var(--cat-danger-bg, 217, 52, 13), 0.2);
}
:host(.cat-error) :checked + .toggle {
  background-color: rgb(var(--cat-danger-bg, 217, 52, 13));
}
:host(.cat-error) :checked + .toggle::after {
  background: rgb(var(--cat-danger-fill, 255, 255, 255));
}

.label {
  flex: 1 1 auto;
}
.is-hidden .label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.is-disabled {
  cursor: not-allowed;
  color: rgb(var(--cat-font-color-muted, 81, 92, 108));
}

.align-center {
  align-items: center;
}

.align-end {
  align-items: flex-end;
}