.settings-page {
  padding: 32px 48px;
  max-width: 820px;
  margin: 0 auto;
  color: var(--color-text, #e8e8e8);
}

.page-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;

  h1 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
  }
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: transparent;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;

  &:hover { background: rgba(255, 255, 255, 0.05); }
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 20px;

  h2 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 600;
  }
}

.hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 4px 0 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;

  label { font-size: 0.9rem; font-weight: 500; }

  input[type="text"],
  input[type="password"],
  select {
    padding: 9px 12px;
    background: rgba(0, 0, 0, 0.25);
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    font-size: 0.95rem;

    &:focus {
      outline: none;
      border-color: var(--color-accent, #7a5cff);
    }
  }
}

.radio-group { display: flex; gap: 24px; }
.radio, .checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.95rem;
}

.inline-select {
  display: flex;
  gap: 8px;
  align-items: center;

  select { flex: 1; }
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--color-accent, #7a5cff);
  color: #fff;
  &:hover:not(:disabled) { filter: brightness(1.1); }
  &:disabled { opacity: 0.6; cursor: not-allowed; }
}
.btn-secondary {
  background: transparent;
  color: inherit;
  border-color: rgba(255, 255, 255, 0.15);
  &:hover:not(:disabled) { background: rgba(255, 255, 255, 0.05); }
}

.actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.alert-error   { background: rgba(220, 80, 80, 0.15); color: #ff9b9b; }
.alert-success { background: rgba(80, 200, 120, 0.15); color: #a2e8b6; }
