/* NoRageJobs Direct Apply single-page application workspace. */
#applicationView {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  background: #07171e;
}

#applicationView::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: .84;
  background-image:
    linear-gradient(rgba(34, 211, 238, .043) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, .043) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 94%, transparent 100%);
}

#applicationView > * {
  position: relative;
  z-index: 1;
}

#applicationView .nrj-direct-apply-page-head {
  padding: 46px 0 34px;
  border-bottom-color: rgba(0, 202, 239, .34);
  background: #043044 !important;
}

#applicationView .page-head-inner {
  width: min(1480px, calc(100% - 72px));
}

#applicationView .page-head h1 {
  margin-top: 12px;
  font-size: 48px;
}

#applicationView .page-head p {
  max-width: 880px;
  margin-top: 10px;
}

.nrj-direct-apply-shell {
  width: min(1480px, calc(100% - 72px));
  margin: 0 auto;
  padding: 34px 0 76px;
}

.nrj-direct-apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: start;
  gap: 24px;
}

.nrj-direct-apply-layout[hidden] {
  display: none;
}

.nrj-direct-apply-form,
.nrj-direct-apply-summary,
.nrj-direct-apply-success {
  border: 1px solid rgba(0, 202, 239, .52);
  border-radius: 8px;
  color: var(--text);
  background: #043044;
  box-shadow: inset 0 0 30px rgba(0, 163, 214, .045), 0 18px 42px rgba(0, 0, 0, .18);
}

.nrj-direct-apply-form {
  min-width: 0;
  overflow: clip;
}

.nrj-direct-apply-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 30px;
  border-bottom: 1px solid rgba(34, 211, 238, .25);
}

.nrj-direct-apply-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.nrj-direct-apply-form-head h2,
.nrj-direct-apply-summary h2,
.nrj-direct-apply-success h2 {
  margin: 0;
  color: var(--text);
}

.nrj-direct-apply-form-head p,
.nrj-direct-apply-section-head p,
.nrj-direct-apply-success p {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.5;
}

.nrj-direct-apply-progress {
  width: 220px;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.nrj-direct-apply-progress > div {
  height: 6px;
  margin-top: 9px;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, .3);
  border-radius: 999px;
  background: rgba(2, 21, 31, .76);
}

.nrj-direct-apply-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--accent-2);
  transition: width .18s ease;
}

.nrj-direct-apply-section {
  padding: 28px 30px 30px;
  border-bottom: 1px solid rgba(34, 211, 238, .2);
}

.nrj-direct-apply-section-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.nrj-direct-apply-section-head > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, .54);
  border-radius: 6px;
  color: var(--accent-2);
  background: rgba(2, 21, 31, .76);
  font-size: 12px;
  font-weight: 900;
}

.nrj-direct-apply-section-head h3 {
  margin: 0;
  color: var(--text);
  font-size: 19px;
}

.nrj-direct-apply-section-head p {
  font-size: 13px;
}

.nrj-direct-apply-fields {
  display: grid;
  gap: 18px;
}

.nrj-direct-apply-fields.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nrj-direct-apply-fields .full {
  grid-column: 1 / -1;
}

.nrj-direct-apply-fields label,
.nrj-direct-apply-upload {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 10px;
  min-width: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.nrj-direct-apply-fields label > span {
  justify-self: start;
  margin: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
  text-transform: none;
}

.nrj-direct-apply-fields label > b {
  justify-self: end;
  margin: 0;
  color: var(--accent-2);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.nrj-direct-apply-fields .nrj-direct-apply-question-field {
  grid-template-columns: minmax(0, 1fr);
}

.nrj-direct-apply-question-field > .nrj-application-question,
.nrj-direct-apply-question-field > textarea {
  grid-column: 1;
  width: 100%;
  min-width: 0;
}

.nrj-direct-apply-fields :is(input, select, textarea),
.nrj-direct-apply-upload input {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(34, 211, 238, .38);
  border-radius: 6px;
  outline: none;
  color: var(--text);
  background: rgba(2, 21, 31, .78);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}

.nrj-direct-apply-fields textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.5;
}

.nrj-direct-apply-fields :is(input, select, textarea):focus,
.nrj-direct-apply-upload input:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .11);
}

.nrj-direct-apply-fields :is(input, select, textarea):user-invalid,
.nrj-direct-apply-choice input:user-invalid + span,
.nrj-direct-apply-check input:user-invalid + span {
  border-color: rgba(255, 92, 119, .72);
}

.nrj-direct-apply-form [aria-invalid="true"] {
  border-color: #ff5c77 !important;
  outline: 2px solid #ff5c77;
  outline-offset: 2px;
  scroll-margin-top: 100px;
}

.nrj-direct-apply-form :is(.nrj-direct-apply-check, .nrj-direct-apply-choice):has(input[aria-invalid="true"]) {
  outline: 2px solid #ff5c77;
  outline-offset: 2px;
}

.nrj-direct-apply-resume-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.nrj-direct-apply-choice {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 16px;
  border: 1px solid rgba(34, 211, 238, .34);
  border-radius: 7px;
  cursor: pointer;
  background: rgba(2, 21, 31, .5);
}

