:host {
  line-height: initial;
  font-family: var(--dyte-font-family, sans-serif);

  font-feature-settings: normal;
  font-variation-settings: normal;
}

p {
  margin: var(--dyte-space-0, 0px);
  padding: var(--dyte-space-0, 0px);
}


:host {
  box-sizing: border-box;
  display: inline-flex;
  height: var(--dyte-space-6, 24px);
  width: var(--dyte-space-10, 40px);
  align-items: center;
  padding: var(--dyte-space-1, 4px);
  border-radius: 9999px;
  background-color: rgb(var(--dyte-colors-text-600, 255 255 255 / 0.52));
  cursor: pointer;
}

.switch {
  box-sizing: border-box;
  height: var(--dyte-space-4, 16px);
  width: var(--dyte-space-4, 16px);
  background-color: rgb(var(--dyte-colors-text-on-brand-1000, var(--dyte-colors-text-1000, 255 255 255)));
  border-radius: 9999px;

  transition-property: var(--dyte-transition-property, all);
  transition-duration: 200ms;
}

:host(.checked) {
  --tw-bg-opacity: 1;
  background-color: rgba(var(--dyte-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));
}

:host(.checked) .switch {
  transform: translateX(100%);
}

:host([readonly]), 
:host([disabled]) {
  cursor: not-allowed;
  opacity: 0.6;
}
