.np-switch {
  display: inline-flex;
  overflow: hidden;
  width: 50px;
  padding: 2px;
  border-radius: 16px;
}
.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 input {
  position: absolute;
  left: -100%;
  display: none;
  width: 0;
  height: 0;
  opacity: 0;
}
[dir="rtl"] .np-switch input {
  right: -100%;
  left: auto;
  left: initial;
}
.np-switch:not([aria-disabled]) {
  cursor: pointer;
}
.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);
}
