/* =====================================================================
   JOBTIMIST FLOATING JOB SEARCH — single-select v1
   Shared public component. New selectors use the fjs- prefix exclusively.
   ===================================================================== */
.fjs-root,
.fjs-picker {
    /* Ο picker τοποθετείται προσωρινά απευθείας στο body για σωστό modal z-index.
       Τα tokens πρέπει επομένως να είναι διαθέσιμα και στο standalone dialog. */
    --fjs-burgundy: #c2185b;
    --fjs-burgundy-dark: #9f124b;
    --fjs-pink: #e91e63;
    --fjs-soft-pink: #fff1f6;
    --fjs-surface: #ffffff;
    --fjs-soft-surface: #f8fafc;
    --fjs-border: #dce4ea;
    --fjs-ink: #172033;
    --fjs-muted: #66758a;
    --fjs-teal: #087e9b;
}

.fjs-trigger {
    position: fixed;
    z-index: 800;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--fjs-burgundy);
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    /* Ομοιόμορφο, πλήρως ορατό fade· δεν κόβεται πλέον από το edge του mobile viewport. */
    box-shadow: 0 10px 24px rgba(117, 20, 67, .28), 0 2px 7px rgba(23, 32, 51, .16);
    cursor: pointer;
    transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.fjs-trigger:focus:not(:focus-visible) {
    outline: none;
}

.fjs-trigger:hover,
.fjs-trigger:focus-visible {
    background: var(--fjs-burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 13px 28px rgba(117, 20, 67, .32), 0 3px 9px rgba(23, 32, 51, .18);
    outline: none;
}

.fjs-trigger:focus-visible,
.fjs-close:focus-visible,
.fjs-more:focus-visible,
.fjs-reset:focus-visible,
.fjs-submit:focus-visible,
.fjs-picker-option:focus-visible,
.fjs-picker-close:focus-visible,
.fjs-location-clear:focus-visible {
    outline: 3px solid rgba(8, 126, 155, .42);
    outline-offset: 3px;
}

.fjs-trigger-mark,
.fjs-heading-mark {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    width: 25px;
    height: 25px;
    border: 3px solid currentColor;
    border-radius: 50%;
}

/* Το floating mark είναι σκόπιμα πιο έντονο από το μικρό header mark. */
.fjs-trigger-mark {
    width: 28px;
    height: 28px;
    border-width: 4px;
    /* Ίδια μορφή με το header mark, στους χρωματισμούς του κεντρικού μπορντό trigger. */
    color: #fff;
    background: var(--fjs-burgundy);
}

.fjs-trigger-mark::after,
.fjs-heading-mark::after {
    position: absolute;
    right: -8px;
    bottom: -6px;
    width: 11px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    content: '';
    transform: rotate(48deg);
    transform-origin: left center;
}

.fjs-trigger-mark::after {
    right: -9px;
    bottom: -7px;
    width: 12px;
    height: 4px;
}

.fjs-trigger-person,
.fjs-heading-mark > span {
    position: absolute;
    top: 6px;
    left: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f58ab4;
}

.fjs-trigger-person {
    /* Μικρότερο, κεντραρισμένο person mark με καθαρό κενό από τον κύκλο του φακού. */
    top: calc(50% - 7px);
    left: 50%;
    width: 7px;
    height: 7px;
    background: #fff;
    transform: translateX(-50%);
}

.fjs-trigger-person::after,
.fjs-heading-mark > span::after {
    position: absolute;
    top: 8px;
    left: -3px;
    width: 14px;
    height: 9px;
    border-radius: 9px 9px 4px 4px;
    background: #f58ab4;
    content: '';
}

.fjs-trigger-person::after {
    top: 6px;
    left: 50%;
    width: 13px;
    height: 8px;
    background: #fff;
    transform: translateX(-50%);
}

.fjs-trigger-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.fjs-backdrop {
    position: fixed;
    z-index: 1750;
    inset: 0;
    background: rgba(15, 23, 42, .43);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.fjs-panel {
    position: fixed;
    z-index: 1800;
    right: 22px;
    bottom: 22px;
    display: flex;
    flex-direction: column;
    width: min(468px, calc(100vw - 44px));
    max-height: min(760px, calc(100dvh - 44px));
    overflow: hidden;
    border: 1px solid rgba(209, 219, 228, .92);
    border-radius: 24px;
    color: var(--fjs-ink);
    background: var(--fjs-surface);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .30), 0 5px 18px rgba(15, 23, 42, .14);
}

.fjs-panel[hidden],
.fjs-backdrop[hidden] {
    display: none;
}

.fjs-panel-topline {
    flex: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--fjs-burgundy), var(--fjs-pink));
}

