/**
 * ── Breadcrumb — single canonical source (job50-core/assets/shared-wizard.css) ──
 *
 * Loaded on all pages via the job50-shared-wizard handle, which is a dependency
 * of job50-dashboard-shared. Any breadcrumb rendered by DashboardUiService or
 * ProfileFormsHooks will pick up these rules.
 *
 * Variants:
 *   .job50-breadcrumb              default — left-aligned (bridge/profile pages)
 *   .job50-breadcrumb--wizard      centred — used when a wizard form is the main
 *                                  content (pass $centred = true to renderBreadcrumb)
 */
.job50-breadcrumb {
	max-width: 960px;
	margin: 0 auto;
}

/* Slight bottom gap when inside a dashboard shell */
.job50-dashboard-shell .job50-breadcrumb {
	margin-bottom: 12px;
}

.job50-breadcrumb__list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;	
	gap: 8px;
	padding: 0;
	margin: 0;
}

/* Centred variant — wizard pages only */
.job50-breadcrumb--wizard .job50-breadcrumb__list {
	justify-content: center;
}

.job50-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #666;
}

.job50-breadcrumb__item + .job50-breadcrumb__item::before {
	content: "/";
	color: #b4b4b4;
}

.job50-breadcrumb__item a {
	color: var(--wp--preset--color--accent-1, #ed1c24);
	text-decoration: none;
}

.job50-breadcrumb__item a:hover {
	text-decoration: underline;
}

.job50-breadcrumb__item.is-current span {
	color: #333;
	font-weight: 600;
}

/**
 * Job50 Core — Shared Wizard UI
 *
 * Selectors used by both job-wizard (recruiter) and job-search-wizard (seeker).
 * Previously duplicated in each plugin's company-job-wizard.css.
 * Both wizard plugins now declare 'job50-shared-wizard' as a style dependency.
 */

/* ── Shared field stacks + days picker ───────────────────────────────────── */
:is(#company-job-wizard, #company-job-search-wizard) .wizard-stack--single-control,
:is(#company-job-wizard, #company-job-search-wizard) .wizard-stack--work-status {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

:is(#company-job-wizard, #company-job-search-wizard) .wizard-stack--workplace {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

:is(#company-job-wizard, #company-job-search-wizard) .wizard-stack--workplace > select {
    flex: 1 1 100%;
    width: 100%;
}

:is(#company-job-wizard, #company-job-search-wizard) .wizard-stack--workplace > .js-workplace-state-wrap,
:is(#company-job-wizard, #company-job-search-wizard) .wizard-stack--workplace > .js-workplace-city-wrap {
    flex: 1 1 calc(50% - 8px);
    min-width: 240px;
}

:is(#company-job-wizard, #company-job-search-wizard) .wizard-stack--workplace > .js-workplace-state-wrap select,
:is(#company-job-wizard, #company-job-search-wizard) .wizard-stack--workplace > .js-workplace-city-wrap select {
    width: 100%;
}

:is(#company-job-wizard, #company-job-search-wizard) .wizard-stack--workplace > .job-wizard-workplace-none-row {
    flex: 1 1 100%;
}

.conditional-days-wrap {
    margin: 0;
    padding: 0;
}

:is(#company-job-wizard, #company-job-search-wizard) .block-content > .conditional-days-wrap {
    width: 60%;
    margin-left: 40%;
}

:is(#company-job-wizard, #company-job-search-wizard) #fieldset_work_status .wizard-stack--work-status .conditional-days-wrap {
    width: 60%;
    margin-left: 0;
    margin-bottom: 16px;
}

.days-picker {
    display: grid;
    grid-template-columns: repeat(7, minmax(40px, 1fr));
    gap: 10px;
    width: 60%;
    max-width: 540px;
    margin-top: 16px;
}

.days-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.days-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    border-radius: 9999em;
    background: #f7f7f7;
    border: 1px solid #ddd;
    font-size: 14px;
    font-weight: 700;
    color: #333333;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.days-option:hover span {
    border-color: var(--wp--preset--color--accent-1);
}

.days-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.days-option input:checked + span {
    background: var(--wp--preset--color--accent-1);
    border-color: var(--wp--preset--color--accent-1);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.days-option input:focus-visible + span {
    outline: 2px solid var(--wp--preset--color--accent-1);
    outline-offset: 2px;
}

.conditional-days-wrap[hidden] {
    display: none;
}

:is(#company-job-wizard, #company-job-search-wizard) #fieldset_work_status .wizard-stack--work-status .input-text,
:is(#company-job-wizard, #company-job-search-wizard) #fieldset_industry .wizard-stack--single-control .ts-wrapper,
:is(#company-job-wizard, #company-job-search-wizard) #fieldset_industry .wizard-stack--single-control > select {
    width: 100%;
    margin: 0;
}

@media screen and (max-width: 781px) {
    :is(#company-job-wizard, #company-job-search-wizard) .block-content > .conditional-days-wrap {
        width: 100%;
        margin-left: 0;
    }

    :is(#company-job-wizard, #company-job-search-wizard) .wizard-stack--workplace > .js-workplace-state-wrap,
    :is(#company-job-wizard, #company-job-search-wizard) .wizard-stack--workplace > .js-workplace-city-wrap {
        flex-basis: 100%;
        min-width: 100%;
    }
}

/* ── Driving license ──────────────────────────────────────────────────────── */

.job-wizard-driving-license-none-label {
    width: 100%;
}

:is(#company-job-wizard, #company-job-search-wizard) #fieldset_driving_license .js-driving-license-group {
    align-items: stretch;
}

:is(#company-job-wizard, #company-job-search-wizard) #fieldset_driving_license .js-driving-license-group .job-wizard-license-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 112px;
    padding: 16px 14px;
    text-align: center;
}

:is(#company-job-wizard, #company-job-search-wizard) .job-wizard-license-tile__text {
    display: block;
    line-height: 1.25;
}

#fieldset_driving_license .checkbox-group label.is-disabled {
    opacity: .55;
    cursor: not-allowed;
}

#fieldset_driving_license .checkbox-group label.is-disabled input[type="checkbox"] {
    cursor: not-allowed;
}

@media screen and (max-width: 781px) {
    :is(#company-job-wizard, #company-job-search-wizard) #fieldset_driving_license .js-driving-license-group .job-wizard-license-tile {
        min-height: 96px;
    }
}


/* ── Step 1 mirror layout — recruiter + seeker ─────────────────────────── */
:is(#company-job-wizard, #company-job-search-wizard) :is(.job-wizard__nav, .job-search-wizard__nav) {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 960px;
    margin: 32px auto 0;
}

:is(#company-job-wizard, #company-job-search-wizard) :is(.job-wizard__nav, .job-search-wizard__nav) .buttons {
    align-items: center;
    justify-content: center;
    gap: 12px;
}

:is(#company-job-wizard, #company-job-search-wizard) :is(.job-wizard__nav, .job-search-wizard__nav) :is(.buttons--next, .buttons--submit) {
    margin-left: auto !important;
}

:is(#company-job-wizard, #company-job-search-wizard) :is(.job-wizard__nav, .job-search-wizard__nav) .buttons--back {
    margin-left: 0 !important;
}

:is(#company-job-wizard, #company-job-search-wizard) :is(.job-wizard__nav, .job-search-wizard__nav) .buttons--nav::before,
:is(#company-job-wizard, #company-job-search-wizard) :is(.job-wizard__nav, .job-search-wizard__nav) .buttons--nav::after {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 28px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'liga';
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    color: currentColor;
    background: none;
}

:is(#company-job-wizard, #company-job-search-wizard) :is(.job-wizard__nav, .job-search-wizard__nav) :is(.buttons--next, .buttons--submit)::before,
:is(#company-job-wizard, #company-job-search-wizard) :is(.job-wizard__nav, .job-search-wizard__nav) .buttons--back::after {
    content: none;
}

:is(#company-job-wizard, #company-job-search-wizard) :is(.job-wizard__nav, .job-search-wizard__nav) .buttons--next::after {
    content: "\eaaa";
}

:is(#company-job-wizard, #company-job-search-wizard) :is(.job-wizard__nav, .job-search-wizard__nav) .buttons--back::before {
    content: "\eaaa";
    transform: rotate(180deg);
}

:is(#company-job-wizard, #company-job-search-wizard) :is(.job-wizard__nav, .job-search-wizard__nav) .buttons--submit::after {
    content: "\e86c";
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 {
    max-width: 980px;
    margin: 0 auto;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 > fieldset {
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 :is(.job-wizard-header, .job-search-wizard-header) {
    max-width: 840px;
    margin: 0 auto 40px;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 :is(.job-wizard-header, .job-search-wizard-header) .wp-block-heading {
    margin: 40px 0 14px;
    font-size: var(--wp--preset--font-size--x-large);
    line-height: .94;
    text-transform: uppercase;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 :is(.job-wizard-header, .job-search-wizard-header) p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 19px !important;
    line-height: 1.2;
    color: #333333;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .block-content {
    display: block;
    max-width: 466px;
    margin: 0 auto 34px;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .block-content--job-description.block-content {
    margin-bottom: 24px;
    position: relative;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .label-title {
    display: none !important;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .align-right {
    flex: none;
    width: 100%;
    min-width: 0;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .textarea-bubble {
    min-height: 226px;
    padding-bottom: 48px;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .textarea-bubble textarea {
    min-height: 124px;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 :is(.job-wizard-step-1-actions, .job-search-wizard-step-1-actions) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 460px;
    margin: 4px auto 0;
    margin-top: -20px;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 :is(.job-wizard__nav, .job-search-wizard__nav) {
    width: auto;
    max-width: none;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    flex: 0 0 auto;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 :is(.job-wizard__nav, .job-search-wizard__nav) .buttons {
    min-width: 120px;
    justify-content: center;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud {
    position: relative;
    width: min(100%, 340px);
    margin: 0;
    overflow: visible;
    flex: 0 0 340px;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud .job-offer-upload-cloud__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 190px;
    padding: 20px 28px 54px;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud .job-offer-upload-cloud__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20339.19%20190.24%22%20preserveAspectRatio=%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id=%22g%22%20x1=%220%22%20y1=%220%22%20x2=%220%22%20y2=%221%22%3E%3Cstop%20offset=%220%25%22%20stop-color=%22%23ffffff%22/%3E%3Cstop%20offset=%22100%25%22%20stop-color=%22%23dedede%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath%20d=%22M15.25,92.38c8.02,8.37,19.97,14.8,31.33,17.15,5.1,1.05,10.32,1.16,15.51,1.62,10.57,34.98,48.57,54,83.66,46.83,25.51,34.84,74.91,42.58,110.31,17.7,14.65-10.29,25.59-26.2,29.59-43.72,1.64-7.18,2.06-14.27,1.82-21.64,24.52-2.76,46.64-21.03,50.94-45.83C344.49,29.33,314.7.71,280.79,0H58.45C10.94.38-20.13,55.46,15.25,92.38Z%22%20fill=%22%23ffffff%22%20stroke=%22url(%23g)%22%20stroke-width=%221%22%20stroke-linejoin=%22round%22/%3E%3C/svg%3E") no-repeat center / 100% 100%;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .03));
    pointer-events: none;
    z-index: 0;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud .job-offer-upload-cloud__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud :is(.job-offer-upload-cloud__button, .job-offer-upload-cloud__help, .job-offer-upload-cloud__filename) {
    position: relative;
    z-index: 1;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud .job-offer-upload-cloud__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 40px;
    cursor: pointer;
    text-decoration: none;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud .job-offer-upload-cloud__button::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3C?xml%20version=%221.0%22%20encoding=%22UTF-8%22?%3E%3Csvg%20id=%22Layer_2%22%20data-name=%22Layer%202%22%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2016.96%2016.96%22%3E%3Cdefs%3E%3Cstyle%3E%20%20%20%20%20%20%20.cls-1%20%7B%20%20%20%20%20%20%20%20%20fill:%20%23ed1c24;%20%20%20%20%20%20%20%7D%20%20%20%20%20%3C/style%3E%3C/defs%3E%3Cg%20id=%22Forms%22%3E%3Cpath%20class=%22cls-1%22%20d=%22M7.84,12.91V2.49l-3.12,3.11-.92-.91L8.48,0l4.68,4.68-.92.91-3.12-3.11v10.42h-1.28ZM1.63,16.96c-.44,0-.83-.16-1.15-.48-.32-.32-.48-.7-.48-1.15v-3.54h1.28v3.54c0,.09.04.17.11.24.07.07.15.11.24.11h13.7c.09,0,.17-.04.24-.11.07-.07.11-.15.11-.24v-3.54h1.28v3.54c0,.44-.16.83-.48,1.15-.32.32-.7.48-1.15.48H1.63Z%22/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3C?xml%20version=%221.0%22%20encoding=%22UTF-8%22?%3E%3Csvg%20id=%22Layer_2%22%20data-name=%22Layer%202%22%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2016.96%2016.96%22%3E%3Cdefs%3E%3Cstyle%3E%20%20%20%20%20%20%20.cls-1%20%7B%20%20%20%20%20%20%20%20%20fill:%20%23ed1c24;%20%20%20%20%20%20%20%7D%20%20%20%20%20%3C/style%3E%3C/defs%3E%3Cg%20id=%22Forms%22%3E%3Cpath%20class=%22cls-1%22%20d=%22M7.84,12.91V2.49l-3.12,3.11-.92-.91L8.48,0l4.68,4.68-.92.91-3.12-3.11v10.42h-1.28ZM1.63,16.96c-.44,0-.83-.16-1.15-.48-.32-.32-.48-.7-.48-1.15v-3.54h1.28v3.54c0,.09.04.17.11.24.07.07.15.11.24.11h13.7c.09,0,.17-.04.24-.11.07-.07.11-.15.11-.24v-3.54h1.28v3.54c0,.44-.16.83-.48,1.15-.32.32-.7.48-1.15.48H1.63Z%22/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
    flex: 0 0 16px;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud .job-offer-upload-cloud__help {
    max-width: 210px;
    margin: 12px auto 0;
    font-size: 12px;
    line-height: 1.2;
    color: #a3a3a3;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud .job-offer-upload-cloud__help span {
    color: var(--wp--preset--color--accent-1);
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud .job-offer-upload-cloud__filename {
    width: auto;
    max-width: none;
    margin: 8px auto 0;
    font-size: 12px;
    line-height: 1.35;
    color: #5d5d5d;
    word-break: break-word;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
    position: relative;
    z-index: 100;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud .job-offer-upload-cloud__file-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #cfd5dd;
    background: linear-gradient(180deg, #f6f8fa 0%, #e8edf2 100%);
    color: #5b6673;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    width: auto !important;
    max-width: none !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud .job-offer-upload-cloud__file-chip:hover,
:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud .job-offer-upload-cloud__file-chip:focus-visible {
    background: linear-gradient(180deg, #eef3f7 0%, #dde5ed 100%);
    color: #364152;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud .job-offer-upload-cloud__file-chip-label {
    display: inline-block;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud .job-offer-upload-cloud__file-chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    color: #6b7280;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .10);
    padding: 0;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud .job-offer-upload-cloud__file-chip-remove:hover,
:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud .job-offer-upload-cloud__file-chip-remove:focus-visible {
    background: #ffffff;
    color: #475467;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud .job-offer-upload-cloud__file-chip-remove .material-symbols-outlined {
    font-size: 18px;
    line-height: 1;
}

:is(#company-job-wizard, #company-job-search-wizard) .block-content--job-description .job-description-wrap {
    width: 100%;
}

:is(#company-job-wizard, #company-job-search-wizard) .job-description-counter {
    position: absolute;
    margin: 10px 0 0;
    padding-left: 24px;
    font-size: 12px;
    line-height: 1.35;
    color: #a3a3a3;
    margin-top: -46px;
}

:is(#company-job-wizard, #company-job-search-wizard) .job-description-counter__label,
:is(#company-job-wizard, #company-job-search-wizard) .job-description-counter__sep,
:is(#company-job-wizard, #company-job-search-wizard) .job-description-counter__suffix {
    color: #a3a3a3;
}

:is(#company-job-wizard, #company-job-search-wizard) .job-description-counter__value {
    font-weight: 700;
    color: inherit;
    transition: color 180ms ease;
}

:is(#company-job-wizard, #company-job-search-wizard) .job-description-counter.is-pristine .job-description-counter__value {
    color: #a3a3a3;
}

:is(#company-job-wizard, #company-job-search-wizard) .job-description-counter.is-min-reached,
:is(#company-job-wizard, #company-job-search-wizard) .job-description-counter__value.is-green {
    color: #22b573;
}

:is(#company-job-wizard, #company-job-search-wizard) .job-description-counter.is-near-limit,
:is(#company-job-wizard, #company-job-search-wizard) .job-description-counter__value.is-orange {
    color: #f9922d;
}

:is(#company-job-wizard, #company-job-search-wizard) .job-description-counter.is-max-reached,
:is(#company-job-wizard, #company-job-search-wizard) .job-description-counter__value.is-red {
    color: #db2134;
}

:is(#company-job-wizard, #company-job-search-wizard) .job-description-counter__value.is-black {
    color: #333333;
}

@media screen and (max-width: 781px) {
    :is(#company-job-wizard, #company-job-search-wizard) #form-match-0 :is(.job-wizard-header, .job-search-wizard-header) {
        margin-bottom: 28px;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-0 :is(.block-content, .job-wizard__nav, .job-search-wizard__nav, .job-wizard-step-1-actions, .job-search-wizard-step-1-actions) {
        max-width: 100%;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .textarea-bubble {
        min-height: 205px;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-0 :is(.job-wizard-step-1-actions, .job-search-wizard-step-1-actions) {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud {
        width: 100%;
        flex-basis: auto;
    }

    :is(#company-job-wizard, #company-job-search-wizard) :is(.job-wizard__nav, .job-search-wizard__nav) {
        gap: 12px !important;
        flex-wrap: wrap !important;
    }

    :is(#company-job-wizard, #company-job-search-wizard) :is(.job-wizard__nav, .job-search-wizard__nav) .buttons {
        min-height: 58px !important;
        padding: 10px 22px !important;
        font-size: 16px !important;
    }
}


:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud.is-uploading .job-offer-upload-cloud__button {
    pointer-events: none;
    opacity: 1;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .10), 0 10px 24px rgba(237, 28, 36, .18);
    animation: job50-upload-button-pulse 1.05s ease-in-out infinite;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud .job-offer-upload-cloud__filename.is-uploading {
    color: var(--wp--preset--color--accent-1, #ed1c24);
    font-weight: 700;
    animation: job50-upload-pulse 1s ease-in-out infinite;
}

:is(#company-job-wizard, #company-job-search-wizard) #form-match-0 .job50-wizard-upload-cloud .job-offer-upload-cloud__filename.is-upload-reveal {
    animation: job50-upload-blink .95s ease 1;
}

@keyframes job50-upload-button-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .78; }
}

@keyframes job50-upload-pulse {
    0%, 100% { opacity: .45; }
    50% { opacity: 1; }
}

@keyframes job50-upload-blink {
    0%, 100% { opacity: 1; }
    18%, 54% { opacity: .25; }
    36%, 72% { opacity: 1; }
}


/* ── Step 2 — education area visibility ─────────────────────────────────── */
.js-education-area-wrap[hidden],
.js-education-area-wrap.is-hidden {
    display: none !important;
}

/* ── Step 2 — featured languages in Tom Select ─────────────────────────── */
.ts-dropdown .job50-ts-featured-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 10px 8px;
    background: #fff;
}

.ts-dropdown .job50-ts-featured-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 14px;
    border: 1px solid #dedede;
    border-radius: 999px;
    background: #fff;
    color: #555;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.ts-dropdown .job50-ts-featured-chip:hover,
.ts-dropdown .job50-ts-featured-chip.is-selected {
    border-color: var(--wp--preset--color--accent-1);
    color: var(--wp--preset--color--accent-1);
    background: rgba(237, 28, 36, .04);
}

.ts-dropdown .job50-ts-featured-separator {
    height: 1px;
    margin: 0 10px 8px;
    background: #ececec;
}

/* ── Step 2 — driving license Google Material icons ─────────────────────── */
:is(#company-job-wizard, #company-job-search-wizard) .job-wizard-license-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    overflow: hidden;
    color: #cfcfcf;
}

:is(#company-job-wizard, #company-job-search-wizard) .job-wizard-license-tile:has(input[type="checkbox"]:checked) .job-wizard-license-tile__icon {
    color: #fff;
}

:is(#company-job-wizard, #company-job-search-wizard) .job-wizard-license-tile__icon::before {
    display: inline-block;
    width: 42px;
    height: 42px;
    overflow: hidden;
    font-family: 'Material Symbols Outlined' !important;
    font-size: 42px;
    line-height: 1;
    font-weight: 300;
    font-style: normal;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' -25, 'opsz' 48;
}

:is(#company-job-wizard, #company-job-search-wizard) .job-wizard-license-tile--motorcycles .job-wizard-license-tile__icon::before { content: 'two_wheeler'; }
:is(#company-job-wizard, #company-job-search-wizard) .job-wizard-license-tile--cars .job-wizard-license-tile__icon::before { content: 'directions_car'; }
:is(#company-job-wizard, #company-job-search-wizard) .job-wizard-license-tile--trucks .job-wizard-license-tile__icon::before { content: 'local_shipping'; }
:is(#company-job-wizard, #company-job-search-wizard) .job-wizard-license-tile--bus-coach .job-wizard-license-tile__icon::before { content: 'directions_bus'; }
:is(#company-job-wizard, #company-job-search-wizard) .job-wizard-license-tile--agricultural-vehicles .job-wizard-license-tile__icon::before { content: 'agriculture'; }
:is(#company-job-wizard, #company-job-search-wizard) .job-wizard-license-tile--forklift .job-wizard-license-tile__icon::before { content: 'forklift'; }
:is(#company-job-wizard, #company-job-search-wizard) .job-wizard-license-tile--generic .job-wizard-license-tile__icon::before { content: 'bookmark_added'; }



/**
 * ── Migrated from style-front.css — scoped wizard form UI ───────────────────
 *
 * These rules used to live in the child theme as broad `form`, `.radio-group`,
 * `.checkbox-group`, `.slider` and `.textarea-bubble` selectors. They are now
 * scoped to the recruiter/seeker wizard roots so the core owns wizard UI without
 * leaking into WP-Members, dashboard or profile forms.
 */

/* ── Unified field system — native fields + Tom Select ─────────────────────
   One visual source for Job50 controls.
   - Native wizard inputs/selects use the same base tokens.
   - Every TomSelect, whether explicit (.job50-ts-wrapper/.job50-ts-dropdown)
     or legacy wizard-scoped (#company-job-wizard / #company-job-search-wizard),
     shares the exact same control/dropdown rules below.
   - Child theme fallback TomSelect rules must not target .job50-ts-wrapper.
*/
:root {
    --job50-control-height: 54px;
    --job50-control-border-color: #ddd;
    --job50-control-border-color-focus: #d7d7d7;
    --job50-control-radius: 6px;
    --job50-control-bg: #fbfbfc;
    --job50-control-text: var(--wp--preset--color--contrast, #111);
    --job50-control-muted-text: #555;
    --job50-control-placeholder: rgba(51, 51, 51, .42);
    --job50-control-shadow: 0 4px 8px rgba(0, 0, 0, .03);
    --job50-control-focus-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    --job50-dropdown-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    --job50-dropdown-bg: var(--job50-control-bg);
    --job50-dropdown-highlight-bg: rgba(237, 28, 36, .16);
    --job50-dropdown-highlight-color: #b51219;
    --job50-dropdown-active-bg: var(--wp--preset--color--accent-1, #ed1c24);
    --job50-dropdown-active-color: var(--wp--preset--color--base, #fff);
    --job50-ts-chip-bg: #f5f5f5;
    --job50-ts-chip-color: #555;
}

:is(#company-job-wizard, #company-job-search-wizard)
    :is(input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="number"], input[type="search"], textarea, select) {
    font-family: var(--j50-font-body, Inter, system-ui, sans-serif);
    font-weight: 300;
    box-sizing: border-box;
    font-size: 16px;
    color: var(--job50-control-text);
    border: 1px solid var(--job50-control-border-color);
    border-radius: var(--job50-control-radius);
    background: var(--job50-control-bg);
    box-shadow: var(--job50-control-shadow);
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease,
        color .2s ease;
}

:is(#company-job-wizard, #company-job-search-wizard)
    :is(input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="number"], input[type="search"], textarea, select) {
    padding: 14px 18px;
    margin-bottom: 16px;
}

:is(#company-job-wizard, #company-job-search-wizard)
    :is(input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="number"], input[type="search"], textarea, select):focus {
    outline: none;
    border-color: var(--job50-control-border-color-focus);
    box-shadow: var(--job50-control-focus-shadow);
}

:is(#company-job-wizard, #company-job-search-wizard) .form-match select:not([multiple]),
:is(#company-job-wizard, #company-job-search-wizard) select.js-workplace-country,
:is(#company-job-wizard, #company-job-search-wizard) select.js-workplace-state,
:is(#company-job-wizard, #company-job-search-wizard) select.js-workplace-city,
:is(#company-job-wizard, #company-job-search-wizard) select.js-salary-currency,
:is(#company-job-wizard, #company-job-search-wizard) select.js-salary-period,
:is(#company-job-wizard, #company-job-search-wizard) select.js-job50-workplace-select {
    width: 100%;
    height: 48px;
    min-height: 48px;
    line-height: 48px !important;
    padding: 0 48px 0 22px !important;
    vertical-align: middle;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--job50-control-bg);
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23555' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px 8px;
    cursor: pointer;
}

:is(#company-job-wizard, #company-job-search-wizard) .form-match select:not([multiple]) option {
    line-height: normal;
}

/* ── One TomSelect skin — explicit + legacy wizard instances ─────────────── */
:is(.job50-ts-wrapper, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper) {
    width: 100%;
}

:is(.job50-ts-wrapper, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper) .ts-control {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: var(--job50-control-height);
    padding: 14px 18px;
    border: 1px solid var(--job50-control-border-color);
    border-radius: var(--job50-control-radius);
    background: var(--job50-control-bg);
    box-shadow: var(--job50-control-shadow);
    font-family: var(--j50-font-body, Inter, system-ui, sans-serif);
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease,
        color .2s ease;
}

:is(.job50-ts-wrapper, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper).focus .ts-control,
:is(.job50-ts-wrapper, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper).dropdown-active .ts-control,
:is(.job50-ts-wrapper, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper) .ts-control:focus-within {
    outline: none;
    border-color: var(--job50-control-border-color-focus);
    box-shadow: var(--job50-control-focus-shadow);
}

:is(.job50-ts-wrapper, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper).dropdown-active .ts-control {
    border-bottom-color: transparent;
    border-radius: var(--job50-control-radius) var(--job50-control-radius) 0 0;
    box-shadow: none;
    z-index: 2;
}

.job50-ts-wrapper.single .ts-control {
    padding-right: 48px;
    cursor: pointer;
}

.job50-ts-wrapper.single .ts-control::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 12px;
    height: 8px;
    transform: translateY(-50%);
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23555' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 8px;
}

/* Workplace cascading selects are enhanced as TomSelect but keep a native-select UX:
   no free text caret, stable placeholder, and the shared Job50 control/dropdown skin. */
:is(#company-job-wizard, #company-job-search-wizard) .job50-workplace-ts.job50-ts-wrapper.single .ts-control {
    flex-wrap: nowrap;
    padding-right: 48px;
    overflow: hidden;
}

:is(#company-job-wizard, #company-job-search-wizard) .job50-workplace-ts.job50-ts-wrapper.single.job50-ts-empty .ts-control::after {
    content: attr(data-placeholder);
    position: absolute;
    left: 18px;
    right: 48px;
    top: 50%;
    display: block !important;
    overflow: hidden;
    transform: translateY(-50%);
    color: var(--job50-control-placeholder);
    font-family: var(--j50-font-body, Inter, system-ui, sans-serif);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
    pointer-events: none;
    z-index: 2;
}

:is(#company-job-wizard, #company-job-search-wizard) .job50-workplace-ts.job50-ts-wrapper.single .ts-control .item {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    color: var(--job50-control-muted-text);
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
}

:is(#company-job-wizard, #company-job-search-wizard) .job50-workplace-ts.job50-ts-wrapper.single .ts-control > input {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 1px !important;
    min-width: 0 !important;
    max-width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    max-height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    caret-color: transparent !important;
    box-shadow: none !important;
}

:is(.job50-ts-wrapper, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper).single .ts-control::after {
    display: none !important;
}

:is(.job50-ts-wrapper, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper) .ts-control .item,
:is(.job50-ts-wrapper, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper) .ts-control input,
:is(.ts-dropdown.job50-ts-dropdown, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper .ts-dropdown),
:is(.ts-dropdown.job50-ts-dropdown, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper .ts-dropdown) .option,
:is(.ts-dropdown.job50-ts-dropdown, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper .ts-dropdown) .create,
:is(.ts-dropdown.job50-ts-dropdown, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper .ts-dropdown) .no-results {
    font-family: var(--j50-font-body, Inter, system-ui, sans-serif);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.35;
    color: var(--job50-control-text);
}

:is(.job50-ts-wrapper, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper) .ts-control > input {
    box-sizing: border-box;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent;
    box-shadow: none !important;
    color: var(--job50-control-text);
    text-indent: 0;
}

:is(.job50-ts-wrapper, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper) .ts-control > input::placeholder {
    color: var(--job50-control-placeholder);
}

:is(.job50-ts-wrapper.multi, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper.multi) .ts-control > div,
.job50-ts-wrapper.job50-ts-selected-badge .ts-control .item[data-ts-item] {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    padding: 4px 8px;
    border-radius: 2px;
    background: var(--job50-ts-chip-bg);
    color: var(--job50-ts-chip-color);
    white-space: nowrap;
}

.job50-ts-wrapper.job50-ts-selected-badge.has-items .ts-control,
:is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper.multi.has-items .ts-control {
    padding-top: 8px;
    padding-bottom: 8px;
}

:is(.job50-ts-wrapper, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper).plugin-remove_button .item .remove,
:is(.job50-ts-wrapper, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper).plugin-remove_button .item .remove-single {
    margin-left: 8px;
    border-left: 0;
    color: #333;
    text-decoration: none;
    font-weight: 700;
}

:is(.job50-ts-wrapper, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper).plugin-remove_button .item .remove:hover,
:is(.job50-ts-wrapper, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper).plugin-remove_button .item .remove:focus,
:is(.job50-ts-wrapper, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper).plugin-remove_button .item .remove-single:hover,
:is(.job50-ts-wrapper, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper).plugin-remove_button .item .remove-single:focus {
    color: var(--job50-dropdown-active-bg);
}

:is(.job50-ts-wrapper, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper).disabled .ts-control {
    opacity: .62;
    cursor: not-allowed;
}

:is(.ts-dropdown.job50-ts-dropdown, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper .ts-dropdown) {
    margin-top: -1px;
    padding: 0;
    border: 1px solid var(--job50-control-border-color);
    border-top: 0;
    border-radius: 0 0 var(--job50-control-radius) var(--job50-control-radius);
    overflow: hidden;
    background: var(--job50-dropdown-bg);
    box-shadow: var(--job50-dropdown-shadow);
}

:is(.ts-dropdown.job50-ts-dropdown, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper .ts-dropdown) .ts-dropdown-content {
    max-height: 280px;
    margin: 0;
    padding: 6px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    scrollbar-width: thin;
    scrollbar-color: #9a9a9a transparent;
}

:is(.ts-dropdown.job50-ts-dropdown, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper .ts-dropdown) .ts-dropdown-content::-webkit-scrollbar {
    width: 9px;
}

:is(.ts-dropdown.job50-ts-dropdown, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper .ts-dropdown) .ts-dropdown-content::-webkit-scrollbar-track {
    background: transparent;
}

:is(.ts-dropdown.job50-ts-dropdown, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper .ts-dropdown) .ts-dropdown-content::-webkit-scrollbar-thumb {
    border: 2px solid var(--job50-dropdown-bg);
    border-radius: 999px;
    background: #9a9a9a;
}

:is(.ts-dropdown.job50-ts-dropdown, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper .ts-dropdown) :is(.option, .create, .no-results) {
    margin: 0 6px;
    padding: 7px 12px;
    border: 0;
    border-radius: 4px;
    background: var(--job50-dropdown-bg);
    cursor: pointer;
}

:is(.ts-dropdown.job50-ts-dropdown, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper .ts-dropdown) :is(.option:hover, .option.active, .create:hover, .create.active, .active) {
    background: var(--job50-dropdown-active-bg);
    color: var(--job50-dropdown-active-color) !important;
}

:is(.ts-dropdown.job50-ts-dropdown, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper .ts-dropdown) :is(.option.selected, .create.selected) {
    background: var(--job50-dropdown-active-bg);
    color: var(--job50-dropdown-active-color) !important;
}

:is(.ts-dropdown.job50-ts-dropdown, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper .ts-dropdown) .highlight {
    border-radius: 3px;
    padding: 0 .08em;
    background: var(--job50-dropdown-highlight-bg);
    color: var(--job50-dropdown-highlight-color);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

:is(.ts-dropdown.job50-ts-dropdown, :is(#company-job-wizard, #company-job-search-wizard) .ts-wrapper .ts-dropdown) :is(.option.active, .option:hover, .create.active, .create:hover, .active) .highlight {
    background: rgba(255, 255, 255, .24);
    color: #fff;
}

/* ── Job-title Tom Select action button + locked badge ───────────────────── */
:is(#company-job-wizard, #company-job-search-wizard) select.js-tomselect-job-title + .ts-wrapper {
    position: relative;
}

:is(#company-job-wizard, #company-job-search-wizard) select.js-tomselect-job-title + .ts-wrapper .ts-control {
    padding-right: 56px;
}

:is(#company-job-wizard, #company-job-search-wizard) select.js-tomselect-job-title + .ts-wrapper .ts-control::before {
    content: none !important;
    display: none !important;
}

:is(#company-job-wizard, #company-job-search-wizard) select.js-tomselect-job-title + .ts-wrapper .job50-tomselect-action {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: url("data:image/svg+xml,%3C?xml%20version=%221.0%22%20encoding=%22UTF-8%22?%3E%3Csvg%20id=%22Layer_2%22%20data-name=%22Layer%202%22%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2020.32%2020.32%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23ed1c24%7D%3C/style%3E%3C/defs%3E%3Cg%20id=%22Layer_1-2%22%20data-name=%22Layer%201%22%3E%3Cpath%20class=%22cls-1%22%20d=%22M19.34,20.32l-7.67-7.67c-.59.52-1.27.92-2.06,1.2-.78.28-1.59.42-2.43.42-2,0-3.7-.7-5.09-2.09-1.39-1.39-2.09-3.07-2.09-5.05S.7,3.48,2.09,2.09C3.48.7,5.17,0,7.16,0s3.65.7,5.04,2.09c1.39,1.39,2.08,3.07,2.08,5.05,0,.83-.14,1.64-.42,2.42-.28.78-.69,1.49-1.23,2.13l7.69,7.64s-.98.99-.98.99ZM7.16,12.94c1.61,0,2.98-.56,4.1-1.69,1.12-1.13,1.69-2.49,1.69-4.11s-.56-2.98-1.69-4.11c-1.12-1.13-2.49-1.69-4.1-1.69s-3,.56-4.13,1.69c-1.13,1.13-1.69,2.49-1.69,4.11s.56,2.98,1.69,4.11c1.13,1.13,2.5,1.69,4.13,1.69Z%22/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
    background-color: transparent;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    z-index: 3;
    transition: filter .2s ease;
}

:is(#company-job-wizard, #company-job-search-wizard) select.js-tomselect-job-title + .ts-wrapper.has-selection .job50-tomselect-action,
:is(#company-job-wizard, #company-job-search-wizard) select.js-tomselect-job-title + .ts-wrapper .job50-tomselect-action.is-clear {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2020.32%2020.32%22%3E%3Ccircle%20cx=%2210.16%22%20cy=%2210.16%22%20r=%228.92%22%20fill=%22none%22%20stroke=%22%23ed1c24%22%20stroke-width=%221.6%22/%3E%3Cpath%20d=%22M6.48%206.48%2013.84%2013.84M13.84%206.48%206.48%2013.84%22%20fill=%22none%22%20stroke=%22%23ed1c24%22%20stroke-width=%221.6%22%20stroke-linecap=%22round%22/%3E%3C/svg%3E");
}

:is(#company-job-wizard, #company-job-search-wizard) select.js-tomselect-job-title + .ts-wrapper .job50-tomselect-action:focus,
:is(#company-job-wizard, #company-job-search-wizard) select.js-tomselect-job-title + .ts-wrapper .job50-tomselect-action:focus-visible,
:is(#company-job-wizard, #company-job-search-wizard) select.js-tomselect-job-title + .ts-wrapper .job50-tomselect-action:hover {
    outline: none;
    filter: brightness(0) saturate(100%) invert(10%) sepia(95%) saturate(5580%) hue-rotate(353deg) brightness(121%) contrast(87%);
}

:is(#company-job-wizard, #company-job-search-wizard) select.js-tomselect-job-title + .ts-wrapper .ts-control .item[data-ts-item] {
    background-color: var(--wp--preset--color--accent-1, #ed1c24);
    padding: 6px 12px;
    border-radius: 7px;
    color: var(--wp--preset--color--base, #fff);
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
    max-width: calc(100% - 58px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

:is(#company-job-wizard, #company-job-search-wizard) select.js-tomselect-job-title + .ts-wrapper .ts-control > input {
    margin-left: 6px;
    padding-right: 4px;
}

:is(#company-job-wizard, #company-job-search-wizard) .job-title-family-meta {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.35;
    color: var(--j50-gray-700, #666);
    text-align: center;
}

:is(#company-job-wizard, #company-job-search-wizard) .job-title-family-meta strong {
    color: var(--wp--preset--color--contrast, #111);
    font-weight: 700;
}

/* ── Layout wizard (formulaire offre d'emploi) ───────────────────────────── */
:is(#company-job-wizard, #company-job-search-wizard) form .block-content {
    display: flex;
    align-items: flex-start;
}

/* ── Shared criterion icons: wizard labels + matching tiles ─────────────────
   The glyph map lives here so every plugin uses the same Material Symbols. */
:is(#company-job-wizard, #company-job-search-wizard) .ic-label {
    display: inline-flex;
    padding-top: 5px !important;
}

:is(#company-job-wizard, #company-job-search-wizard) .ic-label::before, .job50-match-tile__title.ic-label::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Material Symbols Outlined';
    font-weight: 300;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'liga';
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' -25, 'opsz' 48;
}

:is(#company-job-wizard, #company-job-search-wizard) .ic-label::before {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    margin-right: 8px;
    margin-left: -24px;
    margin-top: -24px;
    font-size: 64px;
    color: var(--j50-gray-900);
    opacity: .12;
}

.job50-match-tile__title.ic-label::before {
    width: 40px;
    height: 40px;
    flex: 0 0 30px;
    margin: 0;
    font-size: 40px;
    color: #e6e6e6;
    opacity: 1;
    background: none !important;
    filter: none !important;
}

:is(#company-job-wizard, #company-job-search-wizard) .ic-label.label-experience::before,
.job50-match-tile__title.ic-label.label-experience::before { content: "star"; }

:is(#company-job-wizard, #company-job-search-wizard) .ic-label.label-education::before,
.job50-match-tile__title.ic-label.label-education::before { content: "school"; }

:is(#company-job-wizard, #company-job-search-wizard) .ic-label.label-languages::before,
.job50-match-tile__title.ic-label.label-languages::before { content: "emoji_language"; }

:is(#company-job-wizard, #company-job-search-wizard) .ic-label.label-hard-skills::before,
.job50-match-tile__title.ic-label.label-hard-skills::before { content: "design_services "; }

:is(#company-job-wizard, #company-job-search-wizard) .ic-label.label-soft-skills::before,
.job50-match-tile__title.ic-label.label-soft-skills::before { content: "family_star "; }

:is(#company-job-wizard, #company-job-search-wizard) .ic-label.label-education-area::before,
.job50-match-tile__title.ic-label.label-education-area::before { content: "menu_book"; }

:is(#company-job-wizard, #company-job-search-wizard) .ic-label.label-education-area::before { margin-left: 0; }

:is(#company-job-wizard, #company-job-search-wizard) .ic-label.label-driving-license::before,
.job50-match-tile__title.ic-label.label-driving-license::before { content: "car_tag "; }

:is(#company-job-wizard, #company-job-search-wizard) .ic-label.label-workplace::before,
.job50-match-tile__title.ic-label.label-workplace::before { content: "location_on"; }

:is(#company-job-wizard, #company-job-search-wizard) .ic-label.label-industry::before,
.job50-match-tile__title.ic-label.label-industry::before { content: "search_insights"; }

:is(#company-job-wizard, #company-job-search-wizard) .ic-label.label-employment-type::before,
.job50-match-tile__title.ic-label.label-employment-type::before { content: "contract"; }

:is(#company-job-wizard, #company-job-search-wizard) .ic-label.label-work-status::before,
.job50-match-tile__title.ic-label.label-work-status::before { content: "schedule"; }

:is(#company-job-wizard, #company-job-search-wizard) .ic-label.label-arrangement::before,
.job50-match-tile__title.ic-label.label-arrangement::before { content: "business_center"; }

:is(#company-job-wizard, #company-job-search-wizard) .ic-label.label-salary::before,
.job50-match-tile__title.ic-label.label-salary::before { content: "euro"; }

.job50-match-tile__title.ic-label.label-job-target::before { content: "track_changes"; }

.label-work-status.input-text::before {
    font-size: 48px !important;
    margin-top: 0 !important;
    height: 49px !important;
    margin-right: 0 !important;
}
:is(#company-job-wizard, #company-job-search-wizard) .label-title {
    font-family: var(--j50-font-display, "Google Sans Flex", Inter, system-ui, sans-serif);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 19px;
}

:is(#company-job-wizard, #company-job-search-wizard) form .label-title {
    flex: 0 0 40%;
    padding: 0;
    flex-wrap: wrap;
    margin-top: -15px;
}

:is(#company-job-wizard, #company-job-search-wizard) form .label-title small {
    font-size: 11px;
    color: rgba(51, 51, 51, .53);
    padding-left: 48px;
    width: 80%;
    margin-top: -16px;
}


/* Allow longer translated hard/soft skill labels to wrap cleanly without
   spilling into the TomSelect column. */
:is(#company-job-wizard, #company-job-search-wizard) form .label-title.label-hard-skills,
:is(#company-job-wizard, #company-job-search-wizard) form .label-title.label-soft-skills {
    position: relative;
    display: block;
    min-width: 0;
    box-sizing: border-box;
    padding-left: 54px !important;
    line-height: 1.08;
    white-space: normal;
    overflow-wrap: break-word;
}

:is(#company-job-wizard, #company-job-search-wizard) form .label-title.label-hard-skills::before,
:is(#company-job-wizard, #company-job-search-wizard) form .label-title.label-soft-skills::before {
    position: absolute;
    left: -14px;
    top: -24px;
    margin: 0;
}

:is(#company-job-wizard, #company-job-search-wizard) form .label-title.label-hard-skills small,
:is(#company-job-wizard, #company-job-search-wizard) form .label-title.label-soft-skills small {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding-left: 0;
    margin-top: 4px;
    line-height: 1.15;
}

/* Add breathing room between translated hard/soft skill labels and TomSelect. */
:is(#company-job-wizard, #company-job-search-wizard) :is(#fieldset_hard_skills, #fieldset_soft_skills) .block-content {
    column-gap: 28px;
}

:is(#company-job-wizard, #company-job-search-wizard) :is(#fieldset_hard_skills, #fieldset_soft_skills) .block-content .align-right {
    flex: 1 1 calc(60% - 28px);
    min-width: 0;
}

:is(#company-job-wizard, #company-job-search-wizard) form :is(.label-title.label-hard-skills, .label-title.label-soft-skills) {
    flex: 0 1 40%;
    padding-right: 18px !important;
}

:is(#company-job-wizard, #company-job-search-wizard) form .block-content .align-right { flex: 0 0 60%; min-width: auto; }
:is(#company-job-wizard, #company-job-search-wizard) form .block-content .input-text  { width: 100%; margin-top: 16px; }
:is(#company-job-wizard, #company-job-search-wizard) form .block-content .input-text input { min-width: 80%; }
:is(#company-job-wizard, #company-job-search-wizard) form .block-box.row { display: flex; flex-direction: column; width: 100%; gap: 24px; }
:is(#company-job-wizard, #company-job-search-wizard) form .grp_column_1 { display: flex; gap: 12px; }
:is(#company-job-wizard, #company-job-search-wizard) form .grp_column_2 { display: flex; gap: 4%; }
:is(#company-job-wizard, #company-job-search-wizard) form .grp_column_2 > * { min-width: 48%; }

/* Salary selects share the same two-column layout in recruiter and seeker wizards. */
:is(#company-job-wizard, #company-job-search-wizard) form #fieldset_salary .grp_column_2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: end;
    width: 100%;
}

:is(#company-job-wizard, #company-job-search-wizard) form #fieldset_salary .grp_column_2 > * {
    min-width: 0;
    width: 100%;
}

:is(#company-job-wizard, #company-job-search-wizard) form .button_div { justify-content: flex-end; position: relative; right: 0; margin-top: 32px; }

:is(#company-job-wizard, #company-job-search-wizard) form .add-item a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-transform: uppercase;
    font-size: 14px;
    color: var(--j50-gray-600, #8f8f8f);
}

:is(#company-job-wizard, #company-job-search-wizard) form .add-item a:hover {
    color: var(--wp--preset--color--accent-1, #ed1c24);
}

:is(#company-job-wizard, #company-job-search-wizard) form .add-item a::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 8px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-family: var(--j50-font-display, "Google Sans Flex", Inter, system-ui, sans-serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

:is(#company-job-wizard, #company-job-search-wizard) .button_div .buttons[type="submit"] { float: right; }

/* ── Slider range ────────────────────────────────────────────────────────── */
:is(#company-job-wizard, #company-job-search-wizard) .range-wrapper {
    position: relative;
    width: 100%;
    padding: 12px 0;
}

:is(#company-job-wizard, #company-job-search-wizard) .slider {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border: none;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    transition: opacity .2s;
}

:is(#company-job-wizard, #company-job-search-wizard) .slider:hover,
:is(#company-job-wizard, #company-job-search-wizard) .slider:focus,
:is(#company-job-wizard, #company-job-search-wizard) .slider:active {
    border: none;
    box-shadow: none !important;
}

:is(#company-job-wizard, #company-job-search-wizard) .slider::before,
:is(#company-job-wizard, #company-job-search-wizard) .slider::after {
    content: "0";
    position: absolute;
    bottom: -10px;
    left: 0;
    font-size: 16px;
    color: var(--j50-gray-300, #dedede);
}

:is(#company-job-wizard, #company-job-search-wizard) .slider::after {
    content: "25";
    left: auto;
    right: 0;
}

:is(#company-job-wizard, #company-job-search-wizard) .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: var(--wp--preset--color--accent-1, #ed1c24);
    border-radius: 9999em;
    cursor: pointer;
}

:is(#company-job-wizard, #company-job-search-wizard) .slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: var(--wp--preset--color--accent-1, #ed1c24);
    border-radius: 9999em;
    cursor: pointer;
}

:is(#company-job-wizard, #company-job-search-wizard) .bubble {
    position: absolute;
    top: -16px;
    left: 0;
    transform: translateX(-50%);
    white-space: nowrap;
    display: inline-flex;
    gap: 4px;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--wp--preset--color--contrast, #111);
    padding: 4px 8px;
    border-radius: 4px;
    pointer-events: none;
}

/* ── Radio / Checkbox groups ─────────────────────────────────────────────── */
.radio-group input[type="radio"],
.checkbox-group input[type="checkbox"],
.div_radio input[type="radio"],
.radio-switch input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.radio-group > *,
.checkbox-group > * {
    width: 30%;
    display: flex;
    align-items: center;
    gap: 4px;
}

.div_radio {
    display: flex;
    gap: 2%;
    flex-wrap: wrap;
}
.radio-group label,
.checkbox-group label,
.div_radio label {
    display: flex;
    width: 30%;
    padding: 15px;
    border: 1px solid var(--j50-gray-300, #dedede);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    background: var(--j50-gray-100, #fff);
    text-align: center;
    justify-content: center;
    align-items: center;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.div_radio label {
    font-family: var(--j50-font-display, "Google Sans Flex", Inter, system-ui, sans-serif);
    text-transform: uppercase;
    width: 48%;
    padding: 30px 15px;
}

.radio-group label:hover,
.checkbox-group label:hover,
.div_radio label:hover,
.radio-group label:has(input[type="radio"]:focus-visible),
.checkbox-group label:has(input[type="checkbox"]:focus-visible),
.div_radio label:has(input[type="radio"]:focus-visible) {
    border-color: var(--wp--preset--color--accent-1, #ed1c24);
    box-shadow: var(--j50-wizard-field-active-shadow);
}

.radio-group label:has(input[type="radio"]:checked),
.checkbox-group label:has(input[type="checkbox"]:checked),
.div_radio input[type="radio"]:checked + label {
    border-color: var(--wp--preset--color--accent-1, #ed1c24);
    background: var(--wp--preset--color--accent-1, #ed1c24);
    color: var(--wp--preset--color--base, #fff);
    box-shadow: var(--j50-wizard-field-active-shadow);
}

/* Radio switch */
:is(#company-job-wizard, #company-job-search-wizard) .radio-switch {
    position: relative;
    float: right;
    margin: 0;
    margin-top: 32px;
    width: 150px;
    height: 22px;
    background-color: #d3d3d3;
    border-radius: 9999em;
    display: flex;
    align-items: center;
}

:is(#company-job-wizard, #company-job-search-wizard) .radio-switch.big { width: 320px; height: 42px; margin-top: 16px; }

:is(#company-job-wizard, #company-job-search-wizard) .radio-switch label {
    flex: 1;
    text-align: center;
    color: var(--wp--preset--color--base, #fff);
    z-index: 2;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 10px;
}

:is(#company-job-wizard, #company-job-search-wizard) .radio-switch.big label {
    font-size: 12px;
    font-family: var(--j50-font-display, "Google Sans Flex", Inter, system-ui, sans-serif);
    font-weight: 700;
}

:is(#company-job-wizard, #company-job-search-wizard) .switch-selection {
    position: absolute;
    width: 50%;
    height: 100%;
    background-color: var(--wp--preset--color--accent-1, #ed1c24);
    border-radius: 9999em 0 0 9999em;
    transition: none;
}

:is(#company-job-wizard, #company-job-search-wizard) .option-1:checked ~ .switch-selection { transform: translateX(0); }
:is(#company-job-wizard, #company-job-search-wizard) .option-2:checked ~ .switch-selection { transform: translateX(100%); border-radius: 0 9999em 9999em 0; }

/* ── Textarea bulle ──────────────────────────────────────────────────────── */
:is(#company-job-wizard, #company-job-search-wizard) .textarea-bubble {
    position: relative;
    width: 100%;
    min-height: 250px;
    padding: 22px 58px 58px 22px;
    isolation: isolate;
}

:is(#company-job-wizard, #company-job-search-wizard) .textarea-bubble::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20459.19%20244.3%22%20preserveAspectRatio=%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id=%22g%22%20x1=%220%22%20y1=%220%22%20x2=%220%22%20y2=%221%22%3E%3Cstop%20offset=%220%25%22%20stop-color=%22%23ffffff%22/%3E%3Cstop%20offset=%22100%25%22%20stop-color=%22%23dedede%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath%20d=%22M443.19,1H16C7.72,1,1,7.72,1,16v152.85c0,8.28,6.72,15,15,15h282.27l104.06,59.06-15.76-59.06h56.62c8.28,0,15-6.72,15-15V16c0-8.28-6.72-15-15-15Z%22%20fill=%22%23ffffff%22%20stroke=%22url(%23g)%22%20stroke-width=%221%22%20stroke-linejoin=%22round%22/%3E%3C/svg%3E") no-repeat center / 100% 100%;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .025));
    pointer-events: none;
    z-index: 0;
    transition: filter .2s ease;
}

:is(#company-job-wizard, #company-job-search-wizard) .textarea-bubble::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 18px;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3C?xml%20version=%221.0%22%20encoding=%22UTF-8%22?%3E%3Csvg%20id=%22Layer_2%22%20data-name=%22Layer%202%22%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2016.5%2020.9%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23ed1c24%7D%3C/style%3E%3C/defs%3E%3Cg%20id=%22Layer_1-2%22%20data-name=%22Layer%201%22%3E%3Cpath%20class=%22cls-1%22%20d=%22M4.11,16.57h8.28v-1.25H4.11v1.25ZM4.11,11.97h8.28v-1.25H4.11v1.25ZM1.59,20.9c-.43,0-.8-.16-1.12-.47-.31-.31-.47-.69-.47-1.12V1.59c0-.43.16-.8.47-1.12.31-.31.69-.47,1.12-.47h9.56l5.36,5.36v13.96c0,.43-.16.8-.47,1.12-.31.31-.69.47-1.12.47H1.59ZM10.52,5.92V1.25H1.59c-.08,0-.16.04-.23.11-.07.07-.11.15-.11.23v17.73c0,.08.04.16.11.23.07.07.15.11.23.11h13.33c.08,0,.16-.04.23-.11.07-.07.15-.11.15-.23V5.92s-4.73,0-4.73,0ZM1.25,1.25v4.67V1.25v18.4V1.25Z%22/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
    pointer-events: none;
    z-index: 2;
}

:is(#company-job-wizard, #company-job-search-wizard) .textarea-bubble:hover::before,
:is(#company-job-wizard, #company-job-search-wizard) .textarea-bubble:focus-within::before {
    filter: drop-shadow(var(--j50-wizard-field-active-shadow));
}

:is(#company-job-wizard, #company-job-search-wizard) .textarea-bubble:focus-within::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20459.19%20244.3%22%20preserveAspectRatio=%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id=%22g%22%20x1=%220%22%20y1=%220%22%20x2=%220%22%20y2=%221%22%3E%3Cstop%20offset=%220%25%22%20stop-color=%22%23ffffff%22/%3E%3Cstop%20offset=%22100%25%22%20stop-color=%22%23ed1c24%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath%20d=%22M443.19,1H16C7.72,1,1,7.72,1,16v152.85c0,8.28,6.72,15,15,15h282.27l104.06,59.06-15.76-59.06h56.62c8.28,0,15-6.72,15-15V16c0-8.28-6.72-15-15-15Z%22%20fill=%22%23ffffff%22%20stroke=%22url(%23g)%22%20stroke-width=%221%22%20stroke-linejoin=%22round%22/%3E%3C/svg%3E");
}

:is(#company-job-wizard, #company-job-search-wizard) .textarea-bubble textarea {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    min-height: 150px;
    padding: 0 !important;
    margin: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    resize: none;
}

:is(#company-job-wizard, #company-job-search-wizard) .textarea-bubble textarea:focus {
    outline: none;
}

/**
 * ── Migrated from job-wizard + job-search-wizard (Pass 2) ───────────────────
 *
 * 1. Native custom modal (add-item dialogs) — unified via :is()
 * 2. jQuery Modal backdrop blur (step-1 confirm)
 * 3. Shared keyframes: j50WizardWobbleTop, jobWizardModalDreamIn
 *
 * Both wizard plugins now depend on 'job50-shared-wizard'. These rules replace
 * the duplicated blocks that existed in each plugin's company-job-wizard.css.
 */

/* ── 1. Native wizard modal content — shell comes from job50-modal ───── */

:is(#company-job-wizard, #company-job-search-wizard)
    :is(.job-wizard__modal, .job-search-wizard__modal)[hidden] {
    display: none !important;
}

:is(#company-job-wizard, #company-job-search-wizard)
    :is(.job-wizard__modal-body, .job-search-wizard__modal-body) {
    display: grid;
    gap: 12px;
}

:is(#company-job-wizard, #company-job-search-wizard)
    :is(.job-wizard__modal-help, .job-search-wizard__modal-help) {
    margin: 10px 0 0;
    min-height: 1.2em;
    color: var(--wp--preset--color--accent-1, #ed1c24);
}

:is(#company-job-wizard, #company-job-search-wizard)
    :is(.job-wizard__modal-actions, .job-search-wizard__modal-actions) {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

/* ── 2. jQuery Modal backdrop blur (step-1 confirm modal) ────────────────── */

.jquery-modal.blocker.current {
    backdrop-filter: blur(2px);
}

/* ── 3. Shared keyframes ─────────────────────────────────────────────────── */

/**
 * Wobble entry animation — job title lock (step 1).
 * Canonical name: j50WizardWobbleTop.
 * Both wizard plugins reference this name after Pass 2.
 */
@keyframes j50WizardWobbleTop {
    0% { opacity: .2; }
    100% { opacity: 1; }
}

/**
 * Slide-up + scale-in — step-1 confirm modal (jQuery Modal).
 * Used by both #job-wizard-step1-confirm-modal and
 * #job-search-wizard-step1-confirm-modal.
 */
@keyframes jobWizardModalDreamIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}


/**
 * ── Migrated from job-wizard + job-search-wizard (Pass 3) ───────────────────
 *
 * 1. Wizard stepper / viewport / track / progress / dot
 * 2. Wizard section header
 * 3. Salary range slider
 * 4. Wizard panel card + admin table
 *
 * Note on font-weight: shared uses 600 (seeker value). The recruiter wizard
 * keeps a one-line override in job-wizard.css:
 *   #company-job-wizard .job-wizard__num { font-weight: 700; }
 */

/* ── 1. Stepper chrome ───────────────────────────────────────────────────── */

:is(#company-job-wizard, #company-job-search-wizard)
    :is(.job-wizard__viewport, .job-search-wizard__viewport) {
	overflow: hidden;
	transition: height 250ms ease;
	width: 100%;
}

:is(#company-job-wizard, #company-job-search-wizard)
    :is(.job-wizard__track, .job-search-wizard__track) {
	display: flex;
	transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
	:is(#company-job-wizard, #company-job-search-wizard)
	    :is(.job-wizard__track, .job-search-wizard__track) {
		transition: none;
		will-change: auto;
	}
}

:is(#company-job-wizard, #company-job-search-wizard)
    :is(.job-wizard__step, .job-search-wizard__step) {
	flex: 0 0 100%;
	width: 100%;
	box-sizing: border-box;
}

:is(#company-job-wizard, #company-job-search-wizard)
    :is(.job-wizard__progress, .job-search-wizard__progress) {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 48px;
}

:is(#company-job-wizard, #company-job-search-wizard)
    :is(.job-wizard__stepper, .job-search-wizard__stepper) {
	display: flex;
	align-items: center;
	gap: 10px;
	border: 0;
	background: transparent;
	padding: 6px 8px;
	cursor: pointer;
}

:is(#company-job-wizard, #company-job-search-wizard)
    :is(.job-wizard__stepper, .job-search-wizard__stepper):focus {
	outline: none;
	border: none;
}

:is(#company-job-wizard, #company-job-search-wizard)
    :is(.job-wizard__num, .job-search-wizard__num) {
    font-family: var(--wp--preset--font-family--google-sans-flex);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid #dedede;
    font-weight: 600;
    line-height: 1;
    background: #FFF;
}


/* Keep wizard progress numbers perfectly circular when the stepper contracts. */
@media screen and (max-width: 781px),
       screen and (max-width: 1024px) and (max-height: 500px) {
    :is(#company-job-wizard, #company-job-search-wizard)
        :is(.job-wizard__num, .job-search-wizard__num) {
        flex: 0 0 32px;
        width: 32px;
        min-width: 32px;
        max-width: 32px;
        height: 32px;
        min-height: 32px;
        max-height: 32px;
        aspect-ratio: 1 / 1;
        box-sizing: border-box;
    }
}

:is(#company-job-wizard, #company-job-search-wizard)
    :is(.job-wizard__label, .job-search-wizard__label) {
	font-size: 0.9rem;
	opacity: 0.8;
}

:is(#company-job-wizard, #company-job-search-wizard)
    :is(.job-wizard__sep, .job-search-wizard__sep) {
	flex: 0 0 36px;
	height: 2px;
	background: #ddd;
	border-radius: 999px;
}

:is(#company-job-wizard, #company-job-search-wizard)
    :is(.job-wizard__stepper, .job-search-wizard__stepper).is-active
    :is(.job-wizard__num, .job-search-wizard__num) {
	background-color: var(--wp--preset--color--accent-1);
	border-color: var(--wp--preset--color--accent-1);
	color: #fff;
}

:is(#company-job-wizard, #company-job-search-wizard)
    :is(.job-wizard__stepper, .job-search-wizard__stepper).is-done
    :is(.job-wizard__num, .job-search-wizard__num) {
	border-color: #111;
}

:is(#company-job-wizard, #company-job-search-wizard)
    :is(.job-wizard__stepper, .job-search-wizard__stepper).is-active
    :is(.job-wizard__label, .job-search-wizard__label) {
	opacity: 1;
}

:is(#company-job-wizard, #company-job-search-wizard)
    :is(.job-wizard__stepper, .job-search-wizard__stepper):disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

:is(#company-job-wizard, #company-job-search-wizard)
    :is(.job-wizard__dot, .job-search-wizard__dot) {
	height: 6px;
	flex: 1;
	border-radius: 999px;
	background: #ddd;
}

:is(#company-job-wizard, #company-job-search-wizard)
    :is(.job-wizard__dot, .job-search-wizard__dot).is-active {
	background: #111;
}

/* ── 2. Wizard section header ────────────────────────────────────────────── */

.job-wizard-header,
.job-search-wizard-header {
    margin-top: 16px;
}

.job-wizard-header h2,
.job-wizard-header p,
.job-search-wizard-header h2,
.job-search-wizard-header p {
    margin-bottom: 0;
}

/* ── 3. Salary range slider ──────────────────────────────────────────────── */

:is(#company-job-wizard, #company-job-search-wizard) .salary-range-wrapper {
    width: 100%;
    position: relative;
}

:is(#company-job-wizard, #company-job-search-wizard) .salary-range-slider {
    position: relative;
    width: 100%;
    padding: 24px 0 0;
    min-height: 72px;
}

:is(#company-job-wizard, #company-job-search-wizard) .salary-range-track {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 10px;
    transform: translateY(-50%);
    border-radius: 5px;
    background: #d3d3d3;
}

:is(#company-job-wizard, #company-job-search-wizard) .salary-range-fill {
    position: absolute;
    top: 50%;
    height: 10px;
    transform: translateY(-50%);
    border-radius: 5px;
    background: var(--wp--preset--color--accent-1);
}

:is(#company-job-wizard, #company-job-search-wizard) .salary-range-slider .slider {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 10px;
    transform: translateY(-50%);
    margin: 0;
    background: transparent;
    pointer-events: none;
}

:is(#company-job-wizard, #company-job-search-wizard) .salary-range-slider .slider::before,
:is(#company-job-wizard, #company-job-search-wizard) .salary-range-slider .slider::after {
    display: none;
}

:is(#company-job-wizard, #company-job-search-wizard) .salary-range-slider .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    width: 25px;
    height: 25px;
    background: var(--wp--preset--color--accent-1);
    border-radius: 9999em;
    border: none;
    cursor: pointer;
}

:is(#company-job-wizard, #company-job-search-wizard) .salary-range-slider .slider::-moz-range-thumb {
    pointer-events: auto;
    width: 25px;
    height: 25px;
    background: var(--wp--preset--color--accent-1);
    border-radius: 9999em;
    border: none;
    cursor: pointer;
}

:is(#company-job-wizard, #company-job-search-wizard) .salary-range-scale {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: #dedede;
}

/* ── 4. Wizard panel card + admin table ──────────────────────────────────── */

.job-wizard-panel,
.job-search-wizard-panel {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    margin: 0 0 24px;
}

.job-wizard-admin-table,
.job-search-wizard-admin-table {
    width: 100%;
    border-collapse: collapse;
}

.job-wizard-admin-table th,
.job-wizard-admin-table td,
.job-search-wizard-admin-table th,
.job-search-wizard-admin-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: top;
}

.job-wizard-admin-table th,
.job-search-wizard-admin-table th {
    font-weight: 700;
}


/**
 * ── Migrated from job-wizard + job-search-wizard (Pass 4) ───────────────────
 *
 * Step-1 confirmation modal (jQuery Modal).
 * Both shortcodes render the outer div with class "job-wizard-step1-confirm-modal"
 * in addition to their plugin-specific ID, so selectors work with no PHP change.
 *
 * Replaced:
 *   #job-wizard-step1-confirm-modal { ... }  (job-wizard.css)
 *   #job-search-wizard-step1-confirm-modal { ... }  (job-search-wizard.css)
 */

/* ── Container ───────────────────────────────────────────────────────────── */

.job-wizard-step1-confirm-modal {
    position: relative;
    width: min(92vw, 620px) !important;
    max-width: 620px !important;
    padding: 34px 36px 26px !important;
    border-radius: 8px !important;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .16) !important;
    animation: jobWizardModalDreamIn .34s cubic-bezier(.2, .72, .19, 1);
}

/* ── Close button ────────────────────────────────────────────────────────── */

.job-wizard-step1-confirm-modal .job-wizard-step1-confirm-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #111;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
}

.job-wizard-step1-confirm-modal .job-wizard-step1-confirm-modal__close:hover {
    color: var(--wp--preset--color--accent-1);
    background: rgba(237, 28, 36, .06);
}

.job-wizard-step1-confirm-modal .job-wizard-step1-confirm-modal__close .material-symbols-outlined,
.job-wizard-step1-confirm-modal .job-wizard-step1-confirm-modal__close-icon {
    font-family: 'Material Symbols Outlined' !important;
    font-size: 24px;
    line-height: 1;
    font-weight: 300;
    font-style: normal;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 64;
}

/* ── Typographie ─────────────────────────────────────────────────────────── */

.job-wizard-step1-confirm-modal .job-wizard-step1-confirm-modal__eyebrow {
    margin: 0 0 10px;
    font-family: var(--j50-font-display, "Google Sans Flex", Inter, system-ui, sans-serif);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--wp--preset--color--accent-1);
}

.job-wizard-step1-confirm-modal .job-wizard-step1-confirm-modal__title {
    margin: 0;
    font-size: 21px;
    line-height: .98;
    text-transform: uppercase;
}

.job-wizard-step1-confirm-modal .job-wizard-step1-confirm-modal__intro {
    margin: 14px 0 0;
    font-size: 18px;
    line-height: 1.5;
    color: #666;
}

/* ── Liste d'items ───────────────────────────────────────────────────────── */

.job-wizard-step1-confirm-modal .job-wizard-step1-confirm-modal__list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.job-wizard-step1-confirm-modal .job-wizard-step1-confirm-modal__item {
    display: block;
    padding: 18px 18px 16px;
    border: 1px solid #ececec;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
}

.job-wizard-step1-confirm-modal .job-wizard-step1-confirm-modal__item[hidden] {
    display: none;
}

.job-wizard-step1-confirm-modal .job-wizard-step1-confirm-modal__item-copy {
    min-width: 0;
}

.job-wizard-step1-confirm-modal .job-wizard-step1-confirm-modal__item-title {
    margin: 0 0 6px;
    font-family: var(--j50-font-display, "Google Sans Flex", Inter, system-ui, sans-serif);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #222;
}

.job-wizard-step1-confirm-modal .job-wizard-step1-confirm-modal__item-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: #5c5c5c;
}

/* ── Actions ─────────────────────────────────────────────────────────────── */

.job-wizard-step1-confirm-modal .job-wizard-step1-confirm-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 26px;
}

.job-wizard-step1-confirm-modal .job-wizard-step1-confirm-modal__actions .buttons {
    min-width: 128px;
    justify-content: center;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media screen and (max-width: 781px) {
    .job-wizard-step1-confirm-modal {
        padding: 28px 22px 22px;
        border-radius: 22px;
    }

    .job-wizard-step1-confirm-modal .job-wizard-step1-confirm-modal__title {
        font-size: clamp(24px, 8vw, 34px);
    }

    .job-wizard-step1-confirm-modal .job-wizard-step1-confirm-modal__intro,
    .job-wizard-step1-confirm-modal .job-wizard-step1-confirm-modal__item-text {
        font-size: 15px;
    }

    .job-wizard-step1-confirm-modal .job-wizard-step1-confirm-modal__actions {
        flex-direction: column;
    }

    .job-wizard-step1-confirm-modal .job-wizard-step1-confirm-modal__actions .buttons {
        width: 100%;
    }
}


/* ── Job50 V1 → V2 onboarding notice inside recruiter/seeker wizards ── */
:is(#company-job-wizard, #company-job-search-wizard) .job50-onboarding-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: min(920px, 100%);
    margin: 0 auto 26px;
    padding: 18px 22px;
    border: 1px solid rgba(237, 28, 36, .16);
    border-left: 4px solid var(--wp--preset--color--accent-1, #ed1c24);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(241,247,255,.86));
    box-shadow: 0 18px 42px rgba(25, 44, 84, .10);
    color: #1d2a3d;
}

:is(#company-job-wizard, #company-job-search-wizard) .job50-onboarding-notice__icon,
:is(#company-job-wizard, #company-job-search-wizard) .job50-onboarding-notice__icon.material-symbols-outlined {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(237, 28, 36, .10);
    color: var(--wp--preset--color--accent-1, #ed1c24);
    font-size: 23px;
    line-height: 1;
}

:is(#company-job-wizard, #company-job-search-wizard) .job50-onboarding-notice__body {
    min-width: 0;
}

:is(#company-job-wizard, #company-job-search-wizard) .job50-onboarding-notice__title {
    margin: 0 0 5px;
    font-family: var(--wp--preset--font-family--google-sans-flex, inherit);
    font-size: 15px;
    font-weight: 760;
    letter-spacing: .01em;
    color: #11213a;
}

:is(#company-job-wizard, #company-job-search-wizard) .job50-onboarding-notice__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(29, 42, 61, .78);
}

@media screen and (max-width: 781px) {
    :is(#company-job-wizard, #company-job-search-wizard) .job50-onboarding-notice {
        gap: 12px;
        padding: 16px;
        border-radius: 18px;
    }
}


/**
 * ── Recruiter wizard — Step 2 responsive card layout ──────────────────────
 *
 * Keep the validated desktop presentation untouched. On phones and compact
 * landscape screens, each criterion card becomes a readable vertical flow:
 * title/description, full-width control, then Desired/Required switch.
 */
@media screen and (max-width: 781px),
       screen and (max-width: 1024px) and (max-height: 500px) {
    #company-job-wizard #form-match-1 {
        width: 100%;
        min-width: 0;
    }

    #company-job-wizard #form-match-1 > fieldset {
        box-sizing: border-box;
        width: 100% !important;
        min-width: 0;
        max-width: none;
        margin-right: 0;
        margin-left: 0;
        padding: 22px 18px 18px;
        overflow: visible;
    }

    #company-job-wizard #form-match-1 > fieldset > .block-content {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        width: 100%;
        min-width: 0;
    }

    #company-job-wizard #form-match-1 > fieldset > .block-content > * {
        box-sizing: border-box;
        min-width: 0;
        max-width: 100%;
    }

    /* Criterion heading: icon, readable title and helper copy. */
    #company-job-wizard #form-match-1 .label-title,
    #company-job-wizard #form-match-1 .label-title.label-hard-skills,
    #company-job-wizard #form-match-1 .label-title.label-soft-skills {
        position: static;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 10px;
        row-gap: 4px;
        align-items: start;
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0 !important;
        font-size: 18px;
        line-height: 1.08;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    #company-job-wizard #form-match-1 .label-title::before,
    #company-job-wizard #form-match-1 .label-title.label-hard-skills::before,
    #company-job-wizard #form-match-1 .label-title.label-soft-skills::before {
        position: static;
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 44px;
        height: 44px;
        margin: 0 !important;
        font-size: 44px;
        flex: 0 0 44px;
    }

    #company-job-wizard #form-match-1 .label-title small,
    #company-job-wizard #form-match-1 .label-title.label-hard-skills small,
    #company-job-wizard #form-match-1 .label-title.label-soft-skills small {
        grid-column: 2;
        grid-row: 2;
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        font-size: 12px;
        line-height: 1.28;
        overflow-wrap: anywhere;
    }

    /* Every Step 2 control owns the full card width. */
    #company-job-wizard #form-match-1 .block-content .align-right,
    #company-job-wizard #form-match-1 .block-content .range-wrapper,
    #company-job-wizard #form-match-1 .block-content .block-box,
    #company-job-wizard #form-match-1 .block-content .languages-select-wrap,
    #company-job-wizard #form-match-1 .block-content > .ts-wrapper,
    #company-job-wizard #form-match-1 .languages-select-wrap .ts-wrapper,
    #company-job-wizard #form-match-1 #fieldset_driving_license .block-content > div {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    #company-job-wizard #form-match-1 .block-content .input-text,
    #company-job-wizard #form-match-1 .block-content .input-text input,
    #company-job-wizard #form-match-1 .ts-wrapper,
    #company-job-wizard #form-match-1 .ts-control {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    #company-job-wizard #form-match-1 .range-wrapper {
        margin-top: 4px;
        padding-top: 20px;
    }

    /* Education choices: two tiles on normal phones, one when space is tight. */
    #company-job-wizard #form-match-1 #fieldset_education_level .radio-group {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
        gap: 10px;
        width: 100%;
    }

    #company-job-wizard #form-match-1 #fieldset_education_level .radio-group > *,
    #company-job-wizard #form-match-1 #fieldset_education_level .radio-group > label {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin: 0;
    }

    #company-job-wizard #form-match-1 #fieldset_education_level .radio-group > label {
        min-height: 50px;
        padding: 11px 8px;
        font-size: 13px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    #company-job-wizard #form-match-1 #fieldset_education_level .js-education-area-wrap {
        grid-column: 1 / -1;
        margin-top: 0;
    }

    #company-job-wizard #form-match-1 #fieldset_education_level .js-education-area-wrap::before {
        display: none;
    }

    /* Driving licences: responsive tile grid, never a squeezed desktop row. */
    #company-job-wizard #form-match-1 #fieldset_driving_license .js-driving-license-group {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
        gap: 10px;
        width: 100%;
    }

    #company-job-wizard #form-match-1 #fieldset_driving_license .js-driving-license-group > *,
    #company-job-wizard #form-match-1 #fieldset_driving_license .js-driving-license-group .job-wizard-license-tile {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin: 0;
        min-height: 104px;
        padding: 12px 8px;
    }

    #company-job-wizard #form-match-1 #fieldset_driving_license .job-wizard-license-tile__text {
        font-size: 13px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    #company-job-wizard #form-match-1 .job-wizard-driving-license-none-row {
        width: 100%;
        margin-top: 14px;
    }

    #company-job-wizard #form-match-1 .job-wizard-driving-license-none-label {
        align-items: flex-start;
        width: 100%;
        line-height: 1.3;
    }

    /* Requirement switch belongs below the control, aligned to the right. */
    #company-job-wizard #form-match-1 > fieldset > .radio-switch {
        float: none;
        clear: both;
        margin: 18px 0 0 auto;
    }
}

/**
 * ── Seeker wizard — Step 2 responsive card layout ─────────────────────────
 *
 * Mirrors the validated recruiter mobile composition without importing the
 * recruiter-only Desired/Required switches. Desktop remains untouched.
 */
@media screen and (max-width: 781px),
       screen and (max-width: 1024px) and (max-height: 500px) {
    #company-job-search-wizard #form-match-1 {
        width: 100%;
        min-width: 0;
    }

    #company-job-search-wizard #form-match-1 > fieldset {
        box-sizing: border-box;
        width: 100% !important;
        min-width: 0;
        max-width: none;
        margin-right: 0;
        margin-left: 0;
        padding: 22px 18px 18px;
        overflow: visible;
    }

    #company-job-search-wizard #form-match-1 > fieldset > .block-content {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        width: 100%;
        min-width: 0;
    }

    #company-job-search-wizard #form-match-1 > fieldset > .block-content > * {
        box-sizing: border-box;
        min-width: 0;
        max-width: 100%;
    }

    #company-job-search-wizard #form-match-1 .label-title,
    #company-job-search-wizard #form-match-1 .label-title.label-hard-skills,
    #company-job-search-wizard #form-match-1 .label-title.label-soft-skills {
        position: static;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 10px;
        row-gap: 4px;
        align-items: start;
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0 !important;
        font-size: 18px;
        line-height: 1.08;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    #company-job-search-wizard #form-match-1 .label-title::before,
    #company-job-search-wizard #form-match-1 .label-title.label-hard-skills::before,
    #company-job-search-wizard #form-match-1 .label-title.label-soft-skills::before {
        position: static;
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 44px;
        height: 44px;
        margin: 0 !important;
        font-size: 44px;
        flex: 0 0 44px;
    }

    #company-job-search-wizard #form-match-1 .label-title small,
    #company-job-search-wizard #form-match-1 .label-title.label-hard-skills small,
    #company-job-search-wizard #form-match-1 .label-title.label-soft-skills small {
        grid-column: 2;
        grid-row: 2;
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        font-size: 12px;
        line-height: 1.28;
        overflow-wrap: anywhere;
    }

    #company-job-search-wizard #form-match-1 .block-content .align-right,
    #company-job-search-wizard #form-match-1 .block-content .range-wrapper,
    #company-job-search-wizard #form-match-1 .block-content .block-box,
    #company-job-search-wizard #form-match-1 .block-content .languages-select-wrap,
    #company-job-search-wizard #form-match-1 .block-content > .ts-wrapper,
    #company-job-search-wizard #form-match-1 .languages-select-wrap .ts-wrapper,
    #company-job-search-wizard #form-match-1 #fieldset_driving_license .block-content > div {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    #company-job-search-wizard #form-match-1 .block-content .input-text,
    #company-job-search-wizard #form-match-1 .block-content .input-text input,
    #company-job-search-wizard #form-match-1 .ts-wrapper,
    #company-job-search-wizard #form-match-1 .ts-control {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    #company-job-search-wizard #form-match-1 .range-wrapper {
        margin-top: 4px;
        padding-top: 20px;
    }

    #company-job-search-wizard #form-match-1 #fieldset_education_level .radio-group {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
        gap: 10px;
        width: 100%;
    }

    #company-job-search-wizard #form-match-1 #fieldset_education_level .radio-group > *,
    #company-job-search-wizard #form-match-1 #fieldset_education_level .radio-group > label {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin: 0;
    }

    #company-job-search-wizard #form-match-1 #fieldset_education_level .radio-group > label {
        min-height: 50px;
        padding: 11px 8px;
        font-size: 13px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    #company-job-search-wizard #form-match-1 #fieldset_education_level .js-education-area-wrap {
        grid-column: 1 / -1;
        margin-top: 0;
    }

    #company-job-search-wizard #form-match-1 #fieldset_education_level .js-education-area-wrap::before {
        display: none;
    }

    #company-job-search-wizard #form-match-1 #fieldset_driving_license .js-driving-license-group {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
        gap: 10px;
        width: 100%;
    }

    #company-job-search-wizard #form-match-1 #fieldset_driving_license .js-driving-license-group > *,
    #company-job-search-wizard #form-match-1 #fieldset_driving_license .js-driving-license-group .job-wizard-license-tile {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin: 0;
        min-height: 104px;
        padding: 12px 8px;
    }

    #company-job-search-wizard #form-match-1 #fieldset_driving_license .job-wizard-license-tile__text {
        font-size: 13px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    #company-job-search-wizard #form-match-1 .job-wizard-driving-license-none-row {
        width: 100%;
        margin: 14px 0 0;
    }

    #company-job-search-wizard #form-match-1 .job-wizard-driving-license-none-label {
        align-items: flex-start;
        width: 100%;
        line-height: 1.3;
    }
}


/**
 * ── Recruiter + seeker wizards — Step 3 responsive card layout ──────────────────────
 *
 * Preserve the validated desktop presentation. On phones and compact
 * landscape screens, each work-preference criterion becomes a readable vertical
 * card: title/description, full-width controls, then Desired/Required switch.
 */
@media screen and (max-width: 781px),
       screen and (max-width: 1024px) and (max-height: 500px) {
    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 {
        width: 100%;
        min-width: 0;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 > fieldset {
        box-sizing: border-box;
        width: 100% !important;
        min-width: 0;
        max-width: none;
        margin-right: 0;
        margin-left: 0;
        padding: 22px 18px 18px;
        overflow: visible;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 > fieldset > .block-content {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        width: 100%;
        min-width: 0;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 > fieldset > .block-content + .block-content {
        margin-top: 16px;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 > fieldset > .block-content > * {
        box-sizing: border-box;
        min-width: 0;
        max-width: 100%;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .label-title {
        position: static;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 10px;
        row-gap: 4px;
        align-items: start;
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0 !important;
        font-size: 18px;
        line-height: 1.08;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .label-title::before {
        position: static;
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 44px;
        height: 44px;
        margin: 0 !important;
        font-size: 44px;
        flex: 0 0 44px;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .label-title small {
        grid-column: 2;
        grid-row: 2;
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        font-size: 12px;
        line-height: 1.28;
        overflow-wrap: anywhere;
    }

    /* Every Step 3 control owns the full card width. */
    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .block-content .align-right,
    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .block-content .block-box,
    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .block-content .wizard-stack,
    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .block-content > .ts-wrapper,
    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .block-content .ts-wrapper,
    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .salary-range-wrapper,
    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .salary-single-wrapper,
    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .salary-confidential-toggle {
        flex: 0 0 auto;
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 :is(select, input[type="text"], .ts-wrapper, .ts-control) {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .wizard-stack--workplace {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 12px;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .wizard-stack--workplace > *,
    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .wizard-stack--workplace > .js-workplace-state-wrap,
    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .wizard-stack--workplace > .js-workplace-city-wrap {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .job-wizard-workplace-none-row,
    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .salary-confidential-toggle {
        margin: 2px 0 0;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .job-wizard-driving-license-none-label,
    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .job-wizard-inline-checkbox-label {
        align-items: flex-start;
        width: 100%;
        line-height: 1.3;
    }

    /* Employment/status/arrangement choices become compact responsive tiles. */
    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 :is(#fieldset_employment_type, #fieldset_work_status, #fieldset_arrangement) :is(.checkbox-group, .radio-group) {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
        gap: 10px;
        width: 100%;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 :is(#fieldset_employment_type, #fieldset_work_status, #fieldset_arrangement) :is(.checkbox-group, .radio-group) > *,
    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 :is(#fieldset_employment_type, #fieldset_work_status, #fieldset_arrangement) :is(.checkbox-group, .radio-group) > label {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin: 0;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 :is(#fieldset_employment_type, #fieldset_work_status, #fieldset_arrangement) :is(.checkbox-group, .radio-group) > label {
        min-height: 50px;
        padding: 11px 8px;
        font-size: 13px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 #fieldset_work_status .block-box--work-status {
        gap: 14px;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 #fieldset_work_status .input-text {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0 !important;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 #fieldset_work_status .input-text::before {
        display: none;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 #fieldset_work_status .input-text input {
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .conditional-days-wrap {
        width: 100%;
        margin: 0;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .conditional-days-wrap > .label-title {
        display: block;
        width: 100%;
        margin: 0 0 10px;
        padding: 0 !important;
        font-size: 14px;
        line-height: 1.25;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .conditional-days-wrap > .label-title::before {
        display: none;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .days-picker {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 6px;
        width: 100%;
        max-width: none;
        margin-top: 0;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 .days-option span {
        min-width: 0;
        height: 32px;
        font-size: 12px;
    }

    /* Salary: full-width dual recruiter range or single seeker range, then two compact equal selects. */
    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 #fieldset_salary .block-box {
        gap: 18px;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 #fieldset_salary :is(.salary-range-wrapper, .salary-single-wrapper) {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding-top: 24px;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 #fieldset_salary :is(.salary-range-slider, .salary-single-wrapper .range-wrapper, .salary-single-wrapper .slider),
    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 #fieldset_salary .salary-range-scale {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 #fieldset_salary .salary-range-scale {
        gap: 12px;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 #fieldset_salary .salary-range-scale > span {
        min-width: 0;
        font-size: 12px;
        white-space: nowrap;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 #fieldset_salary .grp_column_2 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }

    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 #fieldset_salary .grp_column_2 > * {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin: 0;
    }

    /* Requirement switch belongs below each control, aligned to the right. */
    :is(#company-job-wizard, #company-job-search-wizard) #form-match-2 > fieldset > .radio-switch {
        float: none;
        clear: both;
        margin: 18px 0 0 auto;
    }
}

/* Recruiter job ads + match detail: centre wrapped breadcrumb lines on mobile. */
@media (max-width: 781px) {
    :is(.job50-recruiter-jobs-page, .job50-recruiter-match-detail) > .job50-breadcrumb {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-inline: auto;
        justify-self: stretch;
    }

    :is(.job50-recruiter-jobs-page, .job50-recruiter-match-detail) > .job50-breadcrumb .job50-breadcrumb__list {
        display: flex;
        width: 100%;
        min-width: 0;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        column-gap: 8px;
        row-gap: 8px;
        text-align: center;
    }

    :is(.job50-recruiter-jobs-page, .job50-recruiter-match-detail) > .job50-breadcrumb .job50-breadcrumb__item {
        min-width: 0;
        max-width: 100%;
        justify-content: center;
        text-align: center;
    }

    :is(.job50-recruiter-jobs-page, .job50-recruiter-match-detail) > .job50-breadcrumb .job50-breadcrumb__item > :is(a, span) {
        max-width: 100%;
        text-align: center;
        word-break: normal;
        overflow-wrap: break-word;
    }
}
