#oscar_school_form .username_field {
  width: 0;
  height: 0;
  overflow: hidden;
}

.input-group {
  position: relative;
}

#oscar_school_form select.error,
#oscar_school_form input.error {
  border: 2px solid #f15d5d !important;
}

.error-msg {
  background-color: #f15d5d;
  padding: 10px 15px;
  border-radius: 5px;
  color: white;
  font-size: 12px;
  margin-top: 5px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  width: max-content;
  max-width: 100%;
}
.error-msg::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #f15d5d;
}

legend {
  display: none;
}

#oscar_school_form fieldset.oc-subform legend {
  font-weight: 600;
  padding: 0 0.5rem;
  width: auto;
}

#oscar_school_form fieldset.oc-subform.error {
  border-color: #f15d5d;
}

[type="checkbox"] {
  margin-right: 10px;
}