/* Core HR workflow — Razor adaptation of the supplied Tailwind lifecycle control. */

@media (min-width: 768px) {
  .core-workflows .core-workflow-map {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible !important;
  }

  .core-workflows .core-workflow-map .workflow-autopilot-label {
    position: relative !important;
    z-index: 3;
    display: flex !important;
    justify-content: center;
    padding: 0 0 1.75rem !important;
    background: transparent !important;
    border: 0 !important;
    text-align: center;
  }

  .core-workflows #core-hr-stage-path {
    position: relative !important;
    display: block !important;
    width: min(100%, 70rem) !important;
    min-height: 1120px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  .core-workflows #core-hr-stage-path::before { display: none !important; }

  .core-workflows #core-hr-stage-path .workflow-route {
    position: absolute !important;
    z-index: 1 !important;
    top: 0 !important;
    left: 50% !important;
    display: block !important;
    width: 240px !important;
    height: 1120px !important;
    overflow: visible !important;
    pointer-events: none;
    transform: translateX(-50%);
  }

  .core-workflows #core-hr-stage-path .workflow-route-glow {
    fill: none !important;
    stroke: rgba(var(--public-brand-rgb), .14) !important;
    stroke-width: 25 !important;
    filter: blur(10px) !important;
  }

  .core-workflows #core-hr-stage-path .workflow-route-line {
    fill: none !important;
    stroke: rgba(var(--public-brand-rgb), .52) !important;
    stroke-width: 7 !important;
    stroke-dasharray: .1 18 !important;
    stroke-linecap: round !important;
  }

  .core-workflows #core-hr-stage-path .workflow-route-progress {
    fill: none !important;
    stroke: var(--public-brand-blue) !important;
    stroke-width: 7 !important;
    stroke-linecap: round !important;
    opacity: 0 !important;
    transition: stroke-dashoffset .5s ease-in-out, opacity .25s ease !important;
  }

  .core-workflows #core-hr-stage-path.has-active .workflow-route-progress { opacity: 1 !important; }

  .core-workflows #core-hr-stage-path > .flow-stage,
  .core-workflows #core-hr-stage-path > .flow-stage:nth-child(odd),
  .core-workflows #core-hr-stage-path > .flow-stage:nth-child(even) {
    position: absolute !important;
    z-index: 2 !important;
    display: block !important;
    width: min(26.25rem, calc(50% - 8.5rem)) !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 1.5rem !important;
    border: 1px solid rgba(var(--public-brand-rgb), .14) !important;
    border-radius: 1.5rem !important;
    background: rgba(15, 37, 49, .60) !important;
    box-shadow: none !important;
    text-align: left !important;
    overflow: visible !important;
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease !important;
  }

  .core-workflows #core-hr-stage-path > .flow-stage:nth-of-type(1) { top: 32px !important; left: calc(50% + 7rem) !important; }
  .core-workflows #core-hr-stage-path > .flow-stage:nth-of-type(2) { top: 332px !important; right: calc(50% + 7rem) !important; left: auto !important; }
  .core-workflows #core-hr-stage-path > .flow-stage:nth-of-type(3) { top: 632px !important; left: calc(50% + 7rem) !important; }
  .core-workflows #core-hr-stage-path > .flow-stage:nth-of-type(4) { top: 932px !important; right: calc(50% + 7rem) !important; left: auto !important; }

  .core-workflows #core-hr-stage-path .workflow-step {
    padding:1.2rem;
    position: absolute !important;
    top: 22px !important;
    z-index: 4 !important;
    display: grid !important;
    width: 72px !important;
    height: 72px !important;
    place-items: center;
    border: 3px solid rgba(var(--public-brand-rgb), .82) !important;
    border-radius: 50% !important;
    background: #0b171d !important;
    color: var(--brand) !important;
    box-shadow: 0 0 0 7px rgba(var(--public-brand-rgb), .12), 0 0 22px rgba(var(--public-brand-rgb), .24), inset 0 0 0 6px rgba(11, 23, 29, .86) !important;
    transform: none !important;
    transition: background .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease !important;
  }

  .core-workflows #core-hr-stage-path .workflow-step > i {
    font-size: 1.35rem !important;
    line-height: 1 !important;
  }

  /* These offsets put every 72px circle exactly on the matching SVG waypoint. */
  .core-workflows #core-hr-stage-path .flow-stage-right .workflow-step { left: -9.25rem !important; right: auto !important; }
  .core-workflows #core-hr-stage-path .flow-stage-left .workflow-step { right: -12.75rem !important; left: auto !important; }

  .core-workflows #core-hr-stage-path > .flow-stage::before {
    display: none !important;
  }

  .core-workflows #core-hr-stage-path .workflow-step-number {
    position: absolute !important;
    z-index: 5 !important;
    top: -10px !important;
    right: -10px !important;
    display: grid !important;
    width: 1.75rem !important;
    height: 1.75rem !important;
    place-items: center;
    border-radius: 50% !important;
    background: var(--public-brand-blue) !important;
    color: #0b171d !important;
    font-size: .65rem !important;
    font-weight: 800;
  }

  .core-workflows #core-hr-stage-path > .flow-stage > b { display: block !important; margin: 0 0 .45rem !important; color: #edfaff !important; font-size: clamp(1.35rem, 2vw, 1.9rem) !important; line-height: 1.08 !important; }
  .core-workflows #core-hr-stage-path > .flow-stage > small { display: block !important; color: #b6c6cd !important; font-size: 1rem !important; line-height: 1.5 !important; }

  .core-workflows #core-hr-stage-path > .flow-stage > em {
    display: block !important;
    max-height: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    overflow: hidden !important;
    border-top: 1px solid transparent !important;
    color: #b6c6cd !important;
    font-size: .9rem !important;
    font-style: normal !important;
    line-height: 1.45 !important;
    opacity: 0 !important;
    transform: translateY(-.35rem) !important;
    transition: max-height .3s ease, margin .3s ease, padding .3s ease, opacity .25s ease, transform .3s ease !important;
  }

  .core-workflows #core-hr-stage-path > .flow-stage.is-active,
  .core-workflows #core-hr-stage-path > .flow-stage:hover,
  .core-workflows #core-hr-stage-path > .flow-stage:focus-visible { border-color: rgba(var(--public-brand-rgb), .48) !important; background: #102936 !important; box-shadow: 0 0 32px rgba(var(--public-brand-rgb), .16) !important; outline: none !important; }
  .core-workflows #core-hr-stage-path > .flow-stage.is-active > b,
  .core-workflows #core-hr-stage-path > .flow-stage:hover > b,
  .core-workflows #core-hr-stage-path > .flow-stage:focus-visible > b { color: var(--public-brand-blue) !important; }
  .core-workflows #core-hr-stage-path > .flow-stage.is-active .workflow-step,
  .core-workflows #core-hr-stage-path > .flow-stage:hover .workflow-step,
  .core-workflows #core-hr-stage-path > .flow-stage:focus-visible .workflow-step { border-color: var(--public-brand-blue) !important; background: var(--public-brand-blue) !important; color: #0b171d !important; box-shadow: 0 0 0 11px rgba(var(--public-brand-rgb), .16), 0 0 38px 11px rgba(var(--public-brand-rgb), .52) !important; }
  .core-workflows #core-hr-stage-path > .flow-stage.is-active > em,
  .core-workflows #core-hr-stage-path > .flow-stage:hover > em,
  .core-workflows #core-hr-stage-path > .flow-stage:focus-visible > em { max-height: 120px !important; margin-top: 1rem !important; padding-top: .85rem !important; border-top-color: rgba(var(--public-brand-rgb), .22) !important; opacity: 1 !important; transform: translateY(0) !important; }
}

