#filters * {
    font-family: 'Panton', sans-serif;
    font-size: 16px;
}

.filtersHero {
    background: inherit;
}

.filtersHero .content {
    margin-bottom: 0px;
}

.filtersHero .boxed {
    padding-bottom: 0px!important;
}

.vacancy-items-v2 {
    padding: 80px 0;
}

.site-content .vacancy-items-v2 .boxed {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 32px;
}

.vacancy-items-v2 .vacancy-count {
    display: block;
    margin-bottom: 32px;
    font-size: 18px;
    font-weight: 330;
    font-style: normal;
    color: #636A75;
    line-height: 28px;
}

.vacancy-items-v2 .items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.vacancy-items-v2 .item {
    position: relative;
    display: block;
    border-radius: 8px;
    box-shadow: 2px 4px 12px rgba(163, 177, 204, 0.35);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.vacancy-items-v2 .image {
    position: relative;
    width: 100%;
    height: 376px;
    overflow: hidden;
}

.vacancy-items-v2 .image img {
    border-radius: 8px 8px 0 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vacancy-items-v2 .image .label {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    padding: 4px 12px 4px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 330;
    font-style: normal;
    text-align: center;
    text-transform: uppercase;
    line-height: 20px;
    letter-spacing: 1.12px;
    gap: 8px;
}

.vacancy-items-v2 .image .label.blue {
    background: #162032;
    color: #FFF;
}

.vacancy-items-v2 .image .label.yellow {
    background: #FEE600;
    color: #1A2233;
}

.vacancy-items-v2 .image .label.gray {
    background: #DFE6F1;
    color: #1A2233;
}



.vacancy-items-v2 .image .label.blue::before,
.vacancy-items-v2 .image .label.yellow::before {
    content: '';
    position: absolute;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: cover;
    -webkit-mask-size: cover;
    width: 20px;
    height: 20px;
    left: 6px;
    top: 3px;
}

.vacancy-items-v2 .image .label.blue::before {
    mask-image: url(/wp-content/themes/strevon/assets/images/icons/target.svg);
    -webkit-mask-image: url(/wp-content/themes/strevon/assets/images/icons/target.svg);
    background-color: #FFF;
}

.vacancy-items-v2 .image .label.yellow::before {
    mask-image: url(/wp-content/themes/strevon/assets/images/icons/alarm.svg);
    -webkit-mask-image: url(/wp-content/themes/strevon/assets/images/icons/alarm.svg);
    background-color: #1A2233;
}

.vacancy-items-v2 .item > .info {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 62px 16px;
    gap: 8px;
}

.vacancy-items-v2 .item > .info::after {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 152px;
    height: 152px;
    content: '';
    background: url(/wp-content/themes/strevon/assets/images/elements/dots-gray.png) no-repeat;
    background-size: cover;
}


.vacancy-items-v2 .item > .info .heading {
    margin-bottom: 0;
    font-family: 'Panton', sans-serif;
    font-size: 28px;
    color: #162032;
    text-align: center;
    line-height: 36px;
}

.vacancy-items-v2 .item > .info .item-content {
    font-size: 18px;
    font-weight: 330;
    font-style: normal;
    color: #636A75;
    text-align: center;
    line-height: 28px; /* 155.556% */
}

.vacancy-items-v2 .item > .info .item-content .location {
    position: relative;
    margin-left: 24px;
}

.vacancy-items-v2 .item > .info .item-content .location::before {
    position: absolute;
    top: -3px;
    left: -24px;
    width: 20px;
    height: 20px;
    content: '';
    background-color: #636A75;
    mask-image: url(/wp-content/themes/strevon/assets/images/icons/location.svg);
    -webkit-mask-image: url(/wp-content/themes/strevon/assets/images/icons/location.svg);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: cover;
    -webkit-mask-size: cover;
}

.vacancy-items-v2 .item > .read-more {
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 8px 0 0 0;
    background: #F4F6FC;
}

.vacancy-items-v2 .item > .read-more::after {
    display: block;
    width: 24px;
    height: 24px;
    content: '';
    background-color: #636A75;
    mask-image: url(/wp-content/themes/strevon/assets/images/icons/arrow-right.svg);
    -webkit-mask-image: url(/wp-content/themes/strevon/assets/images/icons/arrow-right.svg);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: cover;
    -webkit-mask-size: cover;
}

.vacatures {
    margin-top: 32px;
}

@media (max-width: 1024px) {
    .vacancy-items-v2 .items {
        grid-template-columns: 1fr;
    }

    .vacancy-items-v2 .image .label {
        top: 8px;
        left: 8px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {

    .filtersHero .media {
        display: none;
    }

    .vacancy-items-v2 .item > .info {
        padding: 24px 16px;
    }
    .vacancy-items-v2 .item > .info .heading {
        font-size: 18px;
        line-height: 28px;
    }

    .vacancy-items-v2 .item > .info .item-content {
        font-size: 12px;
        line-height: 20px;
    }

    .vacancy-items-v2 .vacancy-count {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 16px;
    }

    .vacancy-items-v2 .items {
        gap: 32px;
    }

    .vacancy-items-v2 .image {
        /* height: 125px!important; */
    }

}





/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.site-content .filters .boxed {
    padding-bottom: 0;
}

.filters .container {
    margin: 0 auto;
    width: fit-content;
}


.overlay {
    position: fixed; /* Fullscreen ongeacht scrollpositie */
    inset: 0; /* top:0 right:0 bottom:0 left:0 */
    display: none; /* Verborgen tot openen */
    align-items: center;
    justify-content: center;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
}

.overlay[aria-hidden='false'] {
    display: flex;
}

.dialog {
    background: #fff;
    display: flex;
    flex-direction: column;
}

#filterPopupOverlay .form-popup-content {
    position: relative;
    width: 100vw;
    max-width: 351px;
    max-height: 95vh;
    margin: 0;
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: none;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
}

#filterPopupOverlay .form-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

#filterPopupOverlay .form-popup-close svg {
    width: 24px;
    height: 24px;
    stroke: #162032;
    stroke-width: 2;
}

#filterPopupOverlay .inner {
    flex: 1;
    padding: 22px 28px;
    background: #FFFFFF;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Main popup heading styling */
#popupContainer .vacancy-search-form .popup h2 {
    font-family: Panton, sans-serif;
    font-size: 20px;
    font-weight: 350;
    color: #4B4B4B;
    line-height: 24px;
    margin: 0 0 24px 0;
    font-feature-settings: 'liga' off, 'clig' off;
}

/* Filter labels styling */
.filter-labels {
    display: none;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

/* Filter clear button styling */
.filter-clear-button {
    /*margin-bottom: 16px;*/
    text-align: left;
}

.filter-clear-button .btn {
    color: var(--text-and-icon-core, #1A2233);
    font-family: var(--Primary, Panton);
    font-size: var(--typography-base---bold-size, 16px);
    font-style: normal;
    font-weight: 350;
    line-height: var(--typography-base---bold-line-height, 24px);
    padding: 8px 0;
    background: transparent;
    border: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


.filter-clear-button .btn svg {
    width: 16px;
    height: 16px;
}

.filter-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 8px;
    margin-bottom: 8px;
    padding: 6px 8px;
    background: #F4F6FC;
    border-radius: 8px;
    font-family: 'Panton', sans-serif;
    font-size: 14px;
    font-weight: 350;
    color: #1A2233;
    line-height: 20px;
}

.filter-label-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}


.filter-label-remove svg {
    width: 12px;
    height: 12px;
}

/* Popup specific filter labels styling */
.form-popup-content {
    max-width: 351px;
}

@media (max-width: 768px) {
    #filterPopupOverlay .form-popup-content {
        max-height: 100%;
    }
}


#popupContainer .filter-labels {
    margin-bottom: 10px;
}

