.career-application {
  scroll-margin-top: var(--selcom-header-height);
  padding: clamp(76px, 8vw, 136px) 0;
  background: #f4f4f3;
}

.career-application__inner {
  display: grid;
  width: min(calc(100% - 96px), 1460px);
  margin: 0 auto;
  grid-template-columns: minmax(300px, 0.78fr) minmax(560px, 1.22fr);
  gap: clamp(64px, 7vw, 128px);
}

.career-application__intro {
  align-self: start;
}

.career-application__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 25px;
  color: var(--selcom-red);
  font-family: "Nexa Bold", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.career-application__eyebrow::after {
  width: 52px;
  height: 1px;
  content: "";
  background: currentColor;
}

.career-application__intro h2 {
  max-width: 610px;
  color: #18191d;
  font-size: clamp(38px, 3.3vw, 62px);
  line-height: 1.07;
}

.career-application__intro h2 span {
  color: var(--selcom-red);
}

.career-application__lead {
  max-width: 570px;
  margin-top: 30px;
  color: #555a62;
  font-size: clamp(18px, 1.25vw, 22px);
  line-height: 1.6;
}

.career-application__steps {
  margin-top: clamp(48px, 6vw, 82px);
  border-top: 1px solid #d8d8d6;
}

.career-application__step {
  display: grid;
  padding: 23px 0;
  border-bottom: 1px solid #d8d8d6;
  grid-template-columns: 48px 1fr;
  gap: 16px;
}

.career-application__step > span {
  padding-top: 3px;
  color: var(--selcom-red);
  font-family: "Nexa Bold", Arial, sans-serif;
  font-size: 13px;
}

.career-application__step p {
  color: #62666d;
  font-size: 16px;
  line-height: 1.5;
}

.career-application__step strong {
  display: block;
  margin-bottom: 3px;
  color: #1b1c20;
  font-family: "Nexa Bold", Arial, sans-serif;
  font-size: 18px;
}

.career-form-shell {
  min-width: 0;
}

.career-form-shell__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid #d8d8d6;
}

.career-form-shell__heading p {
  color: #1b1c20;
  font-family: "Nexa Bold", Arial, sans-serif;
  font-size: clamp(25px, 2vw, 32px);
  line-height: 1.15;
}

.career-form-shell__heading span {
  max-width: 270px;
  color: #74787f;
  font-size: 13px;
  line-height: 1.45;
  text-align: right;
}

.career-alert {
  margin-bottom: 28px;
  padding: 17px 19px;
  border-left: 3px solid;
  background: #fff;
  color: #292b30;
  font-size: 15px;
  line-height: 1.5;
}

.career-alert--success {
  border-color: #23835c;
}

.career-alert--error {
  border-color: var(--selcom-red);
}

.career-form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.career-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
}

.career-field {
  min-width: 0;
}

.career-field--full {
  grid-column: 1 / -1;
}

.career-field > label {
  display: block;
  margin-bottom: 9px;
  color: #4d5158;
  font-family: "Nexa Bold", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.2;
}

.career-field input,
.career-field select,
.career-field textarea {
  width: 100%;
  border: 1px solid #d4d5d4;
  border-radius: 4px;
  outline: 0;
  background: #fff;
  color: #1b1c20;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.career-field input,
.career-field select {
  height: 54px;
  padding: 0 16px;
}

.career-field textarea {
  min-height: 138px;
  padding: 15px 16px;
  resize: vertical;
}

.career-field input:focus,
.career-field select:focus,
.career-field textarea:focus {
  border-color: var(--selcom-red);
  box-shadow: 0 0 0 3px rgba(179, 16, 13, 0.09);
}

.career-field input::placeholder,
.career-field textarea::placeholder {
  color: #95989d;
}

.career-select {
  position: relative;
}

.career-select::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #4d5158;
  border-bottom: 1.5px solid #4d5158;
  content: "";
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.career-select select {
  padding-right: 46px;
  appearance: none;
}

.career-upload-wrap {
  margin-top: 30px;
}

.career-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.career-upload {
  display: grid;
  min-height: 112px;
  align-items: center;
  padding: 20px 22px;
  border: 1px dashed #b9bbbe;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: 18px;
  transition: border-color 180ms ease, background 180ms ease;
}

.career-upload:hover,
.career-upload:focus-within,
.career-upload-wrap.is-ready .career-upload {
  border-color: var(--selcom-red);
  background: #fff;
}

.career-upload__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #ececeb;
  color: var(--selcom-red);
}

