/* ===== SETTINGS PAGE ===== */
.settings-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 700px;
}

.settings-group h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.setting-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.setting-row h4 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.setting-row p {
  font-size: 0.8rem;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 26px;
  transition: var(--transition);
}

.toggle-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

body.light-mode .toggle-slider {
  background: rgba(0, 0, 0, 0.15);
}

/* Danger Zone */
.danger-zone {
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.danger-zone h3 {
  color: var(--danger);
}