#popupContainer .filter-clear-button {
    text-align: left;
    border-bottom: 1px solid #DFE6F1;
}

#popupContainer .filter-clear-button .btn {
    color: var(--text-and-icon-core, #1A2233);
    font-family: var(--Primary, Panton);
    font-size: var(--typography-base---bold-size, 16px);
    font-style: normal;
    font-weight: 350;
    line-height: var(--typography-base---bold-line-height, 24px);
    padding: 8px 0;
    background: transparent;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#popupContainer .filter-label {
    font-size: 15px;
    padding: 8px 14px;
    background: #F0F2F5;
    border-color: #DADFE6;
}

#popupContainer .filter-label-remove {
    width: 18px;
    height: 18px;
}

#popupContainer .filter-label-remove svg {
    width: 14px;
    height: 14px;
}

.vacancy-search {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 16px;
    border-radius: 24px;
    background: linear-gradient(180deg, #20375F 0%, #162032 100%);
    gap: 24px;
    margin-bottom: 32px;
    max-width: 328px;
}

@media (min-width: 800px) {
    .vacancy-search {
        width: 650px;
        max-width: 650px;
    }

    #vacatureFilterForm .adres {
        width: 298px;
        margin-right: 16px;
        display: inline-block;
    }

    .vacancy-search .adres input {
        margin-bottom: 0;
    }

    #vacatureFilterForm .submit {
        width: 298px;
        display: inline-block;
    }



}

