.profile-view,
.edit-view,
.child-edit-view,
.reward-edit-view,
.task-edit-view {
  max-width: 400px;
  margin: 2rem auto;
  background: var(--form-bg);
  border-radius: 12px;
  box-shadow: 0 4px 24px var(--form-shadow);
  padding: 2rem 2.2rem 1.5rem 2.2rem;
}

.profile-view h2,
.edit-view h2,
.child-edit-view h2,
.reward-edit-view h2,
.task-edit-view h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--form-heading);
}

.profile-form,
.task-form,
.reward-form,
.child-edit-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.profile-form div.group,
.task-form div.group,
.reward-form div.group,
.child-edit-form div.group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-sizing: border-box;
}

.profile-form div.group label,
.task-form div.group label,
.reward-form div.group label,
.child-edit-form div.group label {
  font-weight: 600;
  color: var(--form-label-color);
  font-size: 1rem;
}

div.group input[type='text'],
div.group input[type='number'],
div.group input[type='email'] {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.5rem;
  border-radius: 7px;
  border: 1px solid var(--form-input-border);
  font-size: 1rem;
  background: var(--form-input-bg);
  box-sizing: border-box;
}
div.group input:focus {
  outline: none;
  border: 1.5px solid var(--form-input-focus);
}

.loading-message {
  text-align: center;
  color: var(--form-loading);
  margin-bottom: 1.2rem;
}

.form-group.image-picker-group {
  display: block;
  text-align: left;
}
