/* Isolated WBF application presentation, used with the private mini endpoint. */
html.wbfrm-apply-lock,
html.wbfrm-apply-lock body { overflow: hidden !important; }

/* De oude Elementor-formulierlaag mag in sollicitatiemodus niet ook onder de
   nieuwe flow staan. Zonder JavaScript blijft die oude fallback juist bestaan. */
html.js body.wbfrm-application-flow-open #vacature-sollicitatie-formulier,
html.js body.wbfrm-application-flow-open .wbfrm-single-apply-form { display: none !important; }
html.no-js .wbfrm-apply { display: none !important; }

.wbfrm-apply[hidden] { display: none !important; }
.wbfrm-apply [hidden] { display: none !important; }
.wbfrm-apply {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background:#f7f7f7;
    color: #171717;
    font-family: Inter, Arial, sans-serif;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity .22s ease, transform .22s ease;
}
.wbfrm-apply.is-open { opacity: 1; transform: none; }
.wbfrm-apply *, .wbfrm-apply *::before, .wbfrm-apply *::after { box-sizing: border-box; }
.wbfrm-apply button, .wbfrm-apply input, .wbfrm-apply textarea { font: inherit; }

.wbfrm-apply__dialog {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background:#f7f7f7;
}
.wbfrm-apply__header { flex: 0 0 auto; min-height: 84px; padding: 16px clamp(20px, 4vw, 58px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background:rgba(255,255,255,.94); border-bottom: 1px solid #d8d8d8; backdrop-filter: blur(14px); }
.wbfrm-apply__brand { display: flex; align-items: center; min-width: 0; gap: 13px; }
.wbfrm-apply__brand img { width: 48px; height: 48px; object-fit: contain; flex: 0 0 auto; }
.wbfrm-apply__brand div { display: grid; gap: 1px; min-width: 0; }
.wbfrm-apply__brand small { color: #5b5b5b; font-size: 12px; font-weight: 650; }
.wbfrm-apply__brand strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.wbfrm-apply__close { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; border: 1px solid #d8d8d8; border-radius: 50%; background:#fff; color: #171717; font-size: 28px; line-height: 1; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.wbfrm-apply__close:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(31,42,68,.10); }

.wbfrm-apply__main {
    width: min(100%, 760px);
    flex: 1 1 auto;
    min-height: 0;
    margin: 0 auto;
    padding: clamp(28px, 5vh, 56px) 24px max(42px, calc(24px + env(safe-area-inset-bottom)));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
}
.wbfrm-apply__progress { margin: 0 0 30px; }
.wbfrm-apply__progress > div { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 9px; color: #5b5b5b; font-size: 13px; font-weight: 750; }
.wbfrm-apply__progress strong { color: #171717; }
.wbfrm-apply__track { display: block; height: 5px; overflow: hidden; border-radius: 999px; background:#d8d8d8; }
.wbfrm-apply__track i { display: block; width: 50%; height: 100%; border-radius: inherit; background:var(--wbfrm-apply-accent); transition: width .35s cubic-bezier(.2,.8,.2,1); }

.wbfrm-apply__step, .wbfrm-apply__success, .wbfrm-apply__sending { animation: wbfrmApplyIn .3s ease both; }
.wbfrm-apply__step[hidden], .wbfrm-apply__success[hidden], .wbfrm-apply__sending[hidden], .wbfrm-apply__progress[hidden], .wbfrm-apply__form[hidden] { display: none !important; }
@keyframes wbfrmApplyIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wbfrm-apply__eyebrow { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 10px; border-radius: 999px; background:color-mix(in srgb, var(--wbfrm-apply-accent) 12%, #fff); color: var(--wbfrm-apply-accent); font-size: 12px; font-weight: 800; }
.wbfrm-apply h2 { margin: 16px 0 8px; color: #171717 !important; font-family: Archivo, Archivo, Inter, sans-serif !important; font-size: clamp(28px, 4.5vw, 44px); font-weight: 900 !important; letter-spacing: -.035em !important; line-height: 1.08; }
.wbfrm-apply h3 { margin: 0 0 12px; color: #171717 !important; font-family: Archivo, Archivo, Inter, sans-serif !important; font-size: 19px; font-weight: 900 !important; letter-spacing: -.025em !important; line-height: 1.25; }
.wbfrm-apply__step > p, .wbfrm-apply__success > p { margin: 0 0 26px; color: #5b5b5b; font-size: 16px; line-height: 1.6; }

.wbfrm-apply__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.wbfrm-apply__fields label { display: grid; gap: 8px; min-width: 0; color: #171717; font-size: 14px; font-weight: 750; }
.wbfrm-apply__fields label:first-child, .wbfrm-apply__fields label:last-child:nth-child(odd) { grid-column: 1 / -1; }
.wbfrm-apply__fields label > span > small { color: #5b5b5b; font-weight: 600; }
.wbfrm-apply input:not([type="file"]), .wbfrm-apply textarea { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid #d8d8d8; border-radius: 12px; outline: 0; background:#fff; color: #171717; font-size: 16px; font-weight: 500; box-shadow: 0 1px 2px rgba(31,42,68,.02); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.wbfrm-apply textarea { min-height: 112px; resize: vertical; }
.wbfrm-apply input:focus, .wbfrm-apply textarea:focus { border-color: var(--wbfrm-apply-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--wbfrm-apply-accent) 14%, transparent); }
.wbfrm-apply input.has-error { border-color: #c73535; box-shadow: 0 0 0 3px rgba(199,53,53,.10); }
.wbfrm-apply__upload { position: relative; min-height: 96px; padding: 16px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; overflow: hidden; border: 1px dashed #b8b8b8; border-radius: 13px; background:#fff; cursor: pointer; }
.wbfrm-apply__upload:hover { border-color: var(--wbfrm-apply-accent); transform: translateY(-1px); }
.wbfrm-apply__upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.wbfrm-apply__upload b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #171717; font-size: 15px; }
.wbfrm-apply__upload em { color: #5b5b5b; font-size: 12px; font-style: normal; font-weight: 550; }
.wbfrm-apply__saved-cv-choice { min-height: 70px; padding: 13px 15px; display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; column-gap: 11px; border: 1px solid color-mix(in srgb, var(--wbfrm-apply-accent) 35%, #d8d8d8); border-radius: 13px; background:color-mix(in srgb, var(--wbfrm-apply-accent) 6%, #fff); cursor: pointer; }
.wbfrm-apply__saved-cv-choice input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--wbfrm-apply-accent); }
.wbfrm-apply__saved-cv-choice b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #171717; }
.wbfrm-apply__saved-cv-choice em { grid-column: 2; color: #5b5b5b; font-size: 12px; font-style: normal; font-weight: 600; }
.wbfrm-apply__privacy { margin: 20px 0 0; color: #5b5b5b; font-size: 12px; line-height: 1.55; }
.wbfrm-apply__privacy a { color: var(--wbfrm-apply-accent) !important; font-weight: 800; text-decoration: underline !important; text-underline-offset: 2px; }
.wbfrm-apply__status { min-height: 22px; margin-top: 12px; color: #456f2d; font-size: 13px; font-weight: 700; }
.wbfrm-apply__status.is-error { color: #b42318; }

.wbfrm-apply__actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 26px; }
.wbfrm-apply__actions.is-split { justify-content: space-between; }
.wbfrm-apply__primary, .wbfrm-apply__back { min-height: 52px; border-radius: 12px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; }
.wbfrm-apply .wbfrm-apply__primary,
body .wbfrm-apply button.wbfrm-apply__primary,
body .wbfrm-apply a.wbfrm-apply__primary,
body[class*="elementor-kit-"] .wbfrm-apply button.wbfrm-apply__primary {
    padding: 13px 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 22px !important;
    border: 1px solid var(--wbfrm-apply-accent) !important;
    border-color: var(--wbfrm-apply-accent) !important;
    background:var(--wbfrm-apply-accent) !important;
    background-color:var(--wbfrm-apply-accent) !important;
    background-image:none !important;
    color: #fff !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    box-shadow: 0 9px 22px color-mix(in srgb, var(--wbfrm-apply-accent) 20%, transparent) !important;
}
.wbfrm-apply .wbfrm-apply__primary:hover,
.wbfrm-apply .wbfrm-apply__primary:focus,
body[class*="elementor-kit-"] .wbfrm-apply button.wbfrm-apply__primary:hover,
body[class*="elementor-kit-"] .wbfrm-apply button.wbfrm-apply__primary:focus {
    border-color: var(--wbfrm-apply-accent) !important;
    background:var(--wbfrm-apply-accent) !important;
    background-color:var(--wbfrm-apply-accent) !important;
    background-image:none !important;
    color: #fff !important;
}
.wbfrm-apply__primary:hover, .wbfrm-apply__back:hover { transform: translateY(-2px); }
.wbfrm-apply__primary:disabled { cursor: wait; opacity: .65; transform: none; }
.wbfrm-apply__primary.is-loading span { animation: wbfrmArrow 1s ease infinite; }
@keyframes wbfrmArrow { 50% { transform: translateX(4px); } }
.wbfrm-apply .wbfrm-apply__back,
body .wbfrm-apply button.wbfrm-apply__back,
body[class*="elementor-kit-"] .wbfrm-apply button.wbfrm-apply__back,
body[class*="elementor-kit-"] .wbfrm-apply button.wbfrm-apply__back:hover,
body[class*="elementor-kit-"] .wbfrm-apply button.wbfrm-apply__back:focus,
body[class*="elementor-kit-"] .wbfrm-apply button.wbfrm-apply__back:active {
    padding: 12px 4px !important;
    border: 0 !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
    color: #5b5b5b !important;
    font: 750 14px/1.2 Inter, Arial, sans-serif !important;
    text-decoration: none !important;
    box-shadow: none !important;
    appearance: none !important;
}
.wbfrm-apply__honey { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

.wbfrm-apply__step[data-wbfrm-apply-step="2"] .wbfrm-apply__fields { grid-template-columns: 1fr; }
.wbfrm-apply__step[data-wbfrm-apply-step="2"] .wbfrm-apply__fields label { grid-column: 1 / -1; }
.wbfrm-apply__step[data-wbfrm-apply-step="2"] textarea { min-height: 150px; }

.wbfrm-apply__sending { max-width: 620px; margin: 0 auto; padding: 42px 0; text-align: center; }
.wbfrm-apply__sending > p { max-width: 520px; margin: 10px auto 25px; color: #5b5b5b; font-size: 16px; line-height: 1.6; }
.wbfrm-apply__sending-mark { display: flex; justify-content: center; gap: 7px; margin: 0 auto 24px; }
.wbfrm-apply__sending-mark i { width: 24px; height: 7px; border-radius: 2px; background:var(--wbfrm-apply-accent); animation: wbfrmSendingBlocks 1.05s ease-in-out infinite; }
.wbfrm-apply__sending-mark i:nth-child(2) { animation-delay: .14s; }
.wbfrm-apply__sending-mark i:nth-child(3) { animation-delay: .28s; }
@keyframes wbfrmSendingBlocks { 0%, 100% { opacity: .22; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-5px); } }
.wbfrm-apply__sending-line { display: block; width: min(100%, 460px); height: 5px; margin: 0 auto; overflow: hidden; border-radius: 2px; background:#d8d8d8; }
.wbfrm-apply__sending-line i { display: block; width: 38%; height: 100%; background:var(--wbfrm-apply-accent); animation: wbfrmSendingLine 1.25s ease-in-out infinite; }
@keyframes wbfrmSendingLine { from { transform: translateX(-110%); } to { transform: translateX(365%); } }

.wbfrm-apply__success { text-align: center; }
.wbfrm-apply__check { width: 70px; height: 70px; display: block; margin: 0 auto 20px; color: var(--wbfrm-apply-accent); }
.wbfrm-apply__check svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: square; stroke-linejoin: miter; }
.wbfrm-apply__check path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: wbfrmCheck .45s .15s ease forwards; }
@keyframes wbfrmCheck { to { stroke-dashoffset: 0; } }
.wbfrm-apply__followup { max-width: 580px; margin: 26px auto; padding: 22px; border: 1px solid #d8d8d8; border-radius: 16px; background:#fff; text-align: left; box-shadow: 0 12px 34px rgba(31,42,68,.06); }
.wbfrm-apply__followup ol { margin: 0; padding: 0; list-style: none; counter-reset: wbfrmFollow; }
.wbfrm-apply__followup li { position: relative; min-height: 30px; padding: 4px 0 9px 36px; color: #333333; line-height: 1.5; counter-increment: wbfrmFollow; }
.wbfrm-apply__followup li::before { content: counter(wbfrmFollow); position: absolute; left: 0; top: 2px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background:#1f2a44; color: #fff; font-size: 11px; font-weight: 800; }
.wbfrm-apply__followup small { display: inline-block; margin-top: 7px; padding: 5px 9px; border-radius: 999px; background:#efefef; color: #5b5b5b; font-weight: 700; }
.wbfrm-apply__primary.is-link { width: max-content; max-width: 100%; margin: 0 auto; }
.wbfrm-apply__account-offer { max-width: 620px; margin: 28px auto 0; padding: 24px; border: 1px solid #d8d8d8; border-radius: 18px; background:#fff; text-align: left; box-shadow: 0 16px 42px rgba(31,42,68,.08); }
.wbfrm-apply__account-kicker { display: inline-flex; padding: 5px 9px; border-radius: 999px; background:color-mix(in srgb, var(--wbfrm-apply-accent) 11%, #fff); color: var(--wbfrm-apply-accent); font-size: 11px; font-weight: 850; }
.wbfrm-apply__account-offer h3 { margin: 12px 0 7px; font-size: 22px; }
.wbfrm-apply__account-offer > p { margin: 0; color: #5b5b5b; font-size: 14px; line-height: 1.55; }
.wbfrm-apply__account-offer ul { margin: 17px 0 20px; padding: 0; display: grid; gap: 8px; list-style: none; }
.wbfrm-apply__account-offer li { position: relative; padding-left: 27px; color: #333333; font-size: 13px; font-weight: 750; }
.wbfrm-apply__account-offer li::before { content: "✓"; position: absolute; left: 0; top: -2px; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 5px; background:#1f2a44; color: #fff; font-size: 10px; }
.wbfrm-apply__account-offer .wbfrm-apply__primary.is-link { width: 100%; }
.wbfrm-apply__account-skip { width: 100%; min-height: 38px; margin-top: 9px; padding: 7px; border: 0 !important; background:transparent !important; color: #5b5b5b !important; font-weight: 750; cursor: pointer; }
.wbfrm-apply__account-skip:hover { transform: translateY(-1px); color: #171717 !important; }
.wbfrm-apply__account-mail { max-width: 540px; margin: 25px auto; padding: 18px; border: 1px solid #d8d8d8; border-radius: 14px; background:#fff; }
.wbfrm-apply__account-mail h3 { margin-bottom: 6px; }
.wbfrm-apply__account-mail p { margin: 0; color: #5b5b5b; }
.wbfrm-apply__after-skip { animation: wbfrmApplyIn .3s ease both; }
.wbfrm-apply__success-links { display: grid; justify-items: center; gap: 14px; }
.wbfrm-apply__quiet-link { color: #5b5b5b !important; font-size: 13px; font-weight: 750; text-decoration: none !important; }
.wbfrm-apply__quiet-link:hover { transform: translateY(-1px); color: #171717 !important; }

@media (max-width: 640px) {
    .wbfrm-apply__dialog { background:#f7f7f7; }
    .wbfrm-apply__header { min-height: 72px; padding: 12px 16px; }
    .wbfrm-apply__brand img { width: 42px; height: 42px; }
    .wbfrm-apply__close { width: 38px; height: 38px; }
    .wbfrm-apply__main {
        width: 100%;
        margin: 0;
        padding: 24px 18px max(64px, calc(42px + env(safe-area-inset-bottom)));
        scroll-padding-top: 20px;
        scroll-padding-bottom: max(64px, calc(42px + env(safe-area-inset-bottom)));
    }
    .wbfrm-apply__progress { margin-bottom: 24px; }
    .wbfrm-apply h2 { font-size: clamp(27px, 8vw, 36px); }
    .wbfrm-apply__fields { grid-template-columns: 1fr; gap: 15px; }
    .wbfrm-apply__fields label, .wbfrm-apply__fields label:first-child, .wbfrm-apply__fields label:last-child:nth-child(odd) { grid-column: auto; }
    .wbfrm-apply__actions.is-split { align-items: stretch; flex-direction: column-reverse; }
    .wbfrm-apply__actions .wbfrm-apply__primary { width: 100%; }
    .wbfrm-apply__back { align-self: center; min-height: 42px; }
    .wbfrm-apply__followup { padding: 18px; }
    .wbfrm-apply__account-offer { margin-top: 22px; padding: 19px; }
    .wbfrm-apply__account-offer h3 { font-size: 20px; }
    .wbfrm-apply__step[data-wbfrm-apply-step="2"] textarea { min-height: 132px; }
}

@media (prefers-reduced-motion: reduce) {
    .wbfrm-apply, .wbfrm-apply *, .wbfrm-apply *::before, .wbfrm-apply *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* v2.25.28 — één scherm; extra cv/bericht blijft optioneel en uitklapbaar. */
.wbfrm-apply__main {
    width: min(100%, 720px);
    padding-top: clamp(20px, 3.2vh, 34px);
    padding-bottom: max(22px, calc(14px + env(safe-area-inset-bottom)));
}
.wbfrm-apply__step > p { margin-bottom: 18px; }
.wbfrm-apply__fields--contact { gap: 13px 15px; }
.wbfrm-apply__optional { margin-top: 14px; }
.wbfrm-apply__optional > summary {
    min-height: 48px;
    padding: 10px 13px;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto 20px;
    align-items: center;
    gap: 9px;
    list-style: none;
    border: 1px solid #d8d8d8;
    border-radius: 11px;
    background:#fff;
    color: #171717;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}
.wbfrm-apply__optional > summary::-webkit-details-marker { display: none; }
.wbfrm-apply__optional > summary::marker { display: none; content: ""; }
.wbfrm-apply__optional > summary small {
    color: #5b5b5b;
    font-size: 10px;
    font-weight: 700;
}
.wbfrm-apply__optional > summary svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #5b5b5b;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .18s ease;
}
.wbfrm-apply__optional[open] > summary svg { transform: rotate(180deg); }
.wbfrm-apply__optional-body {
    padding: 13px 1px 1px;
    display: grid;
    gap: 12px;
}
.wbfrm-apply__optional-body > label {
    display: grid;
    gap: 6px;
    color: #171717;
    font-size: 13px;
    font-weight: 750;
}
.wbfrm-apply__optional-body > label > span > small { color: #5b5b5b; font-weight: 600; }
.wbfrm-apply__optional .wbfrm-apply__upload { min-height: 72px; padding: 12px 14px; }
.wbfrm-apply__optional .wbfrm-apply__saved-cv-choice { min-height: 60px; padding: 10px 13px; }
.wbfrm-apply__optional textarea { min-height: 88px; }
.wbfrm-apply__privacy { margin-top: 12px; font-size: 11px; line-height: 1.45; }
.wbfrm-apply__status:empty { display: none; }
.wbfrm-apply__status:not(:empty) { min-height: 0; margin-top: 10px; }
.wbfrm-apply__actions { margin-top: 13px; }
.wbfrm-apply__actions .wbfrm-apply__primary { width: 100%; }

@media (max-width: 640px) {
    .wbfrm-apply__header { min-height: 60px; padding: 8px 12px; }
    .wbfrm-apply__brand { gap: 9px; }
    .wbfrm-apply__brand img { width: 36px; height: 36px; }
    .wbfrm-apply__brand small { font-size: 10px; }
    .wbfrm-apply__brand strong { font-size: 13px; }
    .wbfrm-apply__close { width: 36px; height: 36px; font-size: 24px; }
    .wbfrm-apply__main {
        padding: 12px 14px max(12px, calc(8px + env(safe-area-inset-bottom)));
        scroll-padding-top: 10px;
        scroll-padding-bottom: max(12px, calc(8px + env(safe-area-inset-bottom)));
    }
    .wbfrm-apply__eyebrow { min-height: 23px; padding: 3px 8px; font-size: 10px; }
    .wbfrm-apply h2 { margin: 8px 0 4px; font-size: clamp(23px, 7vw, 30px); line-height: 1.05; }
    .wbfrm-apply__step > p { margin-bottom: 10px; font-size: 13px; line-height: 1.4; }
    .wbfrm-apply__fields,
    .wbfrm-apply__fields--contact { grid-template-columns: 1fr; gap: 8px; }
    .wbfrm-apply__fields label,
    .wbfrm-apply__fields label:first-child,
    .wbfrm-apply__fields label:last-child:nth-child(odd) { grid-column: auto; gap: 4px; font-size: 11px; }
    .wbfrm-apply input:not([type="file"]), .wbfrm-apply textarea {
        min-height: 43px;
        padding: 9px 11px;
        border-radius: 9px;
        font-size: 16px;
    }
    .wbfrm-apply__optional { margin-top: 9px; }
    .wbfrm-apply__optional > summary { min-height: 42px; padding: 8px 10px; border-radius: 9px; font-size: 12px; }
    .wbfrm-apply__optional-body { padding-top: 9px; gap: 9px; }
    .wbfrm-apply__optional .wbfrm-apply__upload { min-height: 64px; }
    .wbfrm-apply__optional .wbfrm-apply__saved-cv-choice { min-height: 54px; }
    .wbfrm-apply__optional textarea { min-height: 76px; }
    .wbfrm-apply__privacy { margin-top: 8px; font-size: 10px; line-height: 1.35; }
    .wbfrm-apply__actions { margin-top: 8px; }
    .wbfrm-apply__primary, .wbfrm-apply__back { min-height: 46px; border-radius: 9px; }
    .wbfrm-apply .wbfrm-apply__primary,
    body .wbfrm-apply button.wbfrm-apply__primary,
    body[class*="elementor-kit-"] .wbfrm-apply button.wbfrm-apply__primary { padding: 10px 13px !important; font-size: 13px !important; }
}

@media (max-width: 640px) and (max-height: 700px) {
    .wbfrm-apply__header { min-height: 54px; padding-top: 6px; padding-bottom: 6px; }
    .wbfrm-apply__brand img { width: 32px; height: 32px; }
    .wbfrm-apply__brand small { display: none; }
    .wbfrm-apply__main { padding-top: 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); }
    .wbfrm-apply__eyebrow { display: none; }
    .wbfrm-apply h2 { margin-top: 0; font-size: clamp(21px, 6.3vw, 26px); }
    .wbfrm-apply__step > p { margin-bottom: 7px; font-size: 12px; }
    .wbfrm-apply__fields, .wbfrm-apply__fields--contact { gap: 6px; }
    .wbfrm-apply input:not([type="file"]), .wbfrm-apply textarea { min-height: 40px; padding-top: 7px; padding-bottom: 7px; }
    .wbfrm-apply__optional { margin-top: 7px; }
    .wbfrm-apply__optional > summary { min-height: 39px; padding-top: 6px; padding-bottom: 6px; }
    .wbfrm-apply__privacy { margin-top: 6px; font-size: 9px; line-height: 1.3; }
    .wbfrm-apply__actions { margin-top: 6px; }
    .wbfrm-apply__primary { min-height: 43px; }
}

.apply-dialog.wbfrm-apply{--wbfrm-apply-accent:var(--button);--wbfrm-apply-brand:var(--brand)}.apply-dialog .wbfrm-apply__primary{color:var(--button-ink,#fff)!important;background:var(--button)!important}.apply-dialog .wbfrm-apply__fields>.field:first-child,.apply-dialog .wbfrm-apply__fields>.field:last-child:nth-child(odd){grid-column:1/-1}.apply-dialog.wbfrm-apply h2{font-weight:400!important}.apply-dialog .wbfrm-apply__main{height:calc(100dvh - 84px)}@media(max-width:760px){.apply-dialog .wbfrm-apply__fields{grid-template-columns:1fr}.apply-dialog .wbfrm-apply__main{height:calc(100dvh - 76px)}}

/* Mini vacancy: match WBF's single mobile action bar. */
@media (min-width:701px) {
  body.wbfrm-job-page > .mobile-apply { display:none !important; }
}
@media (max-width:700px) {
  body.wbfrm-job-page .wbfrm-single-job__apply--top,
  body.wbfrm-job-page .wbfrm-single-job__apply--bottom { display:none !important; }
  body.wbfrm-job-page { padding-bottom:calc(86px + env(safe-area-inset-bottom, 0px)); }
  body.wbfrm-job-page > .mobile-apply {
    display:block;
    position:fixed;
    right:0; bottom:0; left:0;
    z-index:50;
    padding:8px 12px max(8px, env(safe-area-inset-bottom));
    border-top:1px solid #d8d8d8;
    background:rgba(255,255,255,.97);
    box-shadow:0 -10px 30px rgba(31,42,68,.10);
  }
  body.wbfrm-job-page > .mobile-apply .primary { display:flex; width:min(100%,680px); margin:0 auto; }
}
body.wbfrm-job-page.wbfrm-route-immersive-open > .mobile-apply,
html.wbfrm-apply-lock body.wbfrm-job-page > .mobile-apply { display:none !important; }