.vacancy-search form {
    position: relative;
    z-index: 1;
    width: 100%;
}

.vacancy-search-form input {
    border: none!important;
}

.vacancy-search-form .button-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    width: 100%;
    margin-top: 24px;
    padding: 14px 32px;
    border-radius: 8px;
    background: #FEE600;
    font-family: 'Panton', sans-serif;
    font-weight: 350;
    color: #162032;
    line-height: 28px;
    gap: 8px;
}


/* Select dropdown */
.vacancy-search button, .vacancy-search label {
    color: #162032;
}

.vf-select {
    position: relative;
}

.vf-select__button, .vacancy-search input, .vacancy-search button {
    width: 100%;
    text-align: center;
    padding: .6rem .8rem;
    border-radius: .5rem!important;
    background: #fff;
    cursor: pointer;
    margin-bottom: 16px;
    height: 48px;
    font-size: 16px;
    font-weight: 350;
}

.vf-select__panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 53px;
    background: #fff;
    border-radius: .5rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
    padding: 16px 24px 0 24px;
    display: none;
    z-index: 10;
    box-shadow: 2px 4px 12px 0 rgba(163, 177, 204, 0.35);
}

.vf-select__panel[data-open='true'] {
    display: block;
}

.vf-select__option {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid #DADFE6;
    margin-bottom: 8px;
    padding-bottom: 8px;
}

.vf-select__option:last-child {
    border-bottom: none;
}


.vf-select__option input {
    width: 1rem;
    height: 1rem;
}

.vf-select--open .vf-select__button {
    border-bottom-left-radius: .5rem;
    border-bottom-right-radius: .5rem;
}

.vf-select__button::after {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    content: '';
    background-image: url('/wp-content/themes/strevon/assets/images/icons/arrow-down.svg');
    top: 5px;
}

.vf-select__panel input {
    margin-bottom: 0px;
}

.vacancy-search .line {
    display: block;
    border-bottom: 1px solid #DFE6F1;
    height: 1px;
    width: 100%;
    margin-bottom: 16px;
}

.vacancy-search input {
    color: #636A75;
    font-style: normal;
    font-weight: 330;
    text-align: left;
}

#vacatureResult {
    color: #636A75;
}

.vacancy-search .button-primary, #vacatureResult .button-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    width: 100%;
    margin-top: 0px;
    padding: 14px 32px;
    border-radius: 8px;
    background: #FEE600;
    font-family: 'Panton', sans-serif;
    font-weight: 350;
    color: #162032;
    line-height: 28px;
    gap: 8px;
    margin-bottom: 0px;
}

