/* kodza-guard 7928509c471a — generated by Kodza, do not edit.
   Theme guard: keeps a site's own CSS (WordPress themes, Bootstrap, CSS resets…) off this
   component. :not(#_) is always true and weighs as much as an id, so these lines win over
   theme rules made of classes and tags. Customise the component through its --kz-* variables. */

/* What the browser gives, where the component sets it only in some states: at the lowest weight, so its own rules below put it back */

:where(.kodza-switch__row):not(#_) {
  border-top-width: revert;
  border-top-style: revert;
  border-top-color: revert;
}

/* What the browser gives, on everything the component leaves to it */

.kodza-switch:not(#_),
.kodza-switch__text:not(#_),
.kodza-switch__track:not(#_),
.kodza-switch__thumb:not(#_),
.kodza-switch__words:not(#_),
.kodza-switch__words span:where(:not([class*="kodza-"])):not(#_) {
  box-sizing: revert;
}

.kodza-switch__row:not(#_) {
  margin: revert;
  border-radius: revert;
  outline: revert;
  text-decoration: revert;
  transition: revert;
  list-style: revert;
  box-sizing: revert;
  float: revert;
  border-right-width: revert;
  border-bottom-width: revert;
  border-left-width: revert;
  border-right-style: revert;
  border-bottom-style: revert;
  border-left-style: revert;
  border-right-color: revert;
  border-bottom-color: revert;
  border-left-color: revert;
  background-color: revert;
  background-image: revert;
  box-shadow: revert;
  outline-offset: revert;
  appearance: revert;
  max-width: revert;
  max-height: revert;
  color: revert;
  font-family: revert;
  font-size: revert;
  font-weight: revert;
  font-style: revert;
  line-height: revert;
  letter-spacing: revert;
  text-transform: revert;
  text-underline-offset: revert;
  text-align: revert;
  text-indent: revert;
  text-shadow: revert;
  vertical-align: revert;
}

.kodza-switch__input:not(#_) {
  border: revert;
  padding: revert;
  border-radius: revert;
  outline: revert;
  text-decoration: revert;
  transition: revert;
  list-style: revert;
  box-sizing: revert;
  float: revert;
  background-color: revert;
  background-image: revert;
  box-shadow: revert;
  outline-offset: revert;
  appearance: revert;
  max-width: revert;
  max-height: revert;
  color: revert;
  font-family: revert;
  font-size: revert;
  font-weight: revert;
  font-style: revert;
  line-height: revert;
  letter-spacing: revert;
  text-transform: revert;
  text-underline-offset: revert;
  text-align: revert;
  text-indent: revert;
  text-shadow: revert;
  vertical-align: revert;
  white-space: revert;
  min-height: revert;
}

.kodza-switch__text small:where(:not([class*="kodza-"])):not(#_) {
  border: revert;
  margin: revert;
  padding: revert;
  border-radius: revert;
  outline: revert;
  text-decoration: revert;
  transition: revert;
  list-style: revert;
  box-sizing: revert;
  float: revert;
  position: revert;
  background-color: revert;
  background-image: revert;
  box-shadow: revert;
  outline-offset: revert;
  appearance: revert;
  max-width: revert;
  max-height: revert;
  font-family: revert;
  font-style: revert;
  letter-spacing: revert;
  text-transform: revert;
  text-underline-offset: revert;
  text-align: revert;
  text-indent: revert;
  text-shadow: revert;
  vertical-align: revert;
}

.kodza-switch__input:not(#_):where(:not([hidden])),
.kodza-switch__text small:where(:not([class*="kodza-"])):not(#_):where(:not([hidden])) {
  display: revert;
}

.kodza-switch__input:not(#_):where([hidden]),
.kodza-switch__text small:where(:not([class*="kodza-"])):not(#_):where([hidden]) {
  display: none;
}

.kodza-switch__track:not(#_)::before {
  box-sizing: revert;
}

/* The component's own rules, one step stronger: real buttons and fields, what it sets on tags themes style (links, lists, headings, images…), and the root width (a theme may narrow it, never widen it) */

.kodza-switch:not(#_) {
  width: min(100%, 440px);
}

.kodza-switch__row:not(#_) {
  position: relative;
  display: flex;
  padding: 14px 0;
}

.kodza-switch__row + .kodza-switch__row:not(#_) {
  border-top: 1px solid var(--kz-switch-off);
}

.kodza-switch__text small:not(#_) {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--kz-switch-muted);
}

.kodza-switch__input:not(#_) {
  position: absolute;
  top: 50%;
  right: 0;
  width: var(--kz-switch-width);
  height: var(--kz-switch-height);
  margin: 0;
  opacity: 0;
  cursor: inherit;
  transform: translateY(-50%);
}

.kodza-switch--inline:not(#_) {
  width: auto;
}

.kodza-switch--inline .kodza-switch__row:not(#_) {
  padding: 0;
}

.kodza-switch--inline .kodza-switch__text small:not(#_) {
  font-size: 12.5px;
  line-height: 1.25;
}
