





.teacher-type-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}
.teacher-type-card {
  display: block;
  padding: 14px 8px;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  background: #fff;
  transition: all 0.15s;
  position: relative;
  user-select: none;
}
.teacher-type-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.teacher-type-card:hover { border-color: #D1D5DB; }
.teacher-type-card.active {
  border-color: #10B981;
  background: #ECFDF5;
}
.teacher-type-card .tt-icon { font-size: 22px; margin-bottom: 4px; line-height: 1; }
.teacher-type-card .tt-title {
  font-weight: 600;
  font-size: 14px;
  color: #111827;
  margin-bottom: 2px;
}
.teacher-type-card .tt-desc {
  font-size: 11px;
  color: #6B7280;
  line-height: 1.3;
}


.form-section-label {
  font-size: 13px;
  color: #374151;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.form-section-hint {
  font-size: 12px;
  color: #6B7280;
  margin-bottom: 8px;
}
.checkbox-grid {
  display: grid;
  gap: 6px;
}
.checkbox-grid.grades   { grid-template-columns: repeat(6, 1fr); }
.checkbox-grid.subjects { grid-template-columns: repeat(5, 1fr); }
.checkbox-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
  transition: all 0.12s;
  font-size: 13px;
  color: #374151;
  user-select: none;
  text-align: center;
  line-height: 1.2;
}
.checkbox-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.checkbox-item:hover { border-color: #D1D5DB; }
.checkbox-item.checked {
  border-color: #10B981;
  background: #ECFDF5;
  color: #065F46;
  font-weight: 600;
}


.tt-section { display: none; }
.tt-section.visible { display: block; }

@media (max-width: 480px) {
  .teacher-type-selector { grid-template-columns: 1fr; }
  .checkbox-grid.grades   { grid-template-columns: repeat(3, 1fr); }
  .checkbox-grid.subjects { grid-template-columns: repeat(3, 1fr); }
}