#vacatureResult .button-primary {
    width: fit-content;
    margin-top: 24px;
}


.location-icon {
    display: none;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem .9rem;
    border: 1px solid #ccc;
    border-radius: .5rem;
    background: #fff;
    cursor: pointer;
}
.btn:disabled { opacity: .65; cursor: not-allowed; }

.spinner {
    width: 1.1em; height: 1.1em;
    margin-top: 18px;
    margin-left: 18px;
    display: none;            /* standaard verborgen */
    transform-origin: 50% 50%;
    animation: spin 1s linear infinite;
}

.spinner__stroke {
    stroke: currentColor;     /* neemt kleur van knop over */
    stroke-dasharray: 42 14;  /* ~3/4 cirkel zichtbaar */
}

/* Toon spinner in loading state */
.btn.is-loading .spinner { display: inline-block; }
/* Eventueel label licht dimmen tijdens laden */
.btn.is-loading .btn__label { opacity: .9; }

/* Rotatie */
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Respecteer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .spinner { animation: none; }
}

.vacancy-search #resetBtn {
    font-weight: 350;
    width: fit-content;
    margin-top: 16px;
    margin-bottom: 0;
}

.vacancy-search #resetBtn svg {
    top: 5px;
    display: inline-block;
    position: relative;
}

.filterPopupButton {
    position: relative;
    border-radius: 8px;
    background: #DFE6F1;
    padding: 14px 24px 14px 48px!important;
    background-image: url('/wp-content/themes/strevon/blocks/vacancy-filter/images/filter.svg');
    background-repeat: no-repeat;
    background-position: 14px center;
    color: #162032;
    font-weight: 350;
}

#countVacatures {
    position: absolute;
    top: -15px;
    right: -15px;
    display: none;
    min-width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 50%;
    background: #162032;
    color: #ffffff;
    font-size: 16px;
    font-weight: 350;
    line-height: 16px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

#countVacatures:not(:empty) {
    display: flex;
}

/* Places */
.pac-container {
    border-radius: 8px;
    margin-top: 10px;
    padding: 8px;
}

.pac-item {
    padding: 2px 4px;
}

.pac-item:first-child {
    border-top: none !important;
}

.pac-item * {
    font-size: 16px!important;
}

.pac-icon {
    display: none;
}

.pac-item-query {
    font-size: 16px;
    padding-right: 3px;
    color: #000;
}

.pac-logo:after {
    content: none;
}

/* Popup form velden */
.vacancy-search-form .popup {
    display: none;
}

#vacatureFilterForm {
    width: 100%
}

#popupContainer {
    margin-bottom: 66px!important;
}

#popupContainer .vacancy-search-form .popup {
    display: block;
}

#popupContainer #vacatureFilterForm {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

#popupContainer .adres {
    order: 1;
    margin-top: 1.5em;
}

#popupContainer .afstand {
    order: 2;
}

#popupContainer .uren {
    order: 4;
}

#popupContainer #omscholingSelect {
    order: 3;
}

#popupContainer .submit {
    order: 5;

}

#popupContainer .submit {
    position: absolute;
    bottom: -26px;
    background-color: white;
    left: 0;
    right: 0;
    width: 100%;
    padding: 12px 24px 24px 24px;
    z-index: 10;
}

#popupContainer .reset {
    order: 6;
    margin-top: 8px;
}

#popupContainer .btn {
    box-shadow: none;
    border: none;
}

#popupContainer .vf-select__panel {
    position: inherit;
    top: inherit;
    border: none;
    box-shadow: none;
    padding: 0;
    display: block;
    z-index: inherit;
}

#popupContainer .vf-select__button {
    display: none;
}

/* Popup specific form field styling */
#popupContainer .vacancy-search-form h4.popup {
    font-family: 'Panton', sans-serif;
    font-size: 16px;
    font-weight: 330;
    color: #98A0B4;
    margin: 0 0 15px 0;
    line-height: 24px;
}

