.np-switch {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  overflow: hidden;
  width: 50px;
  padding: 2px;
  border-radius: 16px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: pointer;
}
.np-switch:focus {
  outline: none;
}
.np-switch:focus-visible {
  outline: var(--ring-outline-color) solid var(--ring-outline-width);
  outline-offset: var(--ring-outline-offset);
}
.np-switch--thumb {
  display: flex;
  transition: transform cubic-bezier(0, 0.94, 0.62, 1) 350ms;
}
.np-switch--thumb .tw-icon {
  color: #fff;
}
.np-switch--unchecked {
  background: #c9cbce;
  background: var(--color-interactive-secondary);
}
.np-switch--unchecked .switch--thumb {
  transform: translateX(0);
}
.np-switch--checked {
  background: #00a2dd;
  background: var(--color-interactive-accent);
}
.np-switch--checked .np-switch--thumb {
  transform: translateX(20px)  ;
}
[dir="rtl"] .np-switch--checked .np-switch--thumb {
  transform: translateX(-20px)  ;
}
.np-switch.disabled {
  filter: grayscale(1);
  opacity: 0.45;
  cursor: not-allowed !important;
}
.np-theme-personal .np-switch {
  padding: 1px 2px;
}
.np-theme-personal .np-switch--checked {
  background: var(--color-interactive-primary);
}
.np-theme-personal .np-switch--thumb {
  width: 20px;
  height: 20px;
  margin: 3px;
  border-radius: 50%;
  background-color: #ffffff;
  background-color: var(--color-background-screen);
}