.fjs-header {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex: 0 0 auto;
    padding: 20px 20px 17px;
    border-bottom: 1px solid #e6ebf0;
    background: linear-gradient(135deg, #fff 0%, #fff7fa 100%);
}

.fjs-heading {
    display: flex;
    gap: 13px;
    min-width: 0;
}

.fjs-heading-mark {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    margin-top: 3px;
    /* Πλαίσιο μπορντό, λευκό «τζάμι» και μπορντό person mark. */
    color: #c2185b;
    border-width: 3px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(194, 24, 91, .13);
}

/* Στην ανοιχτή καρτέλα το ίδιο κεντραρισμένο mark είναι ορατό σε brand χρώματα. */
.fjs-heading-mark > span {
    top: calc(50% - 8.5px);
    left: 50%;
    width: 8px;
    height: 8px;
    background: #c2185b;
    transform: translateX(-50%);
}

.fjs-heading-mark > span::after {
    top: 8px;
    left: 50%;
    width: 14px;
    height: 9px;
    background: #c2185b;
    transform: translateX(-50%);
}

.fjs-heading-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.fjs-heading h2 {
    margin: 0;
    color: var(--fjs-ink);
    font-size: 1.08rem;
    line-height: 1.25;
    letter-spacing: -.015em;
}

.fjs-heading p {
    margin: 5px 0 0;
    max-width: 355px;
    color: var(--fjs-muted);
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.45;
}

.fjs-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border: 1px solid #e4e9ee;
    border-radius: 999px;
    color: #607080;
    background: #f4f7f9;
    font-size: .71rem;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.fjs-status.has-active {
    border-color: #f5cad9;
    color: var(--fjs-burgundy);
    background: var(--fjs-soft-pink);
}

.fjs-close,
.fjs-picker-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #475569;
    background: #f1f5f9;
    cursor: pointer;
    font-size: 1.7rem;
    line-height: 1;
    transition: background-color .16s ease, color .16s ease, transform .16s ease;
}

.fjs-close:hover,
.fjs-picker-close:hover {
    color: var(--fjs-burgundy);
    background: var(--fjs-soft-pink);
    transform: rotate(4deg);
}

.fjs-form {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
}

.fjs-body {
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    padding: 17px 20px 18px;
    scrollbar-color: #cbd5df transparent;
}

.fjs-field,
.fjs-filter-group {
    margin: 0 0 14px;
}

.fjs-field > label,
.fjs-salary-group > label,
.fjs-filter-group legend {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 7px;
    color: #344256;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.25;
}

.fjs-field > label > i,
.fjs-salary-group > label > i,
.fjs-filter-group legend > i {
    width: 15px;
    color: var(--fjs-burgundy);
    text-align: center;
}

.fjs-field input[type="text"],
.fjs-field input[type="number"],
.fjs-location-control > input,
.fjs-salary-control > input,
.fjs-picker-trigger {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--fjs-border);
    border-radius: 13px;
    color: var(--fjs-ink);
    background: #fff;
    box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
    font: inherit;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.25;
}

.fjs-field input[type="text"],
.fjs-field input[type="number"],
.fjs-location-control > input,
.fjs-salary-control > input {
    padding: 11px 13px;
}

.fjs-field input:focus,
.fjs-location-control > input:focus,
.fjs-salary-control > input:focus {
    border-color: rgba(194, 24, 91, .58);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, .10);
    outline: none;
}

.fjs-location-control,
.fjs-salary-control {
    position: relative;
}

.fjs-location-control > input {
    padding-right: 43px;
}

.fjs-location-clear {
    position: absolute;
    top: 50%;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #637286;
    background: #edf2f6;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    transform: translateY(-50%);
}

.fjs-location-clear[hidden],
.fjs-location-results[hidden],
.fjs-more-filters[hidden] {
    display: none;
}

.fjs-location-results {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 4px;
    margin-top: 7px;
    max-height: 190px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid #dbe4ea;
    border-radius: 13px;
    background: var(--fjs-soft-surface);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
}

.fjs-location-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    border: 0;
    border-radius: 10px;
    color: #273547;
    background: #fff;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.fjs-location-result:hover,
.fjs-location-result:focus-visible {
    color: var(--fjs-burgundy);
    background: var(--fjs-soft-pink);
    outline: none;
}

.fjs-location-result small {
    display: block;
    margin-top: 2px;
    color: #778699;
    font-size: .71rem;
    font-weight: 600;
}

.fjs-location-empty {
    padding: 13px 10px;
    color: #6d7b8c;
    font-size: .82rem;
    font-weight: 600;
}

.fjs-native-select.fjs-enhanced {
    display: none;
}

.fjs-picker-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px 10px 13px;
    cursor: pointer;
    text-align: left;
}

