/* =====================================================
   REVEAL JOB PUBLIC JOB SEARCH
   Three-column, responsive search results layout
===================================================== */

.jobs-page-body {
    background: #f5f8fc;
    color: #172b45;
}

.jobs-container {
    width: min(1400px, calc(100% - 48px));
    margin: 0 auto;
    padding: 22px 0 52px;
}

.jobs-search-panel {
    padding: 12px;
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid #e1e9f2;
    border-radius: 16px;
    box-shadow: 0 3px 13px rgba(7, 43, 82, .045);
}

.jobs-search-form {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) minmax(160px, 1fr) minmax(150px, .85fr) auto;
    align-items: center;
    gap: 9px;
}

.jobs-search-field {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
    padding: 0 13px;
    height: 46px;
    color: #6f8095;
    border: 1px solid #e1e7ef;
    border-radius: 10px;
    background: #fff;
    transition: border-color .16s ease, background-color .16s ease;
}

.jobs-search-field:focus-within {
    border-color: #6fa6d5;
    background: #fbfdff;
}

.jobs-search-field > i {
    flex: 0 0 auto;
    color: #0877c9;
    font-size: 14px;
}

.jobs-search-field input,
.jobs-search-field select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #17314d;
    font: inherit;
    font-size: 13px;
}

.jobs-search-field input::placeholder { color: #8a9ab0; }
.jobs-search-field select { cursor: pointer; }

.jobs-search-button,
.filter-apply-button,
.jobs-promo-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
    padding: 0 18px;
    border: 1px solid #ff5a0a;
    border-radius: 10px;
    background: #ff5a0a;
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.jobs-search-button:hover,
.filter-apply-button:hover,
.jobs-promo-primary:hover {
    background: #ff7028;
    border-color: #ff7028;
    color: #fff;
}

.jobs-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 2px;
    margin: 0 0 15px;
    color: #73849a;
    font-size: 12px;
}

