.notification-settings-card > div:not(:first-child) {
  min-height: 58px;
  gap: 16px;
}

#root .notification-setting-switch {
  box-sizing: border-box;
  width: 52px !important;
  min-width: 52px !important;
  height: 28px !important;
  min-height: 28px !important;
  flex: 0 0 52px;
  padding: 0 !important;
  border: 1px solid rgba(148, 163, 184, .5) !important;
  border-radius: 999px !important;
  background: rgba(100, 116, 139, .32) !important;
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 18%);
  cursor: pointer;
  transform: none !important;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}

#root .notification-setting-switch[aria-checked="true"] {
  border-color: #22c55e !important;
  background: #22c55e !important;
  box-shadow: 0 0 0 3px rgb(34 197 94 / 12%), inset 0 1px 2px rgb(0 0 0 / 8%);
}

#root .notification-setting-switch::before {
  content: "OFF";
  position: absolute;
  right: 6px;
  color: #64748b;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .04em;
}

#root .notification-setting-switch[aria-checked="true"]::before {
  content: "ON";
  right: auto;
  left: 7px;
  color: #fff;
}

#root .notification-setting-switch > div {
  top: 4px !important;
  left: 4px !important;
  width: 18px !important;
  height: 18px !important;
  box-shadow: 0 2px 5px rgb(0 0 0 / 28%);
  transform: translateX(0);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1) !important;
}

#root .notification-setting-switch[aria-checked="true"] > div {
  left: 4px !important;
  transform: translateX(24px);
}

#root .notification-setting-switch:focus-visible {
  outline: 3px solid rgb(56 189 248 / 72%) !important;
  outline-offset: 3px !important;
}

#root .notification-setting-switch:active > div { scale: .92; }

@media (max-width: 640px) {
  .notification-settings-card > div:not(:first-child) { min-height: 62px; }
}