.fjs-picker-trigger:hover {
    border-color: #cbd7e0;
    background: #fbfdfe;
}

.fjs-picker-trigger:disabled {
    color: #a6b0bb;
    border-color: #e5ebef;
    background: #f5f7f9;
    cursor: not-allowed;
}

.fjs-picker-trigger-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fjs-picker-trigger > i {
    color: #77879a;
    font-size: .82rem;
}

.fjs-subcategory-field.is-disabled > label {
    color: #9ba7b4;
}

.fjs-subcategory-field.is-disabled > label > i {
    color: #a5cbd2;
}

.fjs-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 43px;
    margin: 2px 0 0;
    padding: 8px 2px;
    border: 0;
    border-top: 1px solid #e7edf1;
    border-bottom: 1px solid #e7edf1;
    color: #425368;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
    text-align: left;
}

.fjs-more > i:first-child {
    margin-right: 8px;
    color: var(--fjs-teal);
}

.fjs-more > span:first-of-type {
    flex: 1 1 auto;
}

.fjs-more > i:last-child {
    color: #7c8a9b;
    transition: transform .18s ease;
}

.fjs-more[aria-expanded="true"] > i:last-child {
    transform: rotate(180deg);
}

.fjs-more-filters {
    padding-top: 15px;
}

/* Το advanced section είναι μόνιμα ανοικτό: προσφέρει φυσικό scroll χωρίς accordion discovery. */
.fjs-more-static {
    min-height: 46px;
    margin: 5px 0 0;
    padding: 11px 13px;
    border: 0;
    border-radius: 13px 13px 0 0;
    color: #fff;
    background: #087e9b;
    cursor: default;
}

.fjs-more-static > i:first-child {
    color: #fff;
}

.fjs-more-filters-static {
    margin: 0 0 14px;
    padding: 13px 13px 2px;
    border: 1px solid #b9e0e9;
    border-top: 0;
    border-radius: 0 0 13px 13px;
    background: #eaf8fb;
}

.fjs-more-filters-static .fjs-filter-group {
    margin-bottom: 11px;
}

.fjs-more-filters-static .fjs-filter-group legend,
.fjs-more-filters-static .fjs-salary-group > label {
    color: #17677b;
}

.fjs-more-filters-static .fjs-filter-group legend > i,
.fjs-more-filters-static .fjs-salary-group > label > i {
    color: #087e9b;
}

.fjs-more-filters-static .fjs-check {
    padding: 5px 8px;
    border-radius: 10px;
}

.fjs-more-filters-static .fjs-check:hover {
    background: rgba(255, 255, 255, .68);
}

.fjs-more-filters-static .fjs-salary-control > input {
    background: #fff;
}

.fjs-filter-group {
    min-width: 0;
    padding: 0;
    border: 0;
}

.fjs-filter-group legend {
    width: 100%;
    padding: 0;
}

.fjs-check {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 4px 0;
    color: #344256;
    cursor: pointer;
    font-size: .86rem;
    font-weight: 600;
    line-height: 1.25;
}

.fjs-check input {
    width: 19px;
    height: 19px;
    margin: 0;
    accent-color: var(--fjs-burgundy);
}

.fjs-salary-control > input {
    padding-right: 39px;
}

.fjs-salary-control > span {
    position: absolute;
    top: 50%;
    right: 14px;
    color: #768598;
    font-size: .9rem;
    font-weight: 800;
    transform: translateY(-50%);
}

.fjs-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 9px;
    flex: 0 0 auto;
    padding: 13px 20px calc(15px + env(safe-area-inset-bottom));
    border-top: 1px solid #e3e9ee;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -8px 20px rgba(15, 23, 42, .07);
}

.fjs-reset {
    grid-column: 1 / -1;
    min-height: 34px;
    padding: 4px 8px;
    border: 0;
    color: var(--fjs-teal);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: .76rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fjs-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 46px;
    padding: 10px 10px;
    border: 1px solid transparent;
    border-radius: 13px;
    cursor: pointer;
    font: inherit;
    font-size: .79rem;
    font-weight: 850;
    line-height: 1.15;
}

.fjs-submit-jobs {
    color: #fff;
    background: var(--fjs-burgundy);
    box-shadow: 0 5px 12px rgba(194, 24, 91, .22);
}

.fjs-submit-jobs:hover {
    background: var(--fjs-burgundy-dark);
}

.fjs-submit-map {
    border-color: #a9d9e2;
    color: #087e9b;
    background: #edf8fa;
}

.fjs-submit-map:hover {
    border-color: #7fc5d3;
    background: #e3f4f7;
}