#popupContainer .vacancy-search-form .vf-row {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#popupContainer .vacancy-search-form .vf-row span {
    font-family: 'Panton', sans-serif;
    font-size: 16px;
    font-weight: 330;
    color: #98A0B4;
    line-height: 24px;
}

#popupContainer #clearAllFiltersBtn {
    margin-bottom: .7em;
}



.vacancy-search-form fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

#popupContainer .vacancy-search-form legend {
    font-family: 'Panton', sans-serif;
    font-size: 16px;
    font-weight: 330;
    color: #98A0B4;
    margin-bottom: 12px;
    padding: 0;
    line-height: 24px;
}

#popupContainer .vacancy-search-form input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #DFE6F1;
    border-radius: 8px;
    font-family: 'Panton', sans-serif;
    font-size: 16px;
    font-weight: 330;
    color: #162032;
    background: #FFFFFF;
    transition: border-color 0.2s ease;
}

#popupContainer .vacancy-search-form input[type="text"]::placeholder {
    color: #636A75;
}

/* Input wrapper for location field */
#popupContainer .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

#popupContainer .input-wrapper input[type="text"] {
    width: 100%;
    padding: 12px 48px 12px 16px; /* Extra padding on right for icon */
    border: 1px solid #DFE6F1!important;
    border-radius: 8px;
    font-family: 'Panton', sans-serif;
    font-size: 16px;
    font-weight: 330;
    color: #162032;
    background: #FFFFFF;
    transition: border-color 0.2s ease;
}

#popupContainer .input-wrapper .location-icon {
    position: absolute;
    display: block;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
}

#popupContainer .input-wrapper input[type="text"]::placeholder {
    color: #636A75;
}

#popupContainer .vacancy-search-form .vf-select__option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #F0F2F5;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#popupContainer .vacancy-search-form .vf-select__option:last-child {
    border-bottom: none;
}

#popupContainer .vacancy-search-form .vf-select__option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #162032;
}

#popupContainer .vacancy-search-form .vf-select__option label {
    font-family: 'Panton', sans-serif;
    font-size: 16px;
    font-weight: 330;
    color: #162032;
    cursor: pointer;
    margin: 0;
}

#popupContainer .vacancy-search-form .button-primary {
    width: 100%;
    margin-top: 0px;
    padding: 16px 24px;
    background: #FEE600;
    border: none;
    border-radius: 8px;
    font-family: 'Panton', sans-serif;
    font-size: 16px;
    font-weight: 350;
    color: #162032;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}


#popupContainer .vacancy-search-form .button-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

#popupContainer .vacancy-search-form #resetBtn {
    width: 100%;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid #DFE6F1;
    border-radius: 8px;
    font-family: 'Panton', sans-serif;
    font-size: 14px;
    font-weight: 350;
    color: #636A75;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Divider lines for form sections */
#popupContainer .adres,
#popupContainer .afstand,
#popupContainer .omscholing,
#popupContainer .uren,
#popupContainer .tags {
    position: relative;
    padding-bottom: 24px;
}

#popupContainer .adres::after,
#popupContainer .afstand::after,
#popupContainer .omscholing::after,
#popupContainer .uren::after,
#popupContainer .tags::after
{
    /*content: '';*/
    /*position: absolute;*/
    /*bottom: 0;*/
    /*left: 0;*/
    /*right: 0;*/
    /*height: 1px;*/
    /*background: var(--border-divider, #DADFE6);*/
}

#popupContainer #tags {
    margin-bottom: 0!important;
    padding-bottom: 0;
}

#popupContainer .uren::after {
    display: none; /* Hide the last divider */
}

#popupContainer #vacatureFilterForm > div {
    border-bottom: 1px solid #DFE6F1;
    margin-bottom: 28px;
}

#popupContainer #vacatureFilterForm > div:last-child,
#popupContainer #vacatureFilterForm > div:first-child {
    border-bottom: none;
}

#popupContainer #vacatureFilterForm > div:nth-last-child(2) {
    border-bottom: none;
}