.nrj-direct-apply-choice:has(input:checked) {
  border-color: var(--accent-2);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .42);
}

.nrj-direct-apply-choice input,
.nrj-direct-apply-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent-2);
}

.nrj-direct-apply-choice strong,
.nrj-direct-apply-choice small {
  display: block;
}

.nrj-direct-apply-choice strong {
  color: var(--text);
  font-size: 14px;
}

.nrj-direct-apply-choice small,
.nrj-direct-apply-upload small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.nrj-direct-apply-upload {
  margin-top: 14px;
  padding: 16px;
  border: 1px dashed rgba(34, 211, 238, .42);
  border-radius: 7px;
  background: rgba(2, 21, 31, .42);
}

.nrj-direct-apply-upload[hidden] {
  display: none;
}

.nrj-direct-apply-check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.nrj-direct-apply-check b {
  color: var(--accent-2);
  font-size: 9px;
  text-transform: uppercase;
}

.nrj-direct-apply-privacy {
  display: grid;
  gap: 4px;
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent-2);
  color: var(--muted);
  background: rgba(2, 21, 31, .55);
  font-size: 12px;
  line-height: 1.45;
}

.nrj-direct-apply-privacy strong {
  color: var(--text);
}

.nrj-direct-apply-actions {
  position: sticky;
  z-index: 3;
  bottom: 0;
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 18px 30px;
  border-top: 1px solid rgba(34, 211, 238, .35);
  background: #043044;
  box-shadow: 0 -16px 30px rgba(1, 13, 20, .2);
}

.nrj-direct-apply-actions > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.nrj-direct-apply-summary {
  position: sticky;
  top: calc(var(--nav-h) + 22px);
  padding: 24px;
}

.nrj-direct-apply-summary > p {
  margin: 7px 0 22px;
  color: var(--muted);
  font-weight: 700;
}

.nrj-direct-apply-summary-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(34, 211, 238, .24);
}

.nrj-direct-apply-summary-grid > div {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(34, 211, 238, .2);
}

.nrj-direct-apply-summary-grid span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.nrj-direct-apply-summary-grid strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.nrj-direct-apply-verified {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid rgba(55, 214, 122, .34);
  border-radius: 7px;
  background: rgba(55, 214, 122, .07);
}

.nrj-direct-apply-verified > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #061315;
  background: #37d67a;
  font-weight: 900;
}

.nrj-direct-apply-verified strong,
.nrj-direct-apply-verified small {
  display: block;
}

.nrj-direct-apply-verified small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.4;
}

.nrj-direct-apply-text-button {
  width: 100%;
  margin-top: 16px;
  padding: 10px;
  border: 1px solid rgba(34, 211, 238, .42);
  border-radius: 6px;
  color: var(--text);
  background: rgba(2, 21, 31, .6);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.nrj-direct-apply-text-button:hover,
.nrj-direct-apply-text-button:focus-visible {
  border-color: var(--accent-2);
  outline: none;
}

.nrj-direct-apply-success {
  max-width: 760px;
  margin: 50px auto;
  padding: 46px;
  text-align: center;
}

.nrj-direct-apply-success[hidden] {
  display: none;
}

.nrj-direct-apply-success-mark {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  color: #061315;
  background: var(--accent-2);
  font-size: 28px;
  font-weight: 900;
}

.nrj-direct-apply-success .eyebrow {
  margin-bottom: 16px;
}

.nrj-direct-apply-success > div:last-child {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 980px) {
  #applicationView .page-head-inner,
  .nrj-direct-apply-shell {
    width: min(100% - 36px, 760px);
  }

  .nrj-direct-apply-layout {
    grid-template-columns: 1fr;
  }

  .nrj-direct-apply-summary {
    position: static;
    grid-row: 1;
  }
}

@media (max-width: 700px) {
  #applicationView .nrj-direct-apply-page-head {
    padding: 34px 0 28px;
  }

  #applicationView .page-head h1 {
    font-size: 38px;
  }

  .nrj-direct-apply-shell {
    width: calc(100% - 24px);
    padding-top: 18px;
  }

  .nrj-direct-apply-form-head,
  .nrj-direct-apply-section,
  .nrj-direct-apply-summary {
    padding-right: 18px;
    padding-left: 18px;
  }

  .nrj-direct-apply-form-head {
    display: grid;
  }

  .nrj-direct-apply-progress {
    width: 100%;
    text-align: left;
  }

  .nrj-direct-apply-fields.two-column,
  .nrj-direct-apply-resume-options {
    grid-template-columns: 1fr;
  }

  .nrj-direct-apply-actions {
    position: static;
    grid-template-columns: 1fr 1fr;
    padding: 16px 18px;
  }

  .nrj-direct-apply-actions > span {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .nrj-direct-apply-actions [data-application-back] {
    grid-column: 1 / -1;
  }

  .nrj-direct-apply-success {
    padding: 34px 20px;
  }
}