.fjs-picker-back {
    position: fixed;
    z-index: 1850;
    inset: 0;
    background: transparent;
}

.fjs-picker {
    position: fixed;
    z-index: 1860;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    width: min(460px, calc(100vw - 24px));
    max-height: min(620px, calc(100dvh - 38px));
    overflow: hidden;
    border: 1px solid #d8e2e9;
    border-radius: 21px;
    color: var(--fjs-ink);
    background: var(--fjs-soft-surface);
    box-shadow: 0 24px 62px rgba(15, 23, 42, .31);
    transform: translate(-50%, -50%);
}

.fjs-picker[hidden],
.fjs-picker-back[hidden] {
    display: none;
}

.fjs-picker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 0 0 auto;
    padding: 15px 16px;
    border-bottom: 1px solid #e1e8ed;
    background: #fff;
}

.fjs-picker-title {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.fjs-picker-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border-radius: 9px;
    color: var(--fjs-burgundy);
    background: #fff2f7;
    font-size: .8rem;
}

.fjs-picker-head strong {
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--fjs-ink);
    font-size: 1rem;
    white-space: nowrap;
}

.fjs-picker-close {
    width: 34px;
    height: 34px;
    font-size: 1.45rem;
}

.fjs-picker-options {
    display: grid;
    gap: 5px;
    overflow-y: auto;
    padding: 9px;
    background: var(--fjs-soft-surface);
    overscroll-behavior: contain;
}

.fjs-picker-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 45px;
    padding: 9px 11px;
    border: 0;
    border-radius: 14px;
    color: #253347;
    background: #fff;
    cursor: pointer;
    font: inherit;
    font-size: .91rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

.fjs-picker-option:hover,
.fjs-picker-option:focus-visible {
    color: var(--fjs-burgundy);
    background: #fff7fa;
    outline: none;
}

.fjs-picker-option.is-selected {
    color: var(--fjs-burgundy);
    background: var(--fjs-soft-pink);
}

.fjs-picker-option.is-selected::before {
    content: '\f00c';
    color: var(--fjs-pink);
    font-family: 'Font Awesome 6 Free';
    font-size: .78rem;
    font-weight: 900;
}

.fjs-picker-option:disabled {
    color: #a7b1bc;
    background: #f3f6f8;
    cursor: not-allowed;
}

/* Το Safari διατηρεί ξεχωριστό scroll root στο html. Το class τίθεται από τον controller. */
html.fjs-scroll-locked {
    height: 100%;
    overflow: hidden !important;
    overscroll-behavior: none;
}

html.fjs-scroll-locked body {
    min-height: 100%;
    overscroll-behavior: none;
}

body.fjs-open {
    overflow: hidden;
    overscroll-behavior: none;
}

/* Το lock ανήκει στο background· μόνο οι εσωτερικές περιοχές του component επιτρέπουν pan-y. */
.fjs-panel,
.fjs-location-results,
.fjs-picker-options {
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 700px) {
    .fjs-trigger {
        /* Ασφαλές edge inset ώστε η ομαλή σκιά να μη κόβεται απότομα. */
        right: max(14px, env(safe-area-inset-right));
        bottom: max(17px, env(safe-area-inset-bottom));
        width: 58px;
        height: 58px;
    }

    /* MAP-FOOTER-ATTRIBUTION-RESTORE1: Leaflet's required attribution sits
       at the map edge. Only the fullscreen map moves the global search
       trigger clear of it; every other public page keeps its existing inset. */
    body.jt-map-view .fjs-trigger {
        bottom: max(70px, calc(52px + env(safe-area-inset-bottom)));
    }

    .fjs-trigger:hover,
    .fjs-trigger:focus-visible {
        transform: none;
    }

    .fjs-panel {
        /* Καθορισμένο viewport: η card έχει πάντα ύψος και η `.fjs-body` είναι ο μοναδικός scroll owner. */
        top: 8px;
        right: 0;
        bottom: 0;
        width: 100%;
        height: auto;
        max-height: none;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 24px 24px 0 0;
    }

    .fjs-body {
        /* Το pan-y δεν συναντά πλέον `touch-action:none` σε ancestor. */
        min-height: 0;
        flex: 1 1 0;
        overflow-y: auto;
        touch-action: pan-y;
    }

    .fjs-header {
        padding: 17px 18px 14px;
    }

    .fjs-body {
        padding: 14px 18px 16px;
    }

    .fjs-actions {
        padding: 11px 18px calc(12px + env(safe-area-inset-bottom));
    }

    .fjs-heading p {
        max-width: 290px;
    }

    .fjs-picker {
        width: min(440px, calc(100vw - 18px));
        max-height: min(690px, calc(100dvh - 24px));
        border-radius: 20px;
    }
}

