@import url("parents.css");

.teacher-shell .general-fields {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(2, auto);
}

.teacher-general-question {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.teacher-general-question legend {
  width: 100%;
  padding: 0;
  color: #48534b;
  font-size: 700 15px "Be Vietnam Pro",
    sans-serif;
  font-weight: 700;
  line-height: 1.6;
}

.teacher-general-question legend b {
  color: #a34835;
}

.teacher-general-options {
  margin-top: 8px;
  display: grid;
  gap: 8px;
      grid-template-columns: repeat(4, minmax(0, 1fr));
  
}

.teacher-scale-card {
  padding-bottom: 21px;
}

.teacher-scale-card .section-heading {
  margin-bottom: 8px;
}

.teacher-scale-card p,
.teacher-reference {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.teacher-scale-key {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  color: #48534b;
  font-size: 11px;
  line-height: 1.5;
}

.teacher-scale-key span {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.teacher-scale-key b {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  color: var(--green-dark);
  background: #e7edd9;
  font-size: 10px;
}

.teacher-reference {
  margin-top: 10px;
  font-size: 11px;
}

.teacher-multi-choice .choice-option::before {
  border-radius: 5px;
}

.teacher-multi-choice .choice-option:has(input:checked)::before {
  border: 1px solid var(--green);
  background: var(--green);
  box-shadow: inset 0 0 0 3px #fff;
}

.teacher-multi-choice .choice-option:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.58;
}

.teacher-complete-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 620px) {
  .teacher-general-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teacher-scale-key {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}
