/* ============================================================
   61-careers-apply — careers application form (#apply) on the
   Join Our Team page and each role page. Field, error and success
   styles reuse the benefits-check form vocabulary in 11-insurance.css.
   ============================================================ */

.sec-61-careers-apply {
  padding-top: 0;
  /* Continues the white article section above it */
  background: var(--white);
}

.sec-61-careers-apply__panel {
  max-width: 44rem;
  margin: 0 auto;
  background: var(--bone-2);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  overflow-wrap: anywhere;
}

.sec-61-careers-apply__panel h2 {
  font-size: var(--fs-h4);
  margin-bottom: 0.5rem;
}

.sec-61-careers-apply__lead {
  color: var(--text-on-bone-dim);
  margin-bottom: 1.4rem;
}

.sec-61-careers-apply .sec-11-insurance__field small.sec-11-insurance__field-error {
  color: #b03a3a;
  font-size: 0.8rem;
}
.sec-61-careers-apply .sec-11-insurance__field small.sec-11-insurance__field-error:empty {
  display: none;
}

.sec-61-careers-apply__form .sec-11-insurance__field input[type="file"] {
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.sec-61-careers-apply__form .sec-11-insurance__field input[type="file"]::file-selector-button {
  margin-right: 0.8rem;
  padding: 0.4rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
}