@media (min-width: 701px) {
    .fjs-trigger {
        right: 22px;
        /* ZIP365 — consistent desktop clearance from map attribution and viewport edge. */
        bottom: 52px;
        width: 58px;
        height: 58px;
        border-radius: 50%;
    }

    /* The map's attribution is mandatory and remains readable at bottom-right.
       The map-only body marker gives the circular search launcher a larger,
       stable desktop clearance without shifting it on ordinary public pages. */
    body.jt-map-view .fjs-trigger {
        bottom: 82px;
    }

    /* Σταθερά κυκλικό control: δεν εμφανίζεται πλέον label/tooltip με hover. */
    .fjs-trigger:hover,
    .fjs-trigger:focus-visible {
        width: 58px;
        justify-content: center;
        gap: 0;
        padding: 0;
    }

    /* ZIP523 — desktop-only contextual picker.
       Η λίστα επιλογών συνδέεται οπτικά με το ενεργό πεδίο του icon-search,
       αντί να μοιάζει με ανεξάρτητο dialog στο κέντρο της σελίδας. */
    body.fjs-picker-open .fjs-backdrop {
        background: rgba(15, 23, 42, .25);
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);
    }

    .fjs-picker--anchored {
        box-shadow: 0 20px 52px rgba(15, 23, 42, .24), 0 4px 13px rgba(15, 23, 42, .12);
    }

    .fjs-picker-trigger.fjs-picker-source-active {
        border-color: rgba(194, 24, 91, .66);
        background: #fff7fa;
        box-shadow: 0 0 0 3px rgba(194, 24, 91, .10);
    }

    .fjs-location-quick-heading.fjs-picker-source-active {
        border-radius: 12px;
        background: #fff7fa;
        box-shadow: inset 0 0 0 1px rgba(194, 24, 91, .42), 0 0 0 3px rgba(194, 24, 91, .08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fjs-trigger,
    .fjs-close,
    .fjs-picker-close,
    .fjs-more > i:last-child {
        transition: none;
    }
}

/* =====================================================================
 * LOCATION DISCOVERY — QUICK DESTINATIONS (ZIP327)
 * -------------------------------------------------------------------
 * Οι γρήγορες επιλογές μένουν πάντα ορατές όσο η τοποθεσία είναι κενή.
 * Η ακριβής αναζήτηση τις αντικαθιστά προσωρινά μόνο όταν ο χρήστης
 * πληκτρολογεί, ώστε να μην εξαφανίζονται από το mental model του.
 * =================================================================== */
.fjs-location-quick[hidden] {
    display: none;
}

.fjs-location-quick {
    display: grid;
    gap: 10px;
    margin-top: 11px;
}

.fjs-location-quick-group {
    padding: 13px;
    border: 1px solid #dce4ea;
    border-radius: 16px;
    background: var(--fjs-soft-surface);
    box-shadow: 0 5px 18px rgba(15, 23, 42, .04);
}

.fjs-location-quick-heading {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 10px;
}

.fjs-location-quick-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    flex: 0 0 auto;
    border-radius: 10px;
    color: var(--fjs-teal);
    background: #edf8fa;
    font-size: .78rem;
}

.fjs-location-quick-group--seasonal .fjs-location-quick-icon {
    color: #b45309;
    background: #fff7ed;
}

.fjs-location-quick-heading h3 {
    margin: 0;
    color: #344256;
    font-size: .82rem;
    line-height: 1.25;
}

.fjs-location-quick-heading p {
    margin: 2px 0 0;
    color: var(--fjs-muted);
    font-size: .71rem;
    font-weight: 600;
    line-height: 1.35;
}

.fjs-location-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.fjs-location-tag {
    min-height: 35px;
    padding: 7px 11px;
    border: 1px solid #b9e1e8;
    border-radius: 999px;
    color: var(--fjs-teal);
    background: #fff;
    cursor: pointer;
    font: inherit;
    font-size: .76rem;
    font-weight: 750;
    line-height: 1.2;
}

.fjs-location-tag:hover,
.fjs-location-tag:focus-visible {
    border-color: #7fc5d3;
    background: #edf8fa;
    outline: none;
}

.fjs-location-tag--seasonal {
    border-color: #f3d6b0;
    color: #b45309;
    background: #fffaf4;
}

.fjs-location-tag--seasonal:hover,
.fjs-location-tag--seasonal:focus-visible {
    border-color: #eec48e;
    background: #fff3df;
}

/* ZIP328 — compact location accordions and clarified secondary actions. */
.fjs-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #d7dfe6;
    border-radius: 11px;
    color: #526173;
    background: #f2f5f7;
    font-size: .76rem;
    font-weight: 800;
    text-decoration: none;
}

