.heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 1.5rem;
}

/* ── Sections ──────────────────────────────────────────────────────────────── */

.section {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.sectionTitle {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 1rem;
}

/* ── Form elements ─────────────────────────────────────────────────────────── */

.fieldGroup {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.label {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.input {
  padding: 0.625rem 0.75rem;
  background: var(--color-bg-input);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text-primary);
  font-size: 0.9375rem;
  transition: border-color 0.15s;
}

.input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent-focus);
}

.inputReadonly {
  composes: input;
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Button ────────────────────────────────────────────────────────────────── */

.button {
  margin-top: 0.75rem;
  padding: 0.625rem 1.25rem;
  background: var(--color-accent);
  color: #0f0f14;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  align-self: flex-start;
}

.button:hover:not(:disabled) {
  background: var(--color-accent-hover);
}

.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Feedback ──────────────────────────────────────────────────────────────── */

.error {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.success {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 1.25rem 0;
}
