.settings-card {
  margin-top: 24px;
}

.settings-card:first-of-type {
  margin-top: 0;
}

.settings-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 14px 0;
  border-bottom: 1px solid #26262c;
}

.settings-row:last-child {
  border-bottom: none;
}

.settings-label {
  font-size: 0.95rem;
  color: #ddd;
}

.settings-hint {
  font-size: 0.85rem;
  color: #888;
  margin-top: 4px;
}

.settings-link {
  color: #ff4d8d;
  text-decoration: none;
}

.settings-link:hover {
  text-decoration: underline;
}

/* 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;
  inset: 0;
  background: #2a2a30;
  border: 1px solid #3a3a42;
  border-radius: 26px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background: #888;
  border-radius: 50%;
  transition: transform 0.25s ease, background 0.25s ease;
}

.toggle-switch input:checked + .toggle-slider {
  background: rgba(255, 77, 109, 0.25);
  border-color: #ff4d8d;
}

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

.toggle-switch input:focus-visible + .toggle-slider {
  box-shadow: 0 0 0 2px rgba(255, 77, 109, 0.4);
}
