/* Shared, presentation-only V1 -> V2 guidance. Ordinary V2 wizard CSS is untouched. */
#company-job-search-wizard[data-job50-v1-guide-ready="1"] .form-match--job-search-wizard-step-1 > .job50-onboarding-notice,
#company-job-wizard[data-job50-v1-guide-ready="1"] .form-match--job-wizard-step-1 > .job50-onboarding-notice,
#company-job-search-wizard[data-job50-v1-guide-ready="1"] #fieldset_languages > .block-content > .job50-onboarding-notice { display:none !important; }
:where(#company-job-wizard,#company-job-search-wizard) .job50-v1-guide__notice {
  box-sizing:border-box;
  width:min(880px,calc(100% - 28px));
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  padding:15px 20px;
  margin:16px auto 28px;
  border-left:3px solid var(--wp--preset--color--accent-1,#ed1c24);
  border-radius:12px;
  background:rgba(255,255,255,.78);
  box-shadow:0 5px 16px rgba(28,39,57,.035);
  color:#16263d;
  font-family:inherit;
  line-height:1.42;
  text-align:left;
}
:where(#company-job-wizard,#company-job-search-wizard) .job50-v1-guide__notice strong {
  font-size:14px; font-weight:750;
}
:where(#company-job-wizard,#company-job-search-wizard) .job50-v1-guide__notice span {
  font-size:13px; color:#596c86;
}
/* Reserve the transition on the resting fieldset too: removing the active class
 * must fade out, not snap. Only the V1 return journey receives this treatment. */
:is(#company-job-wizard,#company-job-search-wizard)[data-job50-v1-guide-ready="1"] :is(fieldset,.block-content--job-description) {
  transition:box-shadow .62s cubic-bezier(.22,1,.36,1);
}
:is(#company-job-wizard,#company-job-search-wizard)[data-job50-v1-guide-ready="1"] :is(fieldset,.block-content--job-description).job50-v1-guide__active {
  position:relative;
  box-shadow:0 0 0 3px rgba(237,28,36,.44), 0 0 0 9px rgba(237,28,36,.085), 0 12px 28px rgba(25,40,60,.085) !important;
}
:where(#company-job-wizard,#company-job-search-wizard) .job50-v1-guide__chip {
  position:absolute;
  z-index:4;
  top:10px;
  right:14px;
  display:inline-flex;
  align-items:center;
  padding:5px 9px;
  font-size:11px; font-weight:700; line-height:1.2; font-family:inherit;
  color:#b71b25;
  border-radius:100px;
  background:#fff4f4;
  border:1px solid rgba(237,28,36,.15);
  pointer-events:none;
  white-space:nowrap;
}
:where(#company-job-wizard,#company-job-search-wizard) .job50-v1-guide__chip[hidden] {display:none !important;}
/* Keep the standard Job50 button design and hover behavior. Apply a shared,
 * smoother enter/exit curve to both Back and forward actions in V1 only. */
:is(#company-job-wizard,#company-job-search-wizard)[data-job50-v1-guide-ready="1"] :is(.job-wizard__nav,.job-search-wizard__nav) .buttons--nav {
  transition:background-color .42s cubic-bezier(.22,1,.36,1),
             border-color .42s cubic-bezier(.22,1,.36,1),
             color .42s cubic-bezier(.22,1,.36,1),
             box-shadow .5s cubic-bezier(.22,1,.36,1),
             transform .42s cubic-bezier(.22,1,.36,1),
             filter .42s cubic-bezier(.22,1,.36,1) !important;
}
/* A dedicated, non-interactive halo leaves the normal button shadow and
 * arrow/check icon untouched, including their hover transitions. */
:is(#company-job-wizard,#company-job-search-wizard)[data-job50-v1-guide-ready="1"] :is(.job-wizard__nav,.job-search-wizard__nav) :is(.buttons--next,.buttons--submit) {
  position:relative;
  isolation:isolate;
}
:is(#company-job-wizard,#company-job-search-wizard)[data-job50-v1-guide-ready="1"] :is(.job-wizard__nav,.job-search-wizard__nav) :is(.buttons--next,.buttons--submit)::before {
  content:"" !important;
  position:absolute;
  display:block;
  inset:-6px;
  width:auto;
  height:auto;
  flex:none;
  background:transparent;
  border:2px solid rgba(237,28,36,.46);
  border-radius:999px;
  box-shadow:0 0 0 6px rgba(237,28,36,.10), 0 8px 20px rgba(237,28,36,.10);
  opacity:0;
  transform:scale(.965);
  transition:opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
  pointer-events:none;
}
:is(#company-job-wizard,#company-job-search-wizard)[data-job50-v1-guide-ready="1"] :is(.job-wizard__nav,.job-search-wizard__nav) :is(.buttons--next,.buttons--submit).job50-v1-guide__next::before {
  opacity:1;
  transform:scale(1);
  animation:job50V1GuideHalo 2.9s ease-in-out infinite;
}
@keyframes job50V1GuideHalo {
  0%,100% {border-color:rgba(237,28,36,.42);box-shadow:0 0 0 5px rgba(237,28,36,.09),0 8px 20px rgba(237,28,36,.09);}
  50% {border-color:rgba(237,28,36,.65);box-shadow:0 0 0 9px rgba(237,28,36,.15),0 10px 26px rgba(237,28,36,.12);}
}
@media(max-width:680px){
  :where(#company-job-wizard,#company-job-search-wizard) .job50-v1-guide__notice {width:100%;padding:14px 15px;}
  :where(#company-job-wizard,#company-job-search-wizard) .job50-v1-guide__chip{top:6px;right:8px;font-size:10px;}
}
@media(prefers-reduced-motion:reduce){
  :is(#company-job-wizard,#company-job-search-wizard)[data-job50-v1-guide-ready="1"] :is(fieldset,.block-content--job-description),
  :is(#company-job-wizard,#company-job-search-wizard)[data-job50-v1-guide-ready="1"] :is(.job-wizard__nav,.job-search-wizard__nav) .buttons--nav,
  :is(#company-job-wizard,#company-job-search-wizard)[data-job50-v1-guide-ready="1"] :is(.buttons--next,.buttons--submit)::before {
    transition:none !important;animation:none !important;
  }
}