.career-upload__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.career-upload__copy {
  min-width: 0;
}

.career-upload__copy strong,
.career-upload__copy small {
  display: block;
}

.career-upload__copy strong {
  color: #1b1c20;
  font-family: "Nexa Bold", Arial, sans-serif;
  font-size: 17px;
}

.career-upload__copy small {
  margin-top: 5px;
  color: #757980;
  font-size: 13px;
}

.career-upload__action {
  padding: 10px 14px 8px;
  border: 1px solid #cacbca;
  border-radius: 3px;
  background: #fff;
  color: #2d3035;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.career-upload__filename,
.career-upload__error {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.4;
}

.career-upload__filename {
  color: #6f737a;
}

.career-upload__error {
  min-height: 1.4em;
  color: var(--selcom-red);
}

.career-consent {
  display: grid;
  align-items: start;
  margin-top: 24px;
  color: #5e6269;
  cursor: pointer;
  font-size: 14px;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  line-height: 1.5;
}

.career-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--selcom-red);
}

.career-consent a {
  color: var(--selcom-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.career-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid #d8d8d6;
}

.career-form__footer > p {
  max-width: 420px;
  color: #74787f;
  font-size: 13px;
  line-height: 1.5;
}

.career-submit {
  display: inline-flex;
  min-height: 50px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 18px 10px 22px;
  border: 0;
  border-radius: 4px;
  background: var(--selcom-red);
  color: #fff;
  cursor: pointer;
  font-family: "Nexa Bold", Arial, sans-serif;
  font-size: 15px;
  line-height: 1;
  transition: background 180ms ease, transform 180ms ease;
}

.career-submit:hover,
.career-submit:focus-visible {
  background: var(--selcom-red-dark);
  transform: translateY(-1px);
}

.career-submit:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.career-submit svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

@media (max-width: 1050px) {
  .career-application__inner {
    width: min(calc(100% - 64px), 920px);
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .career-application__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    column-gap: 56px;
  }

  .career-application__eyebrow,
  .career-application__intro h2,
  .career-application__lead {
    grid-column: 1;
  }

  .career-application__steps {
    margin-top: 0;
    grid-column: 2;
    grid-row: 1 / span 3;
  }
}

@media (max-width: 700px) {
  .career-application {
    padding: 68px 0 82px;
  }

  .career-application__inner {
    width: calc(100% - 40px);
    gap: 60px;
  }

  .career-application__intro {
    display: block;
  }

  .career-application__intro h2 {
    font-size: 38px;
  }

  .career-application__lead {
    margin-top: 24px;
    font-size: 18px;
  }

  .career-application__steps {
    margin-top: 44px;
  }

  .career-form-shell__heading {
    display: block;
  }

  .career-form-shell__heading span {
    display: block;
    margin-top: 10px;
    text-align: left;
  }

  .career-form__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .career-field--full {
    grid-column: auto;
  }

  .career-upload {
    min-height: 0;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .career-upload__icon {
    width: 42px;
    height: 42px;
  }

  .career-upload__action {
    margin-top: 4px;
    grid-column: 2;
    justify-self: start;
  }

  .career-form__footer {
    display: block;
  }

  .career-submit {
    width: 100%;
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .career-field input,
  .career-field select,
  .career-field textarea,
  .career-upload,
  .career-submit {
    transition: none;
  }
}
