/* Teacher profile application; scoped independently from account signup. */
.teacher-registration-page {
  max-width: 1000px;
  margin: 24px auto 48px;
  color: #233047;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
.teacher-registration-page,
.teacher-registration-page * { box-sizing: border-box; }
.teacher-registration-page .page-title {
  margin: 0 0 24px;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: center;
}
.teacher-registration-page .page-title h1 {
  margin: 0;
  color: #233047;
  font: 800 clamp(28px, 4vw, 38px)/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: -.025em;
}
.teacher-registration-page .page-body {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid #dfe4ee;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 41, 64, .06);
  font-size: 15px;
}
.teacher-registration-page .page-body > p { margin: 0 0 22px; }
.teacher-registration-page .alert {
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid #d7def1;
  border-radius: 12px;
  background: #f1f4fb;
  color: #34476b;
  overflow-wrap: anywhere;
}
.teacher-registration-page .alert-success {
  border-color: #b9ddca;
  background: #eff8f2;
  color: #24553c;
}
.teacher-registration-page .alert-warning {
  border-color: #eed5a7;
  background: #fff8e9;
  color: #71511c;
}
.teacher-registration-page form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}
.teacher-registration-page .inputs {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  text-align: left;
  white-space: normal;
  font-size: 15px;
}
.teacher-registration-page .hos-registration-school,
.teacher-registration-page .hos-registration-invitation,
.teacher-registration-page form > .buttons { grid-column: 1 / -1; }
.teacher-registration-page .inputs > label {
  display: block;
  width: auto;
  margin: 0 0 8px;
  padding: 0;
  color: #233047;
  font: 700 14px/1.5 Arial, Helvetica, sans-serif;
  text-align: left;
}
.teacher-registration-page .inputs .input-text {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 50px;
  height: auto;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #bdc8da;
  border-radius: 10px;
  background: #fff;
  color: #233047;
  font: 400 16px/1.5 Arial, Helvetica, sans-serif;
}
.teacher-registration-page .inputs select.input-text { padding-right: 36px; }
.teacher-registration-page .inputs .input-text::placeholder { color: #67758b; opacity: 1; }
.teacher-registration-page .inputs .input-text[readonly] { background: #f5f7fb; }
.teacher-registration-page .inputs .input-text:focus {
  outline: 3px solid rgba(81, 70, 151, .22);
  outline-offset: 2px;
  border-color: #514697;
}
.teacher-registration-page .inputs > p {
  margin: 9px 0 0;
  color: #546178;
  font-size: 13px;
  line-height: 1.6;
}
.teacher-registration-page .buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0;
  text-align: left;
}
.teacher-registration-page form > .buttons {
  padding-top: 20px;
  border-top: 1px solid #e6eaf2;
}
.teacher-registration-page .button-1,
.teacher-registration-page .button-2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 140px;
  max-width: 100%;
  min-height: 46px;
  height: auto;
  margin: 0;
  padding: 12px 20px;
  border: 1px solid #514697;
  border-radius: 10px;
  background: #514697;
  color: #fff;
  font: 700 14px/1.5 Arial, Helvetica, sans-serif;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
}
.teacher-registration-page .button-2 { background: #fff; color: #514697; }
.teacher-registration-page .button-1:hover { background: #403579; }
.teacher-registration-page .button-2:hover { background: #f2effa; }
.teacher-registration-page a:focus-visible,
.teacher-registration-page button:focus-visible { outline: 3px solid #514697; outline-offset: 3px; }
.teacher-registration-page .message-error,
.teacher-registration-page .field-validation-error {
  color: #a32323;
  text-align: left;
  overflow-wrap: anywhere;
}
.teacher-registration-page .message-error { margin: 0 0 18px; }
.teacher-registration-page .message-error:empty,
.teacher-registration-page .validation-summary-valid { display: none; }
.teacher-registration-page .field-validation-error { display: block; margin-top: 7px; font-size: 13px; }
.teacher-registration-page .input-validation-error { border-color: #a32323; }
.teacher-registration-page .hos-change { margin-top: 8px; }
.teacher-registration-page .hos-change a { color: #514697; text-decoration: underline; }
.teacher-registration-page .hos-picker { margin-top: 12px; }
.teacher-registration-page .hos-results {
  max-height: 280px;
  margin-top: 8px;
  overflow-y: auto;
  border: 1px solid #bdc8da;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 41, 64, .08);
}
.teacher-registration-page .hos-item {
  min-height: 44px;
  padding: 12px 14px;
  color: #233047;
  font-size: 14px;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.teacher-registration-page .hos-item + .hos-item { border-top: 1px solid #e6eaf2; }
.teacher-registration-page .hos-item:hover { background: #f2effa; }
@media (max-width: 600px) {
  .teacher-registration-page { margin: 18px auto 30px; }
  .teacher-registration-page .page-title { margin-bottom: 18px; }
  .teacher-registration-page .page-body { padding: 22px 18px; border-radius: 16px; }
  .teacher-registration-page form { grid-template-columns: 1fr; gap: 20px; }
  .teacher-registration-page .buttons > .button-1,
  .teacher-registration-page .buttons > .button-2 { width: 100%; }
}