.fjs-reset:hover,
.fjs-reset:focus-visible {
    border-color: #c2cdd7;
    color: #334155;
    background: #e7edf1;
    outline: none;
}

.fjs-submit-map {
    border-color: #9bcfac;
    color: #176b35;
    background: #edf8ef;
    box-shadow: 0 4px 10px rgba(34, 139, 72, .12);
}

.fjs-submit-map:hover,
.fjs-submit-map:focus-visible {
    border-color: #69af82;
    color: #12562b;
    background: #e2f3e6;
    outline: none;
}

.fjs-location-quick-accordion {
    padding: 0;
}

.fjs-location-quick-accordion > summary {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 59px;
    margin: 0;
    padding: 12px 13px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.fjs-location-quick-accordion > summary::-webkit-details-marker {
    display: none;
}

.fjs-location-quick-copy {
    display: grid;
    min-width: 0;
    flex: 1 1 auto;
    gap: 2px;
}

.fjs-location-quick-copy strong {
    color: #344256;
    font-size: .82rem;
    line-height: 1.25;
}

.fjs-location-quick-copy small {
    color: var(--fjs-muted);
    font-size: .71rem;
    font-weight: 600;
    line-height: 1.35;
}

.fjs-location-quick-chevron {
    flex: 0 0 auto;
    color: #718095;
    font-size: .8rem;
    transition: transform .18s ease;
}

.fjs-location-quick-accordion[open] .fjs-location-quick-chevron {
    transform: rotate(180deg);
}

.fjs-location-quick-accordion > .fjs-location-tags {
    padding: 0 13px 13px;
}

@media (prefers-reduced-motion: reduce) {
    .fjs-location-quick-chevron {
        transition: none;
    }
}

/* ZIP362 — the dynamic filter state has a stable right anchor within the helper-copy block.
   Copy flows naturally around the badge without creating a separate status row. */
.fjs-heading-status {
    float: right;
    min-height: 22px;
    margin: 4px 0 2px 8px;
    padding: 2px 8px;
    font-size: .68rem;
}

.fjs-more-filters-static {
    display: grid;
    gap: 10px;
    margin: 2px 0 14px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.fjs-filter-accordion {
    overflow: hidden;
    border: 1px solid #dbe4ea;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .035);
}

.fjs-filter-accordion > summary {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 10px 12px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.fjs-filter-accordion > summary::-webkit-details-marker {
    display: none;
}

.fjs-filter-accordion > summary:focus-visible {
    outline: 3px solid rgba(8, 126, 155, .36);
    outline-offset: -3px;
}

.fjs-filter-accordion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border-radius: 9px;
    color: var(--fjs-burgundy);
    background: var(--fjs-soft-pink);
    font-size: .8rem;
}

.fjs-filter-accordion[data-fjs-filter-accordion="model"] .fjs-filter-accordion-icon,
.fjs-filter-accordion[data-fjs-filter-accordion="salary"] .fjs-filter-accordion-icon {
    color: var(--fjs-teal);
    background: #e8f5f8;
}

.fjs-filter-accordion > summary > strong {
    min-width: 0;
    flex: 1 1 auto;
    color: #26354a;
    font-size: .86rem;
    line-height: 1.25;
}

.fjs-filter-accordion-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    color: #718096;
    background: #eef2f5;
    font-size: .72rem;
    font-weight: 850;
    line-height: 1;
}

.fjs-filter-accordion-count.has-active {
    color: #fff;
    background: var(--fjs-burgundy);
}

.fjs-filter-accordion-chevron {
    flex: 0 0 auto;
    color: #718095;
    font-size: .78rem;
    transition: transform .18s ease;
}

.fjs-filter-accordion[open] .fjs-filter-accordion-chevron {
    transform: rotate(180deg);
}

.fjs-filter-accordion[open] > summary {
    border-bottom: 1px solid #d8edf2;
    background: #f6fcfd;
}

.fjs-filter-accordion-body {
    padding: 10px 12px 8px;
    background: #edf9fb;
}

.fjs-filter-accordion-body .fjs-filter-group {
    margin: 0;
}

.fjs-filter-accordion-body .fjs-filter-group legend,
.fjs-filter-accordion-body .fjs-salary-group > label {
    display: none;
}

.fjs-filter-accordion-body .fjs-check {
    min-height: 38px;
    padding: 4px 7px;
    border-radius: 9px;
}

.fjs-filter-accordion-body .fjs-check:hover {
    background: rgba(255, 255, 255, .74);
}

.fjs-filter-accordion-body .fjs-salary-control > input {
    background: #fff;
}

@media (min-width: 356px) and (max-width: 700px) {
    .fjs-location-quick {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .fjs-location-quick-accordion > summary {
        min-height: 72px;
        padding: 10px;
    }

    .fjs-location-quick-icon {
        width: 28px;
        height: 28px;
    }

    .fjs-location-quick-copy strong {
        font-size: .77rem;
    }

    .fjs-location-quick-copy small {
        font-size: .67rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fjs-filter-accordion-chevron {
        transition: none;
    }
}

/* Τα closed states είναι mobile-first. Στο desktop το compact panel διατηρεί
   πλήρη overview όλων των filters χωρίς να απαιτεί άνοιγμα accordions. */
@media (min-width: 701px) {
    .fjs-filter-accordion {
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .fjs-filter-accordion > summary {
        min-height: 0;
        padding: 5px 0 7px;
        cursor: default;
    }

    .fjs-filter-accordion-icon,
    .fjs-filter-accordion-count {
        display: none;
    }

    .fjs-filter-accordion-chevron {
        display: none;
    }

    .fjs-filter-accordion:not([open]) .fjs-filter-accordion-body {
        display: block;
    }

    .fjs-filter-accordion-body {
        padding: 0;
        background: transparent;
    }

    .fjs-filter-accordion-body .fjs-filter-group legend,
    .fjs-filter-accordion-body .fjs-salary-group > label {
        display: flex;
    }
}

/* ZIP338 — unified neutral accordion surfaces and desktop parity. */
.fjs-root {
    --fjs-filter-body: #f4f6f7;
    --fjs-filter-row: #eef1f3;
}

.fjs-field > label,
.fjs-salary-group > label,
.fjs-filter-group legend {
    gap: 9px;
    color: #2f3d50;
    font-size: .88rem;
}

.fjs-field > label > i,
.fjs-salary-group > label > i,
.fjs-filter-group legend > i {
    width: 18px;
    color: var(--fjs-burgundy);
    font-size: .96rem;
}

.fjs-location-quick {
    grid-template-columns: 1fr;
}

.fjs-location-quick-group {
    min-width: 0;
    padding: 0;
    border-color: #dfe5e9;
    background: #fff;
}

.fjs-location-quick-accordion > summary {
    min-height: 68px;
    padding: 11px 12px;
}

.fjs-location-quick-accordion[open] > summary {
    border-bottom: 1px solid #e5e9ec;
}

.fjs-location-quick-icon {
    color: var(--fjs-burgundy);
    background: #fff1f6;
}

.fjs-location-quick-group--seasonal .fjs-location-quick-icon {
    color: var(--fjs-burgundy);
    background: #fff1f6;
}

.fjs-location-quick-copy strong {
    color: #26354a;
    font-size: .86rem;
}

.fjs-location-quick-copy small {
    color: #68778a;
    font-size: .73rem;
}

.fjs-location-quick.fjs-quick-picker-ready .fjs-location-tags {
    display: none;
}

.fjs-filter-accordion {
    border-color: #dfe5e9;
    background: #fff;
}

.fjs-filter-accordion > summary,
.fjs-filter-accordion[open] > summary {
    min-height: 58px;
    border-bottom: 0;
    background: #fff;
}

.fjs-filter-accordion[open] > summary {
    border-bottom: 1px solid #e1e6e9;
}

.fjs-filter-accordion-icon,
.fjs-filter-accordion[data-fjs-filter-accordion="model"] .fjs-filter-accordion-icon,
.fjs-filter-accordion[data-fjs-filter-accordion="salary"] .fjs-filter-accordion-icon {
    color: var(--fjs-burgundy);
    background: #fff1f6;
}

.fjs-filter-accordion > summary > strong {
    font-size: .94rem;
    font-weight: 850;
}

.fjs-filter-accordion-body {
    padding: 10px 12px;
    background: var(--fjs-filter-body);
}

.fjs-filter-accordion-body .fjs-check {
    min-height: 39px;
    padding: 5px 8px;
    background: var(--fjs-filter-row);
}

.fjs-filter-accordion-body .fjs-check + .fjs-check {
    margin-top: 4px;
}

.fjs-filter-accordion-body .fjs-check:hover {
    background: #e7ecef;
}

.fjs-filter-accordion-body .fjs-salary-control > input {
    border-color: #d9e0e5;
    background: #fff;
}

@media (max-width: 355px) {
    .fjs-location-quick {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 701px) {
    .fjs-filter-accordion {
        overflow: hidden;
        border: 1px solid #dfe5e9;
        border-radius: 15px;
        background: #fff;
        box-shadow: 0 3px 12px rgba(15, 23, 42, .035);
    }

    .fjs-filter-accordion > summary {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 58px;
        padding: 10px 12px;
        cursor: pointer;
        list-style: none;
    }

    .fjs-filter-accordion > summary::-webkit-details-marker,
    .fjs-filter-accordion-icon,
    .fjs-filter-accordion-count,
    .fjs-filter-accordion-chevron {
        display: inline-flex;
    }

    .fjs-filter-accordion-icon {
        align-items: center;
        justify-content: center;
    }

    .fjs-filter-accordion-chevron {
        margin-left: 0;
    }

    .fjs-filter-accordion:not([open]) .fjs-filter-accordion-body {
        display: none;
    }

    .fjs-filter-accordion-body {
        padding: 10px 12px;
        background: var(--fjs-filter-body);
    }

    .fjs-filter-accordion-body .fjs-filter-group legend,
    .fjs-filter-accordion-body .fjs-salary-group > label {
        display: none;
    }
}

/* ZIP338 fine alignment — κοινός βαθύς μπορντό τόνος στα τρία filter surfaces. */
.fjs-field > label > i,
.fjs-salary-group > label > i,
.fjs-filter-group legend > i,
.fjs-location-quick-icon,
.fjs-location-quick-group--seasonal .fjs-location-quick-icon,
.fjs-filter-accordion-icon,
.fjs-filter-accordion[data-fjs-filter-accordion="model"] .fjs-filter-accordion-icon,
.fjs-filter-accordion[data-fjs-filter-accordion="salary"] .fjs-filter-accordion-icon {
    color: #9d174d;
}

/* ZIP339 — οι δύο quick destination cards ακολουθούν το ίδιο neutral overview
   surface και teal icon treatment με το «Όλες οι αγγελίες — Χωρίς επιλογές». */
.fjs-location-quick-group {
    border-color: #e1e8ed;
    background: #f5f8fa;
    box-shadow: none;
}

.fjs-location-quick-accordion > summary {
    margin-bottom: 0;
}

.fjs-location-quick-accordion[open] > summary {
    border-bottom-color: #e1e8ed;
}

.fjs-location-quick-icon,
.fjs-location-quick-group--seasonal .fjs-location-quick-icon {
    color: var(--fjs-teal);
    background: #e8f5f8;
}

.fjs-location-quick-copy strong {
    color: #344256;
}

.fjs-location-quick-copy small {
    color: var(--fjs-muted);
}

.fjs-location-quick-chevron {
    color: #718095;
}


/* ZIP356 — floating icon-search header color pass only (mobile + desktop).
   The existing header geometry, responsive padding, panel behavior and controls remain unchanged. */
.fjs-header {
    border-bottom-color: #555555;
    background: #6a6a6a;
    box-shadow: 0 3px 10px rgba(26, 26, 26, .24);
}

.fjs-heading h2 {
    color: #ffffff;
}

.fjs-heading p {
    color: #e8e8e8;
}

.fjs-heading-mark {
    color: #ffffff;
    background: #c2185b;
    box-shadow: 0 4px 10px rgba(26, 26, 26, .22);
}

.fjs-heading-mark > span,
.fjs-heading-mark > span::after {
    background: #ffffff;
}

.fjs-close {
    color: #454545;
    background: #f4f6f7;
}

.fjs-close:hover,
.fjs-close:focus-visible {
    color: #9d174d;
    background: #fff1f6;
}


/* ZIP359 — shared floating-search placeholder hierarchy (mobile + desktop).
   Only the two helper placeholders become regular; input values, labels and controls are unchanged. */
#fjsKeyword::placeholder,
#fjsLocationText::placeholder {
    font-weight: 400;
}

/* ZIP364 — category/subcategory defaults are helper choices, not selected values.
   A real selected category or subcategory immediately returns to the established strong control state. */
#fjsCategory + .fjs-picker-trigger.fjs-picker-trigger--default-choice,
#fjsSubcategory + .fjs-picker-trigger.fjs-picker-trigger--default-choice {
    font-weight: 400;
}

#fjsCategory + .fjs-picker-trigger.fjs-picker-trigger--default-choice {
    color: #757575;
}

/* ZIP517 — value hierarchy: labels stay semibold anchors, while chosen
   values and selectable option text remain regular. Active choices retain
   their existing surface, border and checkmark treatments. */
.fjs-field > label,
.fjs-salary-group > label,
.fjs-filter-group legend,
.fjs-filter-accordion > summary > strong,
.fjs-more {
    font-weight: 600;
}

.fjs-field input[type="text"],
.fjs-field input[type="number"],
.fjs-location-control > input,
.fjs-salary-control > input,
.fjs-picker-trigger,
.fjs-check,
.fjs-picker-option,
.fjs-location-result,
.fjs-location-result strong,
.fjs-location-result small,
.fjs-salary-control > span {
    font-weight: 400;
}
