/* Work First Interest Form, mobile-friendly layout (Option 1, v03).
   Loaded only on the Work First Interest Form page from ContentPageV2.cshtml.
   Styles are scoped to this form. Field names, order and wording are unchanged. */

/* Form column */
/* Width follows the page column so the form lines up with the intro text */
.umbraco-forms-form.highschoolworkfirstform .umbraco-forms-field { margin-bottom: 22px; }

/* Labels */
.umbraco-forms-form.highschoolworkfirstform .umbraco-forms-label,
.umbraco-forms-form.highschoolworkfirstform .umbraco-forms-legend {
  display: block; margin: 0 0 6px; font-size: 16px; font-weight: 600; line-height: 1.35; color: #161616;
}
.umbraco-forms-form.highschoolworkfirstform .umbraco-forms-indicator { color: #CD0202; }
.umbraco-forms-form.highschoolworkfirstform fieldset { margin: 0; padding: 0; border: 0; }
.umbraco-forms-form.highschoolworkfirstform h5 { margin: 14px 0 16px; font-size: 18px; font-weight: 600; }

/* Text fields, dropdowns, dates and long answers */
.umbraco-forms-form.highschoolworkfirstform input[type=text],
.umbraco-forms-form.highschoolworkfirstform input[type=tel],
.umbraco-forms-form.highschoolworkfirstform input[type=email],
.umbraco-forms-form.highschoolworkfirstform input[type=date],
.umbraco-forms-form.highschoolworkfirstform select,
.umbraco-forms-form.highschoolworkfirstform textarea {
  display: block; width: 100%; max-width: 100%; min-height: 50px; height: auto; margin: 0;
  padding: 12px 14px; font-size: 16px; line-height: 1.4; color: #161616;
  background-color: #fff; border: 1px solid #8a8a8a; border-radius: 6px; box-shadow: none;
}
.umbraco-forms-form.highschoolworkfirstform select { padding-right: 40px; }
.umbraco-forms-form.highschoolworkfirstform input[type=date] { -webkit-appearance: none; appearance: none; text-align: left; }
.umbraco-forms-form.highschoolworkfirstform input[type=date]::-webkit-date-and-time-value { text-align: left; }
.umbraco-forms-form.highschoolworkfirstform textarea { min-height: 130px; resize: vertical; }
.umbraco-forms-form.highschoolworkfirstform input:focus,
.umbraco-forms-form.highschoolworkfirstform select:focus,
.umbraco-forms-form.highschoolworkfirstform textarea:focus {
  border-color: #161616; outline: 2px solid #CD0202; outline-offset: 1px; box-shadow: none;
}

/* College Yes/No: two large tap buttons. The checkboxes stay on the page, 1px and transparent, so required-field checks still run. */
.umbraco-forms-form.highschoolworkfirstform .checkboxlist { display: flex; gap: 10px; margin: 0; padding: 0; }
.umbraco-forms-form.highschoolworkfirstform .checkboxlist > div { position: relative; flex: 1 1 0; margin: 0; }
.umbraco-forms-form.highschoolworkfirstform .checkboxlist input[type=checkbox] {
  position: absolute; left: 50%; top: 50%; width: 1px; height: 1px; margin: 0; opacity: 0;
}
.umbraco-forms-form.highschoolworkfirstform .checkboxlist label {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; margin: 0;
  font-size: 16px; font-weight: 600; color: #161616; background: #fff;
  border: 1px solid #8a8a8a; border-radius: 6px; cursor: pointer;
}
.umbraco-forms-form.highschoolworkfirstform .checkboxlist input:checked + label { color: #fff; background: #CD0202; border-color: #CD0202; }
.umbraco-forms-form.highschoolworkfirstform .checkboxlist input:focus-visible + label { outline: 2px solid #CD0202; outline-offset: 2px; }

/* File upload */
.umbraco-forms-form.highschoolworkfirstform input[type=file] {
  display: block; width: 100%; padding: 14px; font-size: 15px; border: 1px dashed #8a8a8a; border-radius: 6px; background: #fafafa;
}

/* Error messages */
.umbraco-forms-form.highschoolworkfirstform .field-validation-error { display: block; margin-top: 6px; font-size: 14px; color: #CD0202; }
.umbraco-forms-form.highschoolworkfirstform .input-validation-error { border-color: #CD0202; }

/* Submit: full width */
.umbraco-forms-form.highschoolworkfirstform .umbraco-forms-navigation { margin-top: 8px; }
.umbraco-forms-form.highschoolworkfirstform .umbraco-forms-navigation .cell { text-align: center; }
.umbraco-forms-form.highschoolworkfirstform .umbraco-forms-navigation .button { width: 100%; min-height: 56px; margin: 0; }

/* Phones */
@media (max-width: 639px) {
  main .grid-container { padding-left: 20px; padding-right: 20px; }
  .v02 #hero.IsVsn02,
  .v02 #hero.IsVsn02 > .grid-container,
  .v02 #hero.IsVsn02 .grid-y { height: 240px; max-height: 240px; min-height: 0; }
  .v02 #hero.IsVsn02 { background-position: center 30%; }
  .v02 #hero.IsVsn02 h1 { font-size: 40px; line-height: 1.05; }
  main h2.secondary-features__h2 { font-size: 26px; }
}
