.notifications-intro {
  margin: 0 0 var(--theme-space-4, 16px);
  font-size: var(--theme-font-sm);
  color: var(--theme-text-secondary);
}

.notifications-list {
  display: flex;
  flex-direction: column;
  gap: var(--theme-space-2, 8px);
}

.notifications-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--theme-space-3, 12px);
  padding: var(--theme-space-2, 8px) var(--theme-space-3, 12px);
  border: 1px solid var(--theme-border-subtle);
  border-radius: var(--theme-radius-md, 8px);
  background: var(--theme-bg-secondary);
  cursor: pointer;
}

.notifications-item-label {
  font-size: var(--theme-font-sm);
  color: var(--theme-text-primary);
}

.notifications-switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  width: 42px;
  height: 24px;
}

.notifications-switch-input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.notifications-switch-track {
  position: absolute;
  inset: 0;
  border-radius: var(--theme-radius-full, 999px);
  background: var(--theme-bg-tertiary, #eeeeea);
  border: 1px solid var(--theme-border-subtle);
  transition: background 150ms, border-color 150ms;
}

.notifications-switch-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: var(--theme-radius-full, 999px);
  background: var(--theme-surface-raised, #ffffff);
  box-shadow: var(--theme-shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.2));
  transition: transform 150ms;
}

.notifications-switch-input:checked + .notifications-switch-track {
  background: var(--theme-color-primary);
  border-color: var(--theme-color-primary);
}

.notifications-switch-input:checked + .notifications-switch-track::after {
  transform: translateX(18px);
}

.notifications-switch-input:focus-visible + .notifications-switch-track {
  outline: 2px solid var(--theme-color-primary);
  outline-offset: 2px;
}