.jobs-breadcrumb a { color: #0877c9; }
.jobs-breadcrumb a:hover { color: #075f9f; }
.jobs-breadcrumb i { font-size: 9px; color: #a8b4c2; }

.jobs-layout {
    display: grid;
    grid-template-columns: minmax(220px, 270px) minmax(380px, 1fr) minmax(220px, 300px);
    align-items: start;
    gap: 22px;
}

.jobs-filter-panel,
.public-job-card,
.jobs-promo-card,
.jobs-tips-card {
    background: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 15px;
    box-shadow: 0 3px 12px rgba(7, 43, 82, .035);
}

.jobs-filter-panel { padding: 19px 18px; }

.jobs-filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9eef4;
}

.jobs-filter-heading h2 {
    color: #102e50;
    font-size: 16px;
    font-weight: 800;
}

.jobs-filter-heading h2 i { color: #0877c9; margin-right: 6px; }
.clear-filters-link { color: #d94a12; font-size: 12px; font-weight: 700; }
.clear-filters-link:hover { color: #b83b0a; }

.jobs-filter-form { display: block; }
.filter-group {
    min-width: 0;
    padding: 17px 0 16px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #e9eef4;
}

.filter-group legend {
    display: block;
    width: 100%;
    padding: 0 0 11px;
    color: #667b94;
    font-size: 12px;
    font-weight: 750;
}

.filter-radio-row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 0;
    color: #354b64;
    font-size: 12px;
    cursor: pointer;
}

.filter-radio-row input {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    accent-color: #0877c9;
    cursor: pointer;
}

.filter-radio-row:hover { color: #0877c9; }

.filter-location-input {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 11px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    color: #8190a2;
}

.filter-location-input:focus-within { border-color: #7aaed8; }
.filter-location-input i { color: #0877c9; font-size: 13px; }
.filter-location-input input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #17314d;
    font-size: 12px;
}
.filter-location-input input::placeholder { color: #8a9ab0; }

.popular-locations { display: grid; gap: 4px; margin-top: 13px; }
.popular-locations > p { margin-bottom: 3px; color: #8693a5; font-size: 11px; }
.popular-location-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 7px;
    border-radius: 6px;
    color: #3c526b;
    font-size: 12px;
}
.popular-location-link small { color: #8391a2; font-size: 10px; }
.popular-location-link:hover { background: #f0f7fd; color: #0877c9; }

.filter-category-select select {
    width: 100%;
    min-height: 42px;
    padding: 0 10px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #fff;
    color: #354b64;
    outline: 0;
    font-size: 12px;
}
.filter-category-select select:focus { border-color: #7aaed8; }

.filter-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding-top: 16px; }
.filter-apply-button { min-height: 41px; padding: 0 13px; }
.filter-reset-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid #d8e2ed;
    border-radius: 9px;
    color: #526880;
    font-size: 12px;
    font-weight: 700;
}
.filter-reset-button:hover { background: #f4f8fc; color: #314963; }

.jobs-results-column { min-width: 0; }
.jobs-results-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 2px 1px 14px;
}
.jobs-eyebrow {
    margin: 0 0 5px;
    color: #0877c9;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .09em;
}
.jobs-results-heading h1 { margin: 0; color: #0b2e52; font-size: 23px; line-height: 1.3; }
.jobs-results-count { margin-top: 5px; color: #73849a; font-size: 12px; }
.jobs-results-count strong { color: #213e5d; }
.back-home-link { color: #0877c9; font-size: 12px; font-weight: 700; white-space: nowrap; }
.back-home-link:hover { color: #075f9f; }

.active-filter-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.active-filter-chips span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 5px 8px;
    border: 1px solid #dbe9f6;
    border-radius: 6px;
    background: #f3f8fd;
    color: #40617f;
    font-size: 11px;
    overflow-wrap: anywhere;
}
.active-filter-chips i { color: #0877c9; }

.job-results-list { display: grid; gap: 14px; }
.public-job-card {
    min-width: 0;
    padding: 18px 17px 15px;
    position: relative;
    transition: border-color .16s ease, background-color .16s ease;
}
.public-job-card:hover { border-color: #d5e2ee; background: #fff; }
.public-job-card-main { display: block; min-width: 0; }
.public-company-avatar {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}
.public-company-avatar img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 0; background: transparent; border: 0; box-shadow: none; }
.public-job-content { padding-right: 68px; }
.public-job-content { min-width: 0; flex: 1; }
.public-job-content h2 { margin: 0; color: #102e50; font-size: 16px; line-height: 1.45; font-weight: 800; }
.public-job-content h2 a { color: inherit; }
.public-job-content h2 a:hover { color: #0877c9; }
.public-company-name { margin-top: 3px; color: #60758d; font-size: 13px; }
.public-job-meta { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 13px; }
.public-job-meta span { display: inline-flex; align-items: center; gap: 6px; color: #435b75; font-size: 12px; }
.public-job-meta i { color: #71849a; font-size: 12px; }
.public-job-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.public-job-skills span { padding: 4px 8px; border: 1px solid #e0eaf3; border-radius: 6px; background: #f6f9fc; color: #526c86; font-size: 10.5px; }
.public-job-card-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 15px; padding-top: 12px; border-top: 1px solid #edf1f5; }
.public-job-card-footer small { color: #8794a6; font-size: 11px; align-self: center; }
.public-job-card-footer small i { margin-right: 5px; }
.public-job-footer-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-left: auto; }
.public-view-job-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #e7a080;
    border-radius: 8px;
    background: #fff8f4;
    color: #d94a12;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}
.public-view-job-button:hover { border-color: #f6b596; background: #fff1e9; color: #be3e0b; }

.jobs-right-column { display: grid; gap: 14px; }
.jobs-promo-card {
    padding: 22px 19px;
    background: linear-gradient(145deg, #f4f0ff 0%, #eef8ff 55%, #fff5ec 100%);
    border-color: #e4e5f0;
}
.jobs-promo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    margin-bottom: 15px;
    border-radius: 12px;
    background: #fff;
    color: #ff5a0a;
    font-size: 18px;
}
.jobs-promo-card h2 { margin: 4px 0 9px; color: #102e50; font-size: 18px; line-height: 1.4; }
.jobs-promo-card > p:not(.jobs-eyebrow) { margin-bottom: 17px; color: #566c83; font-size: 12px; line-height: 1.65; }
.jobs-promo-primary { width: 100%; min-height: 40px; font-size: 12px; }
.jobs-promo-secondary { display: block; margin-top: 12px; color: #0877c9; text-align: center; font-size: 12px; font-weight: 700; }
.jobs-promo-secondary:hover { color: #075f9f; }

.jobs-tips-card { padding: 18px 19px; }
.jobs-tips-card h3 { color: #123456; font-size: 14px; }
.jobs-tips-card h3 i { margin-right: 5px; color: #ff8a1f; }
.jobs-tips-card ul { display: grid; gap: 10px; padding: 0 0 0 17px; margin-top: 13px; color: #62758a; font-size: 12px; line-height: 1.5; }
.jobs-tips-card li::marker { color: #ff8a1f; }

.jobs-empty-state {
    padding: 48px 24px;
    border: 1px solid #e3eaf2;
    border-radius: 15px;
    background: #fff;
    text-align: center;
}
.jobs-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #eef6fd;
    color: #0877c9;
    font-size: 21px;
}
.jobs-empty-state h2 { margin-top: 15px; color: #102e50; font-size: 20px; }
.jobs-empty-state p { max-width: 440px; margin: 8px auto 18px; color: #6d7e92; font-size: 13px; line-height: 1.6; }
.empty-search-again { min-width: 130px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1160px) {
    .jobs-container { width: min(100%, calc(100% - 32px)); }
    .jobs-layout { grid-template-columns: 235px minmax(360px, 1fr); gap: 18px; }
    .jobs-right-column { grid-column: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jobs-promo-card, .jobs-tips-card { min-width: 0; }
}

@media (max-width: 760px) {
    .jobs-container { width: calc(100% - 24px); padding-top: 15px; }
    .jobs-search-form { grid-template-columns: 1fr 1fr; }
    .jobs-search-keyword { grid-column: 1 / -1; }
    .jobs-search-button { grid-column: 1 / -1; }
    .jobs-layout { grid-template-columns: 1fr; }
    .jobs-filter-panel { order: 1; }
    .jobs-results-column { order: 2; }
    .jobs-right-column { order: 3; grid-column: auto; }
    .jobs-right-column { grid-template-columns: 1fr; }
    .jobs-filter-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
    .filter-group { min-width: 0; }
    .filter-actions { grid-column: 1 / -1; }
    .jobs-results-heading h1 { font-size: 21px; }
}

@media (max-width: 480px) {
    .jobs-search-form { grid-template-columns: 1fr; }
    .jobs-search-keyword, .jobs-search-button { grid-column: auto; }
    .jobs-filter-form { grid-template-columns: 1fr; }
    .filter-actions { grid-column: auto; }
    .public-job-card { padding: 14px 12px; }
    .public-company-avatar { flex-basis: 46px; width: 46px; height: 46px; font-size: 17px; }
    .public-job-card-main { gap: 10px; }
    .public-job-content h2 { font-size: 14px; }
    .public-job-meta { gap: 8px 11px; }
    .public-job-meta span { font-size: 11px; }
    .public-job-card-footer { align-items: flex-start; }
}

/* =====================================================
   REVEAL JOB SIDEBAR FILTERS
   Sidebar-only refinement inspired by the supplied reference.
   Keeps the main result cards and right column unchanged.
===================================================== */
.jobs-filter-panel {
    padding: 14px 20px 18px;
    border-radius: 10px;
    box-shadow: none;
    border-color: #edf0f4;
    background: #fff;
}

.jobs-filter-heading {
    padding-bottom: 15px;
    margin-bottom: 1px;
    border-bottom: 1px solid #e6ebf1;
}

.jobs-filter-heading h2 {
    color: #172b45;
    font-size: 16px;
    font-weight: 750;
}

.jobs-filter-heading h2 i {
    color: #0877c9;
}

.jobs-filter-form {
    display: block;
    min-width: 0;
}

.filter-group {
    padding: 18px 0 17px;
    border-bottom: 1px solid #e4e9ef;
}

.filter-group legend {
    padding-bottom: 10px;
    color: #929baa;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 500;
}

.filter-radio-row,
.filter-check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 5px 0;
    border-radius: 4px;
    color: #252f40;
    font-size: 12px;
    line-height: 1.4;
    cursor: pointer;
    transition: color .15s ease, background-color .15s ease;
}

.filter-radio-row:hover,
.filter-check-row:hover {
    color: #075f9f;
    background: #f5faff;
}

.filter-radio-row input,
.filter-check-row input {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    margin: 0;
    accent-color: #0877c9;
    cursor: pointer;
}

.filter-radio-row span,
.filter-check-row span {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.filter-radio-row small,
.filter-check-row small {
    flex: 0 0 auto;
    color: #929baa;
    font-size: 11px;
    font-weight: 400;
}

.filter-location-input {
    height: 43px;
    padding: 0 12px;
    border: 1px solid #d6dde7;
    border-radius: 7px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.filter-location-input:focus-within {
    border-color: #78a9d3;
    box-shadow: 0 0 0 2px rgba(8, 119, 201, .07);
}

.filter-location-input i {
    color: #8b97a7;
}

.filter-location-input input {
    font: inherit;
    font-size: 12px;
}

.filter-options {
    display: grid;
    gap: 1px;
    margin-top: 10px;
}

.filter-options [hidden] {
    display: none !important;
}

.filter-list-search {
    margin-bottom: 1px;
}

.filter-view-more {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin: 5px 0 0 22px;
    padding: 0 2px;
    border: 0;
    background: transparent;
    color: #354a60;
    font: inherit;
    font-size: 11px;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    transition: color .15s ease;
}

.filter-view-more:hover {
    color: #0877c9;
}

/* Salary range */
.salary-filter-group {
    padding-top: 18px;
    padding-bottom: 20px;
}

.salary-filter-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 13px;
    color: #929baa;
    font-size: 11px;
}

.salary-filter-heading output {
    display: inline-block;
    max-width: 150px;
    padding: 5px 8px;
    border-radius: 6px;
    background: #f0f2f6;
    color: #374151;
    font-size: 11px;
    font-weight: 650;
    text-align: right;
}

.salary-range-input {
    display: block;
    width: 100%;
    height: 20px;
    margin: 5px 0 2px;
    accent-color: #ff650d;
    cursor: pointer;
}

.salary-range-labels {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #858f9e;
    font-size: 11px;
}

.salary-filter-note {
    margin-top: 10px;
    color: #5c687a;
    font-size: 11px;
}

/* Orange Apply button; neutral Reset remains visually secondary. */
.filter-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding-top: 17px;
}

.filter-apply-button {
    min-height: 40px;
    padding: 0 13px;
    border-color: #ff5a0a;
    border-radius: 8px;
    background: #ff5a0a;
    color: #fff;
}

.filter-apply-button:hover {
    border-color: #f46a20;
    background: #f46a20;
    color: #fff;
}

.filter-reset-button {
    min-height: 40px;
    border-radius: 8px;
    background: #fff;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.filter-reset-button:hover {
    border-color: #d9e5ef;
    background: #f7fafc;
    color: #334a63;
}

@media (max-width: 760px) {
    .jobs-filter-panel {
        padding: 15px 16px;
    }

    .jobs-filter-form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 17px;
    }

    .filter-group {
        min-width: 0;
    }

    .filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .jobs-filter-panel {
        padding: 14px;
    }

    .jobs-filter-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .filter-actions {
        grid-column: auto;
    }
}

/* =====================================================
   REVEAL JOB FILTER SIDEBAR — BOLD SECTION HEADINGS
   Only changes sidebar headings; filter controls/logic stay the same.
===================================================== */
.jobs-filter-heading h2,
.jobs-filter-panel .filter-group > legend {
    color: #173858 !important;
    font-weight: 800 !important;
}

.jobs-filter-panel .filter-group > legend {
    display: block;
    width: 100%;
    padding-bottom: 11px;
    font-size: 13px;
    line-height: 1.45;
    letter-spacing: 0.1px;
}

.jobs-filter-panel .salary-filter-heading > span {
    color: #173858;
    font-weight: 700;
}


/* Filter legibility: larger bold headings and tidy row spacing. */
.jobs-filter-heading h2 { font-size: 16px; font-weight: 850; color: #173858; }
.jobs-filter-panel .filter-group > legend { font-size: 14px; font-weight: 850; line-height: 1.35; color: #173858; padding-bottom: 12px; }
.jobs-filter-panel .filter-radio-row,
.jobs-filter-panel .filter-check-row { font-size: 13px; font-weight: 650; line-height: 1.45; min-height: 29px; gap: 9px; }
.jobs-filter-panel .filter-radio-row small,
.jobs-filter-panel .filter-check-row small { font-size: 12px; font-weight: 700; color: #6b8196; }
.jobs-filter-panel .filter-group { padding: 18px 0 17px; }
.jobs-filter-panel .filter-radio-row:hover,
.jobs-filter-panel .filter-check-row:hover { color: #075b9b; }
.jobs-filter-panel input[type=checkbox],
.jobs-filter-panel input[type=radio] { accent-color: #0877c9; }

/* Per-job IT/Non-IT and filter metadata badges are styled in job-rader-theme.css. */


/* REVEAL JOB available-jobs layout alignment improvements */
.jobs-page, .available-jobs-page, .jobs-container, .jobs-content { min-width: 0; box-sizing: border-box; }
.jobs-page-header, .jobs-header, .jobs-toolbar, .jobs-layout-header {
    box-sizing: border-box;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}
.jobs-layout, .jobs-main-layout, .jobs-content-layout {
    align-items: start;
    min-width: 0;
}
.job-list, .jobs-list, .available-jobs-list { min-width: 0; }
.job-card, .available-job-card, .jobs-list-card {
    box-sizing: border-box;
    min-width: 0;
    overflow-wrap: anywhere;
}
@media (max-width: 900px) {
    .jobs-page-header, .jobs-header, .jobs-toolbar, .jobs-layout-header {
        padding-left: 16px;
        padding-right: 16px;
    }
}


/* Keep Latest Jobs and its live count on one aligned line. */
.jobs-results-heading-copy{min-width:0;flex:1}
.jobs-results-title-row{display:flex;align-items:baseline;gap:16px;flex-wrap:nowrap;min-width:0}
.jobs-results-title-row h1{flex:0 0 auto;white-space:nowrap}
.jobs-results-title-row .jobs-results-count{margin:0;white-space:nowrap;font-size:12px}
.jobs-results-heading{align-items:flex-end}
@media(max-width:540px){.jobs-results-title-row{gap:9px;flex-wrap:wrap}.jobs-results-title-row h1{font-size:20px}.jobs-results-title-row .jobs-results-count{font-size:11px}}


/* QA fixes: borderless search controls and compact pagination */
.jobs-search-field { border: 0 !important; border-radius: 8px; background: #f5f7fa; }
.jobs-search-field:focus-within { border: 0 !important; box-shadow: inset 0 0 0 2px #8dbce4; }
.jobs-pagination { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:8px; margin:24px 0 10px; }
.jobs-pagination a { min-width:38px; min-height:38px; padding:8px 12px; display:inline-flex; align-items:center; justify-content:center; gap:7px; border:1px solid #dce5ef; border-radius:9px; background:#fff; color:#173b61; text-decoration:none; font-size:13px; font-weight:700; }
.jobs-pagination a:hover,.jobs-pagination a.is-current { background:#0b3158; border-color:#0b3158; color:#fff; }
.filters-auto-note { color:#718096; font-size:12px; }
.filter-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.public-save-job-button { display:inline-flex; align-items:center; gap:7px; }

/* Searchable company multi-select modal */
.company-filter-modal {
    position: fixed;
    inset: 0;
    z-index: 30000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(7, 21, 41, .52);
}

.company-filter-modal.is-open {
    display: flex;
}

.company-filter-open {
    overflow: hidden;
}

.company-filter-dialog {
    display: flex;
    flex-direction: column;
    width: min(700px, 100%);
    margin-left: -10px;
    max-height: min(680px, 88vh);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(7, 21, 41, .25);
}

.company-filter-dialog > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 22px;
    border-bottom: 1px solid #edf1f6;
}

.company-filter-dialog h2 {
    margin: 0;
    color: #0B1F3A;
    font-size: 20px;
}

.company-filter-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #334155;
    font-size: 25px;
    cursor: pointer;
}

.company-filter-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 20px 8px;
    padding: 0 12px;
    border: 1px solid #d8e0eb;
    border-radius: 9px;
    color: #64748b;
}

.company-filter-search input {
    width: 100%;
    min-width: 0;
    height: 42px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #17243A;
}

.company-filter-modal-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 12px;
    padding: 8px 20px 18px;
    overflow-y: auto;
}

.company-filter-modal-options label {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 9px 7px;
    border-radius: 7px;
    color: #26364D;
    font-size: 13px;
    cursor: pointer;
}

.company-filter-modal-options label:hover {
    background: #f8fafc;
}

.company-filter-modal-options label[hidden] {
    display: none !important;
}

.company-filter-modal-options input {
    accent-color: #F58220;
    flex: 0 0 auto;
}

.company-filter-modal-options small {
    margin-left: auto;
    color: #8491a3;
}

.company-filter-dialog > footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid #edf1f6;
    background: #fbfcfe;
}

.company-filter-dialog > footer button {
    min-height: 40px;
    padding: 9px 15px;
    border: 1px solid #d8e0eb;
    border-radius: 8px;
    background: #fff;
    color: #0B1F3A;
    font-weight: 700;
    cursor: pointer;
}

.company-filter-dialog > footer .company-filter-apply {
    border-color: #F58220;
    background: #F58220;
    color: #fff;
}

@media (max-width: 768px) {
    .company-filter-dialog {
        width: 100%;
        margin-left: 0;
        max-height: 88vh;
    }
}

@media (max-width: 480px) {
    .company-filter-modal-options {
        grid-template-columns: 1fr;
    }

    .company-filter-dialog > header {
        padding: 16px;
    }

    .company-filter-search {
        margin-left: 16px;
        margin-right: 16px;
    }
}
/* Selected Categories: pinned first in the sidebar and limited to active selections. */
.selected-categories-panel{order:-1;margin:0 0 16px;padding:14px;border:1px solid #d9e3f2;border-radius:12px;background:#f7faff}
.selected-categories-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.selected-categories-heading h3{margin:0;color:#172b4d;font-size:16px;font-weight:750}
.selected-categories-clear{font-size:12px;color:#1769e0;text-decoration:none;font-weight:650}
.selected-categories-options{display:grid;gap:7px}
.selected-category-option{display:flex;align-items:center;gap:8px;padding:7px 9px;border:1px solid #dbe5f3;border-radius:8px;background:#fff;color:#24364b;font-size:13px;cursor:pointer}
.selected-category-option input{accent-color:#1769e0;flex:0 0 auto}
.selected-category-option span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}
.selected-category-remove{color:#f58220;font-size:18px;font-weight:700;line-height:1}

/* REVEAL JOB: additional filter groups (keeps original page and Industry styles intact) */
.extra-filter-group { min-width: 0; }
.extra-filter-group .filter-options { max-height: 190px; overflow-y: auto; overscroll-behavior: contain; }
.extra-filter-group .filter-list-search { margin: 8px 0 10px; }
.extra-filter-group .filter-check-row { display: flex; align-items: flex-start; gap: 9px; padding: 7px 2px; line-height: 1.35; }
.extra-filter-group .filter-check-row input[type="checkbox"] { flex: 0 0 auto; margin-top: 3px; accent-color: #2457a7; }
.extra-filter-group .filter-check-row span { min-width: 0; overflow-wrap: anywhere; }
.extra-filter-group .filter-check-row small { margin-left: auto; }
.extra-filter-group input[type="search"] { width: 100%; min-width: 0; box-sizing: border-box; }
.active-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.active-filter-chips > span { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .extra-filter-group .filter-options { max-height: 220px; }
  .extra-filter-group .filter-check-row { padding: 9px 2px; }
}



/* REVEAL JOB: keep search fields borderless while typing/focused */
input[type="search"]:focus,
input[type="search"]:focus-visible,
input.search-input:focus,
.search-box input:focus,
.search-bar input:focus,
.jobs-search-field input:focus,
.company-filter-search input:focus {
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}


/* REVEAL JOB global search focus cleanup */
input[type="search"]:focus,input[type="search"]:focus-visible,input[name*="search"]:focus,input[name*="keyword"]:focus,input[name*="location"]:focus,.search-box input:focus,.search-bar input:focus,.jobs-search-field input:focus,.company-filter-search input:focus,.homepage-search input:focus,.job-search-form input:focus,.search-form input:focus{outline:0!important;box-shadow:none!important;border-color:transparent!important}

/* Site-wide search fields: no visible border or focus ring. */
input[type="search"], input[name*="keyword"], input[name*="location"], .search-box input, .search-bar input, .jobs-search-field input, .company-filter-search input, .homepage-search input, .job-search-form input, .search-form input { border-color: transparent !important; outline: none !important; box-shadow: none !important; }
input[type="search"]:focus, input[name*="keyword"]:focus, input[name*="location"]:focus, .search-box input:focus, .search-bar input:focus, .jobs-search-field input:focus, .company-filter-search input:focus, .homepage-search input:focus, .job-search-form input:focus, .search-form input:focus { border-color: transparent !important; outline: none !important; box-shadow: none !important; }


/* FINAL PUBLIC JOB SEARCH FIX: remove orange wrapper glow and blue input fills */
.jobs-search-field:focus-within,
.jobs-search-experience:focus-within,
.jobs-search-field:has(input:focus),
.jobs-search-field:has(select:focus) {
    outline: none !important;
    box-shadow: none !important;
    border-color: #d9e1eb !important;
}
.jobs-search-field input[type="search"],
.jobs-search-field input[type="search"]:focus,
.jobs-search-field input[type="search"]:focus-visible,
.jobs-search-field input[type="search"]:not(:placeholder-shown) {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}
.jobs-search-field input[type="search"]:-webkit-autofill,
.jobs-search-field input[type="search"]:-webkit-autofill:hover,
.jobs-search-field input[type="search"]:-webkit-autofill:focus {
    -webkit-text-fill-color: #0b1f3a !important;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    transition: background-color 99999s ease-out 0s !important;
}
.jobs-search-experience select {
    outline: none !important;
    box-shadow: none !important;
}
.jobs-search-experience select option {
    background-color: #252a33 !important;
    color: #f8fafc !important;
}
.jobs-search-experience select option:checked {
    background-color: #3b4657 !important;
    color: #ffffff !important;
}

/* Requested UI refinements: search bar separators, spacing and clean experience dropdown. */
.jobs-container { padding-top: 30px; }
.jobs-search-panel { padding: 12px; }
.jobs-search-form { gap: 0; }
.jobs-search-field { position: relative; border: 0 !important; border-radius: 0; background: #fff !important; }
.jobs-search-field + .jobs-search-field { border-left: 1px solid #dfe5ed !important; }
.jobs-search-field:focus-within { background: #fff !important; box-shadow: none !important; }
.jobs-search-experience select { appearance: auto; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: #fff !important; color: #17314d !important; padding: 0 4px; }
.jobs-search-experience select option,
.jobs-search-experience select option:checked { background: #fff !important; color: #17314d !important; }
.jobs-search-button { margin-left: 10px; }
@media (max-width: 760px) {
  .jobs-search-form { gap: 8px; }
  .jobs-search-field, .jobs-search-field + .jobs-search-field { border: 1px solid #e1e7ef !important; border-radius: 8px; }
  .jobs-search-button { margin-left: 0; }
}
/* Section headings and legends stay bold; options and values use normal weight. */
.filter-group legend { font-weight: 750; }
.filter-check-row span, .filter-radio-row span, .extra-filter-group .filter-check-row span { font-weight: 400; }


/* Final refinements requested in the REVEAL JOB UI review. */
.jobs-page-body { --rj-header-height: 72px; }
.jobs-page-body .site-header { position: sticky; top: 0; z-index: 20000; min-height: var(--rj-header-height); }
.jobs-page-body .header-inner { min-height: var(--rj-header-height); }
.jobs-page-body .jobs-container { padding-top: 18px !important; }
.jobs-page-body .jobs-filter-panel { align-self: start; }
.jobs-page-body .jobs-filter-heading { margin-bottom: 0; padding-bottom: 12px; }
.jobs-page-body .jobs-filter-panel .filter-group { padding: 12px 0 11px !important; }
.jobs-page-body .jobs-filter-panel .filter-group > legend { padding-bottom: 7px !important; line-height: 1.3; }
.jobs-page-body .jobs-filter-panel .filter-radio-row,
.jobs-page-body .jobs-filter-panel .filter-check-row { min-height: 27px; padding: 3px 0; line-height: 1.35; }
.jobs-page-body .jobs-filter-panel .filter-options { gap: 0; }
.jobs-page-body .jobs-filter-panel .filter-actions { padding-top: 12px; }
.jobs-page-body .public-company-avatar { width: 56px; height: 56px; background: transparent; }
.jobs-page-body .public-company-avatar img { width: 100%; height: 100%; object-fit: contain; background: transparent; }
.jobs-page-body .jobs-search-field + .jobs-search-field { border-left: 1px solid #dfe5ed !important; }
@media (max-width: 760px) {
  .jobs-page-body .jobs-container { padding-top: 14px !important; }
  .jobs-page-body .jobs-filter-panel .filter-group { padding: 10px 0 !important; }
}


/* REVEAL JOB final sidebar/search refinements */
.jobs-search-experience select,
.jobs-search-experience select:focus,
.jobs-search-experience select:focus-visible {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
}
.jobs-layout {
    align-items: start;
}
.jobs-results-column,
.job-results-list,
.public-job-card {
    min-width: 0;
    box-sizing: border-box;
}
.job-results-list {
    width: 100%;
}
.public-job-card {
    width: 100%;
}