#popupContainer .vacancy-search-form .vf-select__option {
    border: none
}


/* Dual slider */
/* Dual range header with label and output */
.dual-range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.dual-range-header .label {
    font-family: 'Panton', sans-serif;
    font-size: 16px;
    font-weight: 330;
    color: #98A0B4;
    line-height: 24px;
}

.dual-range-header .dr-out {
    font-family: 'Panton', sans-serif;
    font-size: 16px;
    font-weight: 330;
    color: #1A2233;
    line-height: 24px;
}

.dual-range {
    --h: 6px;
    position: relative;
    /* width: 100%; */
    margin: 16px 0 12px;
}

.dual-range .dr-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 13px;
    transform: translateY(-50%);
    height: var(--h);
    border-radius: 3px;
    background: #DFE6F1;
    z-index: 1;
}

.dual-range input[type=range] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: var(--h);
    pointer-events: none;
    background: none;
    -webkit-appearance: none;
    z-index: 2;
    top: 11px;
}

.dual-range input[type=range]::-webkit-slider-thumb {
    pointer-events: all;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #162032;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: calc(var(--h) / -2 + 1px);
    position: relative;
    border: 3px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dual-range input[type=range]::-moz-range-thumb {
    pointer-events: all;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #162032;
    cursor: pointer;
    position: relative;
    border: 3px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dual-range .dr-ticks {
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 12px;
    top: -24px;
    margin: 0 -40px;

}

.dual-range .dr-tick {
    font-size: 16px;
    font-family: 'Panton', sans-serif;
    font-weight: 330;
    line-height: 24px;
    color: #162032;
    white-space: nowrap;
    width: 25%;
    text-align: center;
}

.dual-range .dr-tick.is-first {
    /* transform: none; */
}

.dual-range .dr-tick.is-last {
    /* transform: translateX(-100%); */
}

.afstand .dual-range .dr-tick.is-last::after {
    content: "+";
}

.dual-range .dr-out {
    margin-top: 8px;
    font-family: 'Panton', sans-serif;
    font-size: 14px;
    font-weight: 350;
    color: #162032;
}

/* Popup specific dual range output positioning */
.dual-range {
    margin: 0 15px 38px 15px;
}

.dual-range .dr-out {
    display: none; /* Hide the original output since we're using the header */
}

.dual-range.is-locked-min .dr-min {
    display: none;
}




/* Responsive design for popup */
@media (max-width: 768px) {
    #filterPopupOverlay .inner {
        padding: 22px 39px 22px 28px;
    }

    #popupContainer .vacancy-search-form h4.popup,
    #popupContainer .vacancy-search-form legend {
        font-size: 15px;
        line-height: 22px;
    }

    #popupContainer .vacancy-search-form .popup h2 {
        line-height: 22px;
    }

    #popupContainer .vacancy-search-form input[type="text"] {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    #popupContainer .vacancy-search-form .vf-select__option label {
        font-size: 15px;
    }

    #popupContainer .vacancy-search-form .button-primary {
        font-size: 15px;
        padding: 14px 20px;
    }

    #popupContainer .vacancy-search-form #resetBtn {
        font-size: 13px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {

    #popupContainer #vacatureFilterForm {
        gap: 12px;
    }
}

/* Smooth transitions for popup */
#filterPopupOverlay {
    transition: opacity 0.3s ease;
}

#filterPopupOverlay .form-popup-content {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#filterPopupOverlay[aria-hidden='false'] .form-popup-content {
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Loading state improvements */
#popupContainer .vacancy-search-form .button-primary.is-loading {
    position: relative;
    color: transparent;
}

#popupContainer .vacancy-search-form .button-primary.is-loading .spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
}

/* Load more button loading state */
#loadMoreBtn.is-loading {
    position: relative;
    color: transparent;
}

#loadMoreBtn.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #162032;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/*filters voor desktop*/
#desktopFilterBar {
    display: none;
}


