.kids-form-page {
  padding-top: 34px;
  padding-bottom: 28px;
}

.kids-form-page .page-head {
  margin-bottom: 24px;
}

.page-head__eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.kids-form-page .page-head h1 {
  margin-bottom: 0;
  font-size: clamp(1.62rem, 2.35vw, 2.15rem);
  letter-spacing: -0.025em;
}

.kids-form-page .page-head p {
  margin-top: 11px;
  max-width: 68ch;
  font-size: 0.95rem;
  line-height: 1.62;
}

.page-head__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.form-card {
  border: 1px solid #e4d8f7;
  border-radius: 20px;
  box-shadow: 0 20px 44px rgba(45, 29, 84, 0.13);
  padding: 30px;
}

.content-card__head {
  align-items: flex-start;
  margin-bottom: 20px;
}

.content-card__subhead {
  margin: 6px 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-500);
}

.form-card__hint {
  font-size: 0.78rem;
  color: var(--text-500);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.form-section + .form-section {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #eee4fb;
}

.form-section__title {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 750;
  color: var(--text-900);
  letter-spacing: -0.01em;
}

.form-label {
  margin-bottom: 0.52rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-700);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.form-control,
.form-select {
  min-height: 46px;
  border-radius: 12px;
  border-color: #d6c8f1;
  color: var(--text-700);
  font-size: 0.93rem;
  padding-inline: 0.86rem;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control::placeholder {
  color: #9e93ba;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: #b699ed;
  box-shadow: 0 0 0 0.22rem rgba(111, 66, 193, 0.15);
  background-color: #fff;
}

textarea.form-control {
  min-height: 128px;
  padding-top: 0.68rem;
  resize: vertical;
}

.form-check-label {
  color: var(--text-700);
  font-weight: 500;
  line-height: 1.5;
}

.form-check-input {
  margin-top: 0.27em;
}

.invalid-feedback {
  margin-top: 0.4rem;
  font-size: 0.79rem;
  font-weight: 500;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px dashed #eadffc;
}

#formFeedback {
  border-radius: 12px;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .kids-form-page {
    padding-top: 20px;
  }

  .form-card {
    padding: 20px;
  }

  .content-card__head {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .page-head__actions,
  .form-actions {
    width: 100%;
  }

  .page-head__actions .btn,
  .form-actions .btn {
    flex: 1;
  }
}
