.apply-page .secure-note {
  color: #33374a;
  font-size: 14px;
  font-weight: 700;
}

.apply-page .public-section-head p {
  color: #55596b;
  font-size: 14px;
  line-height: 1.5;
}

.apply-page .field > span {
  color: #222538;
  font-size: 15px;
  line-height: 1.35;
}

.apply-page .field input,
.apply-page .field select,
.apply-page .field textarea {
  min-height: 48px;
  border-color: #c9cdda;
  color: #17192b;
  background: #fff;
  font-size: 16px;
  line-height: 1.45;
}

.apply-page .field textarea {
  min-height: 104px;
}

.apply-page .field select {
  height: 50px;
  padding: 0 44px 0 14px;
  line-height: normal;
}

.apply-page .field select option {
  color: #17192b;
  background: #fff;
  font-size: 16px;
}

.apply-page .field input[readonly] {
  color: #303448;
  background: #eef1f6;
  font-weight: 800;
  cursor: not-allowed;
}

.apply-page .field input::placeholder,
.apply-page .field textarea::placeholder {
  color: #626879;
  opacity: 1;
}

.apply-page .consent {
  color: #303448;
  background: #f2eaf8;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.apply-page .consent span {
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.apply-page .public-submit p {
  color: #505568;
  font-size: 14px;
  line-height: 1.5;
}

.apply-page .public-submit .button {
  min-height: 48px;
  font-size: 15px;
}

.apply-page .public-error p,
.apply-page .success-card p {
  color: #505568;
  font-size: 16px;
  line-height: 1.6;
}

.apply-page .application-children {
  display: grid;
  gap: 18px;
}

.apply-page .application-child-card {
  padding: 20px;
  border: 1px solid #ddd4e8;
  border-radius: 18px;
  background: #faf8fc;
}

.apply-page .application-child-head,
.apply-page .course-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.apply-page .application-child-head {
  margin-bottom: 18px;
}

.apply-page .application-child-head span {
  display: block;
  color: #8140aa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.apply-page .application-child-head h3 {
  margin: 4px 0 0;
  color: #191a2e;
  font-size: 19px;
}

.apply-page .child-remove-button {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid #efbcc7;
  border-radius: 12px;
  color: #b63855;
  background: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.apply-page .add-child-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 50px;
  margin-top: 16px;
  border: 1px dashed #a864c7;
  border-radius: 14px;
  color: #713693;
  background: #f7f0fb;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.apply-page .add-child-button span {
  font-size: 22px;
}

.apply-page .child-course-picker {
  padding: 16px;
  border: 1px solid #ddd4e8;
  border-radius: 15px;
  background: #fff;
}

.apply-page .child-course-picker.is-invalid {
  border-color: #d93659;
  box-shadow: 0 0 0 3px rgba(217,54,89,.1);
}

.apply-page .course-picker-head b,
.apply-page .course-picker-head small {
  display: block;
}

.apply-page .course-picker-head b {
  color: #222538;
  font-size: 15px;
}

.apply-page .course-picker-head em {
  color: #df385d;
  font-style: normal;
}

.apply-page .course-picker-head small {
  margin-top: 4px;
  color: #666b7d;
  font-size: 13px;
}

.apply-page .course-picker-head > span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: #6d3a8c;
  background: #f0e3f7;
  font-size: 12px;
  font-weight: 800;
}

.apply-page .course-search {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 14px 0 10px;
  padding: 0 13px;
  border: 1px solid #c9cdda;
  border-radius: 12px;
  background: #fff;
}

.apply-page .course-search > span {
  color: #74788a;
  font-size: 23px;
}

.apply-page .course-search input {
  width: 100%;
  min-height: 46px;
  border: 0;
  outline: 0;
  color: #17192b;
  background: transparent;
  font: inherit;
  font-size: 15px;
}

.apply-page .course-options {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
  max-height: 300px;
  padding: 3px;
  overflow: auto;
}

.apply-page .course-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 11px;
  border: 1px solid #e0e1e9;
  border-radius: 12px;
  background: #fbfbfd;
  cursor: pointer;
}

.apply-page .course-option.is-featured {
  border-color: #d7b7e7;
  background: linear-gradient(135deg,#fcf7ff,#f3f6ff);
}

.apply-page .course-featured-label {
  display: inline-block;
  margin-bottom: 5px;
  padding: 3px 7px;
  border-radius: 99px;
  color: #764095;
  background: #ead8f3;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.apply-page .course-option:has(input:checked) {
  border-color: #9c58bd;
  background: #f6eefb;
  box-shadow: 0 0 0 2px rgba(156,88,189,.08);
}

.apply-page .course-option input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  accent-color: #8c43b4;
}

.apply-page .course-option span,
.apply-page .course-option b,
.apply-page .course-option small {
  display: block;
  min-width: 0;
}

.apply-page .course-option .course-public-summary {
  color: #41465a;
  font-size: 11px;
  line-height: 1.45;
}

.apply-page .course-option b {
  color: #242638;
  font-size: 14px;
  line-height: 1.35;
}

.apply-page .course-option small {
  margin-top: 3px;
  color: #666b7d;
  font-size: 12px;
  line-height: 1.35;
}

.apply-page .selected-course-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.apply-page .selected-course-summary span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #663181;
  background: #eee0f6;
  font-size: 12px;
  font-weight: 700;
}

.apply-page .selected-course-summary small {
  color: #777b8b;
  font-size: 13px;
}

.apply-page .manual-course-field {
  margin-top: 13px;
}

.apply-page .manual-course-field textarea {
  min-height: 74px;
}

.apply-page .course-catalog-empty {
  display: grid;
  gap: 5px;
  margin-top: 13px;
  padding: 13px;
  border-radius: 12px;
  color: #725a1e;
  background: #fff5c9;
}

.apply-page .course-catalog-empty span {
  font-size: 13px;
}

@media (max-width: 700px) {
  .apply-page .secure-note {
    font-size: 12px;
  }

  .apply-page .public-section-head p {
    font-size: 13px;
  }

  .apply-page .field > span {
    font-size: 14px;
  }

  .apply-page .field input,
  .apply-page .field select,
  .apply-page .field textarea {
    font-size: 16px;
  }

  .apply-page .consent,
  .apply-page .consent span {
    font-size: 13px !important;
  }

  .apply-page .application-child-card {
    padding: 16px 13px;
  }

  .apply-page .course-options {
    grid-template-columns: 1fr;
    max-height: 360px;
  }

  .apply-page .course-picker-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
}