@media (max-width: 767px) {
  .core-workflows .core-workflow-map { padding: 0 !important; border: 0 !important; background: transparent !important; overflow: visible !important; }
  .core-workflows .core-workflow-map .workflow-autopilot-label { padding: .25rem .25rem 1.15rem !important; text-align: left !important; }
  .core-workflows #core-hr-stage-path { position: relative !important; display: grid !important; gap: 0 !important; padding: 0 0 0 3.9rem !important; }
  .core-workflows #core-hr-stage-path::before { position: absolute; top: 2rem; bottom: 2rem; left: 1.35rem; width: 0; content: ""; border-left: 4px dotted var(--public-brand-blue); box-shadow: 0 0 .8rem rgba(var(--public-brand-rgb), .35); }
  .core-workflows #core-hr-stage-path .workflow-route { display: none !important; }
  .core-workflows #core-hr-stage-path > .flow-stage,
  .core-workflows #core-hr-stage-path > .flow-stage:nth-of-type(n) { position: relative !important; top: auto !important; right: auto !important; left: auto !important; display: block !important; width: auto !important; margin: 0 !important; padding: 1rem 0 1.2rem .75rem !important; overflow: visible !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; text-align: left !important; }
  .core-workflows #core-hr-stage-path .workflow-step { position: absolute !important; top: 1rem !important; right: auto !important; left: -3.9rem !important; display: grid !important; width: 2.75rem !important; height: 2.75rem !important; place-items: center; border: 2px solid rgba(var(--public-brand-rgb), .45) !important; border-radius: 50% !important; background: #0b171d !important; color: var(--public-brand-blue) !important; box-shadow: none !important; transform: none !important; }
  .core-workflows #core-hr-stage-path .workflow-step-number { position: absolute !important; top: -.4rem !important; right: -.4rem !important; display: grid !important; width: 1.35rem !important; height: 1.35rem !important; place-items: center; border-radius: 50% !important; background: var(--public-brand-blue) !important; color: #0b171d !important; font-size: .6rem !important; font-weight: 800 !important; }
  .core-workflows #core-hr-stage-path > .flow-stage > b { display: block !important; margin: 0 0 .3rem !important; color: #edfaff !important; font-size: 1.35rem !important; }
  .core-workflows #core-hr-stage-path > .flow-stage > small { display: block !important; color: #b6c6cd !important; line-height: 1.5 !important; }
  .core-workflows #core-hr-stage-path > .flow-stage > em { display: block !important; max-height: none !important; margin-top: .55rem !important; padding-top: 0 !important; border: 0 !important; color: #aeeef7 !important; font-size: .85rem !important; font-style: normal !important; line-height: 1.45 !important; opacity: 1 !important; transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .core-workflows #core-hr-stage-path *,
  .core-workflows #core-hr-stage-path *::before,
  .core-workflows #core-hr-stage-path *::after { transition: none !important; }
}
