.alert-block {
  width: 100%;
  padding: 2rem;
  background-color: #4abff040;
  border: 0.2rem dashed #4abff0;
  border-radius: 0.4rem;
  box-shadow: 0 0.1rem 0.4rem #0005;
}

h2[data-index]::before {
  display: inline;
  content: attr(data-index) '/' attr(data-max-index);
  margin-right: 0.5em;
  padding: 0.1em 0.3em;
  background-color: #fc0;
  border-left: 0.5rem solid #e3b602;
}

form.text-block {
  gap: 0.5rem;
}

fieldset {
  width: 100%;
  border: none;
}

textarea {
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  line-height: 1.3rem;
  resize: vertical;
  min-height: 4.9rem;
  height: 7.5rem;
  max-height: 14rem;
}

.option {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    'input label'
    '. other';
  gap: 0.5rem 2rem;
  align-items: center;
}
.option > label {
  grid-area: label;
  width: 100%;
  padding: 0.5rem 0;
}
.option > input {
  grid-area: input;
}
.option > input[type='checkbox'],
.option > input[type='radio'] {
  width: 1.5rem;
  height: 1.5rem;
}

.other-content {
  grid-area: other;
  display: none;
}
.other input:checked + .other-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.question-groups {
  gap: 5rem;
}
.question-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.question {
  font-size: 1.5rem;
  line-height: 1.2em;
  color: #111;
  text-decoration: none;
}
.question:hover {
  text-decoration: underline;
}
