/* ============================================================
   RESET / BASE
   ============================================================ */
:root {
    --app-blue:#2563eb;
    --app-blue-hover:#1d4ed8;
    --app-ink:#17243b;
    --app-muted:#64748b;
    --app-line:#e2e8f0;
    --app-surface:#fff;
    --app-bg:#f7f9fc;
    --app-bg1:#f6f7f9;
}
* {
    box-sizing: border-box;
}
html {
    margin: 0;
    padding: 0;
}
body {
    margin:0;
    background:var(--app-bg);
    color:var(--app-ink);
    font-family:Manrope,Arial,sans-serif
}
body {
    margin: 0;
    padding: 0;
    background: var(--app-bg);
    color: #101828;
    font-family:     -apple-system,     BlinkMacSystemFont,     "Segoe UI",     Roboto,     Helvetica,     Arial,     sans-serif;
    font-size: 14px;
    line-height: 1.5;
}
a {
    color: inherit;
    text-decoration: none;
}
button, input, select, textarea {
    font-family: inherit;
}
/* ============================================================
   HEADER
   ============================================================ */
.jobs-header {
    position: relative;
    z-index: 100;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e4e7ec;
}
.jobs-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1240px;
    min-height: 68px;
    margin: 0 auto;
    padding: 0 24px;
}
/* ------------------------------------------------------------
   Brand
   ------------------------------------------------------------ */
.jobs-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.jobs-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #0b5cff;
    border-radius: 9px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
}
.jobs-brand-text {
    display: flex;
    align-items: baseline;
    gap: 5px;
}
.jobs-brand-text strong {
    color: #101828;
    font-size: 16px;
    font-weight: 750;
    letter-spacing: -0.02em;
}
.jobs-brand-text span {
    color: #667085;
    font-size: 14px;
    font-weight: 500;
}
/* ------------------------------------------------------------
   Header navigation
   ------------------------------------------------------------ */
.jobs-header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
.jobs-header-nav > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 8px;
    color: #475467;
    font-size: 13px;
    font-weight: 600;
    transition:     color 0.15s ease,     background-color 0.15s ease,     border-color 0.15s ease;
}
.jobs-header-nav > a:hover {
    background: #f9fafb;
    color: #101828;
}
.jobs-header-nav > a.active {
    color: #0b5cff;
}
.jobs-header-nav > a.jobs-register-button {
    margin-left: 4px;
    background: #0b5cff;
    border: 1px solid #0b5cff;
    color: #ffffff;
}
.jobs-header-nav > a.jobs-register-button:hover {
    background: #004eea;
    color: #ffffff;
}
/* ============================================================
   SEARCH HERO
   ============================================================ */
.jobs-search-hero {
    width: 100%;
    padding: 38px 24px 40px;
    background:     linear-gradient(         135deg,         #f5f8ff 0%,         #ffffff 48%,         #f4f7ff 100%     );
    border-bottom: 1px solid #eaecf0;
}
.jobs-search-hero-inner {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}
/* ------------------------------------------------------------
   Search heading
   ------------------------------------------------------------ */
.jobs-search-heading {
    margin-bottom: 22px;
    text-align: center;
}
.jobs-search-heading h1 {
    margin: 0 0 7px;
    color: #101828;
    font-size: 30px;
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.2;
}
.jobs-search-heading p {
    margin: 0;
    color: #667085;
    font-size: 14px;
}
/* ------------------------------------------------------------
   Main search form
   ------------------------------------------------------------ */
.jobs-search-form {
    display: flex;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #dfe3ea;
    border-radius: 14px;
    box-shadow:     0 5px 20px rgba(16, 24, 40, 0.07);
}
.jobs-search-field {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}
.jobs-search-keyword {
    flex: 1.4;
}
.jobs-search-location {
    flex: 0.9;
    border-left: 1px solid #eaecf0;
}
.jobs-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    flex: 0 0 42px;
    color: #667085;
    font-size: 15px;
}
.jobs-search-field input {
    width: 100%;
    height: 46px;
    padding: 0 12px 0 0;
    background: transparent;
    border: 0;
    outline: none;
    color: #101828;
    font-size: 13px;
}
.jobs-search-field input::placeholder {
    color: #98a2b3;
}
.jobs-search-button {
    height: 46px;
    margin-left: 6px;
    padding: 0 23px;
    background: #0b5cff;
    border: 1px solid #0b5cff;
    border-radius: 9px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
    cursor: pointer;
    transition:     background-color 0.15s ease,     border-color 0.15s ease;
}
.jobs-search-button:hover {
    background: #004eea;
    border-color: #004eea;
}
/* ============================================================
   MAIN CONTENT
   ============================================================ */
.jobs-main {
    min-height: 600px;
    padding: 28px 24px 50px;
}
.jobs-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}
.jobs-content-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}
/* ============================================================
   FILTER SIDEBAR
   ============================================================ */
.jobs-filter-sidebar {
    position: sticky;
    top: 18px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    box-shadow:     0 1px 3px rgba(16, 24, 40, 0.03);
    overflow: hidden;
}
.jobs-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 0 17px;
    border-bottom: 1px solid #eaecf0;
}
.jobs-filter-header h2 {
    margin: 0;
    color: #101828;
    font-size: 14px;
    font-weight: 700;
}
.jobs-clear-filters {
    color: #0b5cff;
    font-size: 11px;
    font-weight: 600;
}
.jobs-clear-filters:hover {
    text-decoration: underline;
}
/* ------------------------------------------------------------
   Filter sections
   ------------------------------------------------------------ */
.jobs-filter-section {
    padding: 17px;
    border-bottom: 1px solid #f0f2f5;
}
.jobs-filter-section h3 {
    margin: 0 0 12px;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
}
.jobs-filter-option {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 30px;
    color: #475467;
    font-size: 11px;
    cursor: pointer;
}
.jobs-filter-option:hover {
    color: #101828;
}
.jobs-filter-option input[type="radio"] {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #0b5cff;
    cursor: pointer;
}
.jobs-filter-option span {
    min-width: 0;
    line-height: 1.35;
}
/* ------------------------------------------------------------
   Apply filter button
   ------------------------------------------------------------ */
.jobs-filter-button {
    width: calc(100% - 34px);
    height: 38px;
    margin: 16px 17px;
    background: #ffffff;
    border: 1px solid #0b5cff;
    border-radius: 7px;
    color: #0b5cff;
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
    transition:     color 0.15s ease,     background-color 0.15s ease;
}
.jobs-filter-button:hover {
    background: #f4f7ff;
}
/* ============================================================
   RESULTS
   ============================================================ */
.jobs-results {
    min-width: 0;
}
.jobs-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}
.jobs-results-header h2 {
    margin: 0 0 3px;
    color: #101828;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}
.jobs-results-header p {
    margin: 0;
    color: #667085;
    font-size: 11px;
}
/* ============================================================
   MOBILE FILTER BUTTON
   ============================================================ */
.jobs-mobile-filter-button {
    display: none;
    height: 36px;
    padding: 0 14px;
    background: #ffffff;
    border: 1px solid #d0d5dd;
    border-radius: 7px;
    color: #344054;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}
/* ============================================================
   ACTIVE FILTERS
   ============================================================ */
.jobs-active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
}
.jobs-filter-chip {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 10px;
    background: #eef4ff;
    border: 1px solid #d6e4ff;
    border-radius: 20px;
    color: #175cd3;
    font-size: 10px;
    font-weight: 600;
}
/* ============================================================
   JOB LIST
   ============================================================ */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/* ============================================================
   JOB CARD
   ============================================================ */
.job-card {
    position: relative;
    padding: 20px 21px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    box-shadow:     0 1px 3px rgba(16, 24, 40, 0.03);
    transition:     border-color 0.15s ease,     box-shadow 0.15s ease,     transform 0.15s ease;
}
.job-card:hover {
    border-color: #cbd5e1;
    box-shadow:     0 5px 16px rgba(16, 24, 40, 0.07);
    transform: translateY(-1px);
}
/*
 * Full card clickable layer.
 *
 * Actual title and View Job links have higher z-index.
 */
.job-card-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}
/* ------------------------------------------------------------
   Card header
   ------------------------------------------------------------ */
.job-card-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}
.job-card-heading {
    min-width: 0;
}
.job-card-heading h3 {
    margin: 0 0 5px;
    color: #101828;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}
.job-card-heading h3 a {
    position: relative;
    z-index: 3;
}
.job-card-heading h3 a:hover {
    color: #0b5cff;
}
.job-card-company {
    color: #475467;
    font-size: 12px;
    font-weight: 550;
}
/* ------------------------------------------------------------
   Company logo
   ------------------------------------------------------------ */
.job-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    background: #f7f9fc;
    border: 1px solid #eaecf0;
    border-radius: 9px;
    overflow: hidden;
}
.job-card-logo img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 5px;
    object-fit: contain;
}
.job-card-logo span {
    color: #0b5cff;
    font-size: 18px;
    font-weight: 750;
}
/* ============================================================
   JOB META
   ============================================================ */
.job-card-meta {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 18px;
    margin-top: 15px;
}
.job-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #667085;
    font-size: 11px;
    line-height: 1.4;
}
.job-meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    color: #98a2b3;
    font-size: 11px;
}
/* ============================================================
   DOMAIN / CATEGORY
   ============================================================ */
.job-card-classification {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 11px;
}
.job-card-classification span {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 0 8px;
    background: #f9fafb;
    border: 1px solid #eaecf0;
    border-radius: 5px;
    color: #667085;
    font-size: 9px;
    font-weight: 550;
}
/* ============================================================
   SKILLS
   ============================================================ */
.job-card-skills {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}
.job-card-skills span {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 9px;
    background: #f2f4f7;
    border-radius: 5px;
    color: #475467;
    font-size: 9px;
    font-weight: 500;
}
/* ============================================================
   JOB CARD FOOTER
   ============================================================ */
.job-card-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 16px;
    padding-top: 13px;
    border-top: 1px solid #f2f4f7;
}
.job-card-posted {
    color: #98a2b3;
    font-size: 10px;
}
.job-card-view {
    position: relative;
    z-index: 3;
    color: #0b5cff;
    font-size: 11px;
    font-weight: 650;
}
.job-card-view:hover {
    text-decoration: underline;
}
/* ============================================================
   EMPTY STATE
   ============================================================ */
.jobs-empty {
    padding: 70px 30px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    text-align: center;
}
.jobs-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 15px;
    background: #f2f4f7;
    border-radius: 50%;
    font-size: 20px;
}
.jobs-empty h3 {
    margin: 0 0 6px;
    color: #101828;
    font-size: 16px;
    font-weight: 700;
}
.jobs-empty p {
    margin: 0 auto 18px;
    max-width: 420px;
    color: #667085;
    font-size: 11px;
    line-height: 1.6;
}
.jobs-empty-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    background: #0b5cff;
    border-radius: 7px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
}
.jobs-empty-button:hover {
    background: #004eea;
}
/* ============================================================
   PAGINATION
   CodeIgniter pager
   ============================================================ */
.jobs-pagination {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}
.jobs-pagination ul {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.jobs-pagination li {
    margin: 0;
    padding: 0;
}
.jobs-pagination li a, .jobs-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 7px;
    color: #475467;
    font-size: 11px;
    font-weight: 550;
}
.jobs-pagination li a:hover {
    border-color: #b9c9e9;
    color: #0b5cff;
}
.jobs-pagination li.active a, .jobs-pagination li.active span {
    background: #0b5cff;
    border-color: #0b5cff;
    color: #ffffff;
}
.jobs-pagination li.disabled span {
    background: #f9fafb;
    color: #c4c9d2;
    cursor: default;
}
/* ============================================================
   FOOTER
   ============================================================ */
.jobs-footer {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e4e7ec;
}
.jobs-footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:     "brand links"     "copy copy";
    gap: 20px;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 24px 22px;
}
.jobs-footer-brand {
    grid-area: brand;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.jobs-footer-brand strong {
    color: #101828;
    font-size: 13px;
    font-weight: 700;
}
.jobs-footer-brand span {
    color: #667085;
    font-size: 10px;
}
.jobs-footer-links {
    grid-area: links;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}
.jobs-footer-links a {
    color: #667085;
    font-size: 10px;
    font-weight: 550;
}
.jobs-footer-links a:hover {
    color: #0b5cff;
}
.jobs-footer-copy {
    grid-area: copy;
    padding-top: 18px;
    border-top: 1px solid #f2f4f7;
    color: #98a2b3;
    font-size: 9px;
}
/* ============================================================
   MOBILE FILTER OVERLAY
   ============================================================ */
.jobs-filter-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
    background: rgba(16, 24, 40, 0.45);
}
.jobs-filter-overlay.active {
    display: block;
}
body.jobs-filter-open {
    overflow: hidden;
}
/* ============================================================
   RESPONSIVE - 1000px
   ============================================================ */
@media (max-width: 1000px) {
    .jobs-content-layout {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 16px;
    }
    .jobs-main {
        padding-left: 18px;
        padding-right: 18px;
    }
}
/* ============================================================
   RESPONSIVE - TABLET
   ============================================================ */
@media (max-width: 820px) {
    /*  * Header  */
    .jobs-header-inner {
        min-height: 62px;
        padding-left: 18px;
        padding-right: 18px;
    }
    .jobs-header-nav > a.active {
        display: none;
    }
    /*  * Hero  */
    .jobs-search-hero {
        padding: 28px         18px         30px;
    }
    .jobs-search-heading h1 {
        font-size: 25px;
    }
    /*  * Search  */
    .jobs-search-form {
        max-width: 650px;
    }
    /*  * Main  */
    .jobs-main {
        padding: 22px         16px         40px;
    }
    .jobs-content-layout {
        display: block;
    }
    /*  * Filter becomes drawer  */
    .jobs-filter-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1000;
        width: 290px;
        max-width: 88vw;
        border: 0;
        border-radius: 0;
        overflow-y: auto;
        transform: translateX(-105%);
        transition: transform 0.2s ease;
    }
    .jobs-filter-sidebar.mobile-open {
        transform: translateX(0);
    }
    .jobs-filter-header {
        position: sticky;
        top: 0;
        z-index: 2;
        background: #ffffff;
    }
    .jobs-mobile-filter-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}
/* ============================================================
   RESPONSIVE - MOBILE
   ============================================================ */
@media (max-width: 640px) {
    /*  * Header  */
    .jobs-header-inner {
        min-height: 58px;
        padding: 0 14px;
    }
    .jobs-brand-mark {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        font-size: 17px;
    }
    .jobs-brand-text strong {
        font-size: 14px;
    }
    .jobs-brand-text span {
        display: none;
    }
    .jobs-header-nav {
        gap: 3px;
    }
    .jobs-header-nav > a {
        min-height: 34px;
        padding: 0 9px;
        font-size: 11px;
    }
    /*  * Hero  */
    .jobs-search-hero {
        padding: 24px 14px 25px;
    }
    .jobs-search-heading {
        margin-bottom: 17px;
    }
    .jobs-search-heading h1 {
        font-size: 22px;
    }
    .jobs-search-heading p {
        font-size: 11px;
    }
    /*  * Search form vertical  */
    .jobs-search-form {
        display: block;
        padding: 7px;
        border-radius: 11px;
    }
    .jobs-search-keyword, .jobs-search-location {
        width: 100%;
        border: 0;
    }
    .jobs-search-location {
        border-top: 1px solid #eaecf0;
    }
    .jobs-search-field input {
        height: 44px;
    }
    .jobs-search-button {
        width: 100%;
        height: 42px;
        margin: 7px 0 0;
    }
    /*  * Main  */
    .jobs-main {
        padding: 18px 12px 35px;
    }
    /*  * Result header  */
    .jobs-results-header {
        margin-bottom: 12px;
    }
    .jobs-results-header h2 {
        font-size: 16px;
    }
    /*  * Job card  */
    .job-card {
        padding: 17px 16px;
        border-radius: 10px;
    }
    .job-card-header {
        gap: 12px;
    }
    .job-card-heading h3 {
        font-size: 14px;
    }
    .job-card-company {
        font-size: 11px;
    }
    .job-card-logo {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
    }
    .job-card-meta {
        gap: 7px 13px;
        margin-top: 13px;
    }
    .job-card-meta-item {
        font-size: 10px;
    }
    .job-card-footer {
        margin-top: 14px;
    }
    /*  * Pagination  */
    .jobs-pagination li a, .jobs-pagination li span {
        min-width: 31px;
        height: 31px;
        font-size: 10px;
    }
    /*  * Footer  */
    .jobs-footer-inner {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 24px 16px 20px;
    }
    .jobs-footer-links {
        gap: 10px 16px;
    }
    .jobs-footer-copy {
        width: 100%;
    }
}
/* ============================================================
   VERY SMALL MOBILE
   ============================================================ */
@media (max-width: 420px) {
    .jobs-header-nav > a:not(.jobs-register-button) {
        padding-left: 6px;
        padding-right: 6px;
    }
    .jobs-register-button {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .jobs-search-heading h1 {
        font-size: 20px;
    }
    .jobs-results-header {
        align-items: flex-start;
    }
    .jobs-mobile-filter-button {
        flex: 0 0 auto;
    }
    .job-card-header {
        align-items: flex-start;
    }
    .job-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .job-card-footer {
        align-items: center;
    }
}
/* ============================================================
   SHARED HEADER - current jobs/partials/header.php
   ============================================================ */
.jobs-header {
    position: relative;
    z-index: 110;
    background: #fff;
    border-bottom: 1px solid #dce6ec;
}
.jobs-header-inner {
    max-width: 1240px;
    margin: auto;
    min-height: 70px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.jobs-header-brand {
    flex-shrink: 0;
}
.jobs-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #102a43;
    text-decoration: none;
}
.jobs-brand-link:hover {
    text-decoration: none;
}
.jobs-brand-name {
    font-weight: 850;
    font-size: 19px;
    letter-spacing: -.035em;
}
.jobs-brand-section {
    color: #148e76;
    font-weight: 750;
    font-size: 17px;
}
.jobs-header-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}
.jobs-header-nav > a.jobs-header-link, .jobs-header-nav > a.jobs-header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    min-height: 38px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}
.jobs-header-nav > a.jobs-header-link {
    color: #43566b;
}
.jobs-header-nav > a.jobs-header-link:hover {
    background: #eaf4f6;
    color: #1156b3;
}
.jobs-header-nav > a.jobs-header-button {
    background: #1565d8;
    color: white;
}
.jobs-header-nav > a.jobs-header-button:hover {
    background: #0e4daa;
    color: white;
}
.jobs-mobile-menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 42px;
    height: 40px;
    border: 1px solid #d8e6e8;
    background: #fff;
    border-radius: 9px;
    cursor: pointer;
}
.jobs-mobile-menu-button span {
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: #12334a;
}
.jobs-mobile-navigation {
    display: none;
}
/* ============================================================
   JOB LIST - supplementary styles
   ============================================================ */
.job-card-description {
    position: relative;
    z-index: 2;
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.65;
    color: #59697c;
    overflow-wrap: anywhere;
}
/* ============================================================
   CANDIDATE DASHBOARD - scoped to .candidate-home
   ============================================================ */
body:has(.candidate-home) {
    background: #edf6f5;
}
.candidate-home {
    --cd-ink:#0a2540;
    --cd-muted:#5b7083;
    --cd-line:#d8e6e8;
    --cd-blue:#1565d8;
    --cd-green:#1fa971;
    --cd-blue-soft:#e3eefd;
    --cd-green-soft:#ddf4ea;
    max-width:1240px;
    margin:0 auto;
    padding:22px 18px;
    display:grid;
    grid-template-columns: 280px minmax(0,1fr) 260px;
    align-items:start;
    gap:20px;
    color:var(--cd-ink);
    font-size:14px;
}
.candidate-home > *, .candidate-main, .candidate-home .rail {
    min-width:0;
}
.candidate-home h1,.candidate-home h2,.candidate-home h3 {
    margin:0;
    line-height:1.25;
    letter-spacing:-.015em;
}
.candidate-home .card {
    background:#fff;
    border:1px solid var(--cd-line);
    border-radius:16px;
    padding:20px;
    min-width:0;
    margin-bottom:18px;
}
.candidate-home .sub {
    color:var(--cd-muted);
    font-size:12px;
}
.candidate-home .head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}
.candidate-home .head h2 {
    font-size:20px;
}
.candidate-home .btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:22px;
    padding:10px 18px;
    background:var(--cd-blue);
    color:#fff;
    font-weight:700;
    text-decoration:none;
    cursor:pointer;
}
.candidate-home .btn:hover {
    background:#0e4daa;
    color:#fff;
    text-decoration:none;
}
.candidate-home .btn.g {
    background:var(--cd-green);
    color:#06281b;
}
.candidate-home .profile {
    text-align:center;
}
.candidate-home .profile h2 {
    font-size:20px;
    margin:10px 0 5px;
}
.candidate-home .ring {
    --p:0;
    width:112px;
    height:112px;
    margin:0 auto 13px;
    border-radius:50%;
    display:grid;
    place-items:center;
    position:relative;
    background:conic-gradient(var(--cd-green) calc(var(--p) * 1%),var(--cd-line) 0);
}
.candidate-home .ring .av {
    width:94px;
    height:94px;
    display:grid;
    place-items:center;
    border-radius:50%;
    border:4px solid #fff;
    background:linear-gradient(135deg,#1565d8,#1fa971);
    color:#fff;
    font-size:30px;
    font-weight:800;
}
.candidate-home .ring b {
    position:absolute;
    bottom:-8px;
    border-radius:12px;
    padding:1px 8px;
    background:#fff;
    color:#11875b;
    border:1px solid var(--cd-line);
    font-size:12px;
}
.candidate-home .profile .btn {
    margin-top:13px;
}
.candidate-home .perf {
    margin-top:18px;
    background:var(--cd-blue-soft);
    border-radius:12px;
    padding:14px;
    text-align:left;
}
.candidate-home .perf h3 {
    font-size:15px;
    margin-bottom:10px;
}
.candidate-home .stats {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
}
.candidate-home .stats b {
    display:block;
    font-size:25px;
    color:var(--cd-blue);
}
.candidate-home .stats span {
    color:var(--cd-muted);
    font-size:12px;
}
.candidate-home .boost {
    display:flex;
    justify-content:space-between;
    gap:8px;
    padding:10px;
    margin-top:12px;
    background:#fff;
    border-radius:9px;
    font-size:12px;
}
.candidate-home .todo {
    padding:0;
    margin:15px 0 0;
    list-style:none;
    text-align:left;
}
.candidate-home .todo li {
    display:flex;
    justify-content:space-between;
    gap:10px;
    border-top:1px solid var(--cd-line);
    padding:9px 0;
    font-size:12px;
}
.candidate-home .todo em {
    color:#13855a;
    font-weight:700;
    font-style:normal;
}
.candidate-home .hero {
    padding:26px;
    border:0;
    background:linear-gradient(115deg,#0e4daa,#0f8f7a);
    color:#0e4daa;
}
.candidate-home .hero h1 {
    font-size:27px;
    margin-bottom:7px;
}
.candidate-home .hero p {
    margin:0 0 16px;
    opacity:.92;
}
.candidate-home .sbar {
    display:flex;
    align-items:stretch;
    flex-wrap:wrap;
    gap:7px;
    background:#fff;
    padding:7px;
    border-radius:12px;
}
.candidate-home .sbar input,.candidate-home .sbar select {
    min-width:0;
    flex:1 1 130px;
    padding:10px;
    border:0;
    background:#fff;
    border-radius:8px;
    color:var(--cd-ink);
    font-size:13px;
}
.candidate-home .sbar .btn {
    background:var(--cd-green);
    color:#06281b;
    border-radius:9px;
}

.candidate-announcements {
    margin: 20px 0 16px;
    padding: 16px;
    border: 1px solid #dbe5f1;
    border-radius: 14px;
    background: #f7faff;
    color: #23344d;
    text-align: left;
}
.candidate-announcements-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.candidate-announcements-indicator {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #e58a2b;
}
.candidate-announcement-list { display: grid; gap: 10px; }
.candidate-announcement {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px 9px;
    line-height: 1.55;
    font-size: 0.91rem;
}
.candidate-announcement strong { color: #174b87; }
@media (max-width: 600px) {
    .candidate-announcements { padding: 13px; }
    .candidate-announcement { display: block; }
    .candidate-announcement strong { display: block; }
}
.candidate-home .chips {
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:14px;
}
.candidate-home .chip {
    display:inline-block;
    padding:6px 12px;
    border-radius:18px;
    border:1px solid var(--cd-line) !important;
    background:#fff !important;
    color:var(--cd-ink) !important;
    font-size:12px;
    text-decoration:none;
}
.candidate-home .hero .chip {
    background:rgba(255,255,255,.15);
    border-color:rgba(255,255,255,.4);
    color:#fff;
}
.candidate-home .chip[aria-pressed="true"] {
    background:var(--cd-green-soft);
    border-color:var(--cd-green);
}
.candidate-home .tabs {
    display:flex;
    gap:20px;
    margin:14px 0 6px;
    border-bottom:1px solid var(--cd-line);
}
.candidate-home .tab {
    border:0;
    border-bottom:3px solid transparent;
    background:transparent;
    padding:9px 0;
    color:var(--cd-muted);
    font-weight:700;
    cursor:pointer;
}
.candidate-home .tab[aria-selected="true"] {
    color:var(--cd-blue);
    border-color:var(--cd-blue);
}
.candidate-home .job {
    display:grid;
    grid-template-columns:48px minmax(0,1fr) auto;
    gap:12px;
    padding:17px 0;
    border-bottom:1px solid var(--cd-line);
}
.candidate-home .job:last-child {
    border-bottom:0;
}
.candidate-home .lg {
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    border-radius:11px;
    background:linear-gradient(135deg,#1565d8,#1fa971);
    color:#fff;
    font-size:18px;
    font-weight:800;
}
.candidate-home .job h3 {
    font-size:16px;
}
.candidate-home .job h3 a {
    color:var(--cd-ink);
    text-decoration:none;
}
.candidate-home .job h3 a:hover {
    color:var(--cd-blue);
}
.candidate-home .meta {
    display:flex;
    flex-wrap:wrap;
    gap:5px 12px;
    margin-top:5px;
    color:var(--cd-muted);
    font-size:12px;
}
.candidate-home .tags {
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-top:9px;
}
.candidate-home .tag {
    display:inline-block;
    padding:3px 9px;
    border-radius:12px;
    background:var(--cd-blue-soft);
    color:#0e4daa;
    font-size:11px;
}
.candidate-home .tag.g {
    background:var(--cd-green-soft);
    color:#0d7750;
}
.candidate-home .job-link {
    display:inline-block;
    margin-top:10px;
    color:var(--cd-blue);
    font-weight:700;
    font-size:12px;
}
.candidate-home .side {
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:12px;
    color:var(--cd-muted);
    font-size:12px;
}
.candidate-home .save {
    padding:6px 10px;
    border:1px solid var(--cd-line);
    background:#fff;
    border-radius:8px;
    color:var(--cd-ink);
    cursor:pointer;
}
.candidate-home .save[aria-pressed="true"] {
    background:var(--cd-green-soft);
    border-color:var(--cd-green);
}
.candidate-home .rail h3 {
    font-size:16px;
    margin-bottom:8px;
}
.candidate-home .rail .chip {
    display:block;
    width:100%;
    margin-top:8px;
    text-align:left;
}
.candidate-home .bar {
    height:8px;
    margin:9px 0 13px;
    background:var(--cd-line);
    border-radius:6px;
    overflow:hidden;
}
.candidate-home .bar i {
    display:block;
    height:100%;
    background:linear-gradient(90deg,var(--cd-blue),var(--cd-green));
}
.candidate-home .empty {
    padding:25px 10px;
    color:var(--cd-muted);
    text-align:center;
}
/* ============================================================
   SHARED RESPONSIVE NAVIGATION + DASHBOARD
   ============================================================ */
@media (max-width: 1050px) {
    .candidate-home {
        grid-template-columns:245px minmax(0,1fr);
    }
    .candidate-home .rail {
        grid-column:1/-1;
    }
}
@media (max-width: 820px) {
    /* Override old job-list rule hiding the active navigation item. */
    .jobs-header-nav > a.active {
        display:inline-flex;
    }
    .jobs-header-nav {
        display:none;
    }
    .jobs-mobile-menu-button {
        display:flex;
    }
    .jobs-mobile-navigation.open {
        display:flex;
        flex-direction:column;
        gap:3px;
        padding:8px 18px 15px;
        background:#fff;
        border-top:1px solid #e6edef;
    }
    .jobs-mobile-navigation a {
        display:block;
        padding:10px 12px;
        border-radius:8px;
        color:#334c61;
        font-size:13px;
        font-weight:650;
    }
    .jobs-mobile-navigation a:hover {
        background:#edf6f5;
    }
}
@media (max-width: 720px) {
    .candidate-home {
        grid-template-columns:minmax(0,1fr);
        gap:14px;
        padding:12px;
    }
    .candidate-home .hero {
        padding:20px;
    }
    .candidate-home .hero h1 {
        font-size:23px;
    }
    .candidate-home .sbar {
        flex-direction:column;
    }
    .candidate-home .sbar input,.candidate-home .sbar select {
        width:100%;
        flex:0 0 auto;
    }
    .candidate-home .sbar .btn {
        width:100%;
    }
    .candidate-home .job {
        grid-template-columns:40px minmax(0,1fr);
    }
    .candidate-home .lg {
        width:40px;
        height:40px;
    }
    .candidate-home .side {
        grid-column:2;
        flex-direction:row;
        align-items:center;
        justify-content:space-between;
    }
}
@media (prefers-reduced-motion: reduce) {
    .candidate-home *, .job-card {
        transition:none !important;
    }
}
/* ============================================================
   JOB DETAIL PAGE - /job/{public_slug}
   ============================================================ */
.job-detail-search {
    background:linear-gradient(115deg,#eef5ff,#effaf6);
    border-bottom:1px solid #dce7eb;
    padding:18px 22px;
}
.job-detail-search-inner,.job-detail-container {
    max-width:1180px;
    margin:0 auto;
}
.job-detail-search-form {
    display:flex;
    gap:9px;
    padding:7px;
    background:#fff;
    border:1px solid #d8e6e8;
    border-radius:12px;
    box-shadow:0 4px 14px rgba(10,37,64,.05);
}
.job-detail-search-field {
    flex:1;
    display:flex;
    align-items:center;
    gap:10px;
    padding:0 12px;
    min-width:0;
}
.job-detail-search-field + .job-detail-search-field {
    border-left:1px solid #d8e6e8;
}
.job-detail-search-field span {
    color:#71869a;
}
.job-detail-search-field input {
    width:100%;
    min-width:0;
    border:0;
    outline:0;
    padding:11px 0;
    color:#0a2540;
    font-size:13px;
}
.job-detail-search-form button,.job-apply-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:11px 22px;
    background:#1565d8;
    border:0;
    border-radius:9px;
    color:white;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
    cursor:pointer;
}
.job-detail-search-form button:hover,.job-apply-button:hover {
    background:#0e4daa;
    color:white;
}
.job-detail-main {
    background:#f3f8f8;
    min-height:60vh;
    padding:24px 20px 56px;
}
.job-detail-back {
    margin:0 0 18px;
}
.job-detail-back a {
    color:#1565d8;
    font-weight:650;
    font-size:13px;
}
.job-detail-header-card,.job-public-card,.job-public-side-card,.job-bottom-apply {
    background:#fff;
    border:1px solid #d8e6e8;
    border-radius:14px;
    box-shadow:0 2px 10px rgba(10,37,64,.035);
}
.job-detail-header-card {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
    padding:25px;
    margin-bottom:20px;
}
.job-detail-header-main {
    display:flex;
    align-items:flex-start;
    gap:18px;
    min-width:0;
}
.job-detail-company-logo,.job-company-summary-logo {
    display:grid;
    place-items:center;
    flex:0 0 auto;
    width:60px;
    height:60px;
    border-radius:12px;
    background:linear-gradient(135deg,#1565d8,#1fa971);
    color:#fff;
    font-weight:800;
    font-size:24px;
    overflow:hidden;
}
.job-detail-company-logo img,.job-company-summary-logo img {
    width:100%;
    height:100%;
    object-fit:contain;
}
.job-detail-heading {
    min-width:0;
}
.job-detail-heading h1 {
    font-size:26px;
    color:#0a2540;
    margin:0 0 6px;
    line-height:1.3;
}
.job-detail-company {
    font-size:14px;
    color:#49667b;
    font-weight:650;
}
.job-detail-meta {
    display:flex;
    flex-wrap:wrap;
    gap:8px 20px;
    margin-top:12px;
    font-size:12px;
    color:#5b7083;
}
.job-detail-header-action {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
    flex:0 0 auto;
}
.job-detail-posted {
    color:#7c8e9d;
    font-size:11px;
}
.job-already-applied {
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:10px 15px;
    border-radius:9px;
    background:#ddf4ea;
    color:#0d7750;
    font-weight:750;
    font-size:13px;
}
.job-applied-check {
    display:inline-flex;
    align-items:right;
    gap:7px;
    padding:10px 15px;
    border-radius:9px;
    background:#ddf4ea;
    color:#0d7750;
    font-weight:750;
    font-size:13px;
}
.job-detail-grid {
    display:grid;
    grid-template-columns:minmax(0,1fr) 300px;
    gap:20px;
    align-items:start;
}
.job-detail-content,.job-detail-sidebar {
    min-width:0;
}
.job-public-card {
    margin-bottom:18px;
    padding:23px;
}
.job-public-card-header {
    padding-bottom:13px;
    border-bottom:1px solid #e5edef;
    margin-bottom:17px;
}
.job-public-card-header h2,.job-public-side-card h2 {
    font-size:18px;
    line-height:1.3;
    color:#0a2540;
    margin:0;
}
.job-public-description {
    color:#40586a;
    font-size:14px;
    line-height:1.8;
    overflow-wrap:anywhere;
}
.job-public-description p {
    margin:0 0 13px;
}
.job-public-skill-group + .job-public-skill-group {
    margin-top:20px;
}
.job-public-skill-group h3 {
    margin:0 0 10px;
    color:#344d62;
    font-size:13px;
}
.job-public-skills {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}
.job-public-skills span {
    padding:6px 12px;
    border-radius:18px;
    background:#e3eefd;
    color:#0e4daa;
    font-size:12px;
    font-weight:600;
}
.job-public-profile {
    display:flex;
    gap:24px;
    flex-wrap:wrap;
}
.job-public-profile > div {
    display:flex;
    flex-direction:column;
    gap:4px;
}
.job-public-profile span {
    font-size:12px;
    color:#71869a;
}
.job-public-profile strong {
    color:#0a2540;
    font-size:14px;
}
.job-bottom-apply {
    padding:22px 24px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    background:linear-gradient(120deg,#edf4ff,#eaf8f2);
}
.job-bottom-apply h2 {
    font-size:18px;
    margin:0 0 5px;
    color:#0a2540;
}
.job-bottom-apply p {
    margin:0;
    font-size:13px;
    color:#5b7083;
}
.job-public-side-card {
    padding:20px;
    margin-bottom:18px;
}
.job-public-side-card h2 {
    padding-bottom:13px;
    margin-bottom:10px;
    border-bottom:1px solid #e5edef;
    font-size:16px;
}
.job-overview-item {
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
    padding:11px 0;
    border-bottom:1px solid #edf2f4;
    font-size:12px;
}
.job-overview-item:last-child {
    border:0;
}
.job-overview-item > span {
    color:#71869a;
}
.job-overview-item > strong {
    text-align:right;
    color:#17354c;
    font-weight:700;
    overflow-wrap:anywhere;
}
.job-deadline {
    display:flex;
    flex-direction:column;
    gap:5px;
}
.job-deadline span {
    color:#71869a;
    font-size:12px;
}
.job-deadline strong {
    color:#0a2540;
    font-size:15px;
}
.job-company-summary {
    display:flex;
    gap:12px;
    align-items:center;
}
.job-company-summary-logo {
    width:46px;
    height:46px;
    font-size:18px;
}
.job-company-summary strong {
    display:block;
    color:#0a2540;
    font-size:13px;
    overflow-wrap:anywhere;
}
.job-company-summary a {
    display:inline-block;
    margin-top:5px;
    color:#1565d8;
    font-size:12px;
}
.jobs-alert {
    padding:12px 16px;
    border-radius:9px;
    margin:0 0 16px;
    font-size:13px;
}
.jobs-alert-success {
    background:#ddf4ea;
    border:1px solid #b4e5cd;
    color:#0d7750;
}
.jobs-alert-error {
    background:#fff0ef;
    border:1px solid #f2c6c2;
    color:#a3342c;
}
@media(max-width:900px) {
    .job-detail-grid {
        grid-template-columns:minmax(0,1fr);
    }
    .job-detail-sidebar {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:16px;
    }
    .job-public-side-card {
        margin-bottom:0;
    }
}
@media(max-width:640px) {
    .job-detail-main {
        padding:16px 12px 35px;
    }
    .job-detail-search {
        padding:12px;
    }
    .job-detail-search-form {
        flex-direction:column;
    }
    .job-detail-search-field + .job-detail-search-field {
        border-left:0;
        border-top:1px solid #d8e6e8;
    }
    .job-detail-search-form button {
        width:100%;
    }
    .job-detail-header-card {
        padding:18px;
        flex-direction:column;
        align-items:stretch;
    }
    .job-detail-heading h1 {
        font-size:21px;
    }
    .job-detail-company-logo {
        width:46px;
        height:46px;
        font-size:18px;
    }
    .job-detail-header-action {
        flex-direction:row;
        justify-content:space-between;
    }
    .job-public-card {
        padding:18px;
    }
    .job-detail-sidebar {
        grid-template-columns:minmax(0,1fr);
    }
    .job-bottom-apply {
        padding:18px;
        flex-direction:column;
        align-items:stretch;
    }
    .job-bottom-apply .job-apply-button {
        width:100%;
    }
}
/* Sanitized rich-text job description */
.job-public-description {
    overflow-wrap:anywhere;
    line-height:1.75;
}
.job-public-description h1, .job-public-description h2, .job-public-description h3, .job-public-description h4 {
    line-height:1.35;
    margin:1.2em 0 .55em;
    color:#102a43;
}
.job-public-description p {
    margin:.65em 0;
}
.job-public-description ul, .job-public-description ol {
    margin:.7em 0;
    padding-left:1.6rem;
    list-style-position:outside;
}
.job-public-description ul {
    list-style-type:disc;
}
.job-public-description ol {
    list-style-type:decimal;
}
.job-public-description li {
    margin:.3em 0;
}
.job-public-description a {
    color:#1565d8;
    text-decoration:underline;
}
.job-public-description blockquote {
    margin:1em 0;
    padding:.6em 1em;
    border-left:3px solid #1fa971;
    background:#f4faf8;
}
.job-public-description table {
    width:100%;
    border-collapse:collapse;
    display:block;
    overflow-x:auto;
    margin:1em 0;
}
.job-public-description th, .job-public-description td {
    border:1px solid #d8e6e8;
    padding:8px 12px;
    text-align:left;
}
.job-public-description th {
    background:#edf6f5;
}
.job-public-description pre {
    overflow-x:auto;
    background:#f2f4f7;
    padding:12px;
    border-radius:8px;
}
/* ============================================================
   JOB APPLICATION PAGE - shared PPLFORCE Jobs theme
   ============================================================ */
.job-apply-page {
    background:var(--bg,#edf6f5);
    min-height:calc(100vh - 200px);
    padding:26px 20px 64px;
    color:var(--ink,#0a2540);
}
.job-apply-page * {
    box-sizing:border-box;
}
.job-apply-container {
    max-width:980px;
    margin:0 auto;
}
.job-apply-back {
    margin-bottom:16px;
}
.job-apply-back a {
    color:var(--blue,#1565d8);
    font-size:13px;
    font-weight:700;
}
.job-apply-back a:hover {
    text-decoration:underline;
}
.job-apply-job-summary {
    padding:24px 28px;
    background:linear-gradient(115deg,#0e4daa,#0f8f7a);
    border-radius:16px;
    color:#fff;
    margin-bottom:20px;
}
.job-apply-label {
    font-size:12px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    opacity:.85;
}
.job-apply-job-summary h1 {
    font-size:clamp(22px,3vw,30px);
    line-height:1.2;
    margin:8px 0;
    color:#fff;
}
.job-apply-company,.job-apply-location {
    font-size:14px;
    margin-top:5px;
    opacity:.95;
}
.job-application-form {
    display:flex;
    flex-direction:column;
    gap:18px;
}
.job-apply-section {
    background:var(--surface,#fff);
    border:1px solid var(--line,#d8e6e8);
    border-radius:15px;
    padding:25px 28px;
}
.job-apply-section-header {
    margin-bottom:22px;
}
.job-apply-section-header h2 {
    margin:0 0 5px;
    font-size:20px;
    color:var(--ink,#0a2540);
}
.job-apply-section-header p {
    margin:0;
    color:var(--muted,#5b7083);
    font-size:13px;
}
.job-form-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
}
.job-form-full {
    grid-column:1/-1;
}
.job-form-group {
    min-width:0;
    margin-bottom:18px;
}
.job-form-grid .job-form-group {
    margin-bottom:0;
}
.job-form-group label {
    display:block;
    margin-bottom:7px;
    font-size:13px;
    font-weight:700;
    color:var(--ink,#0a2540);
}
.job-form-group label span {
    color:#dc3545;
}
.job-form-group input:not([type=checkbox]),.job-form-group textarea,.job-form-group select {
    display:block;
    width:100%;
    min-width:0;
    padding:12px 13px;
    border:1px solid var(--line,#d8e6e8);
    border-radius:9px;
    background:var(--surface,#fff);
    color:var(--ink,#0a2540);
    font-size:14px;
    outline:none;
}
.job-form-group input:not([type=checkbox]):focus,.job-form-group textarea:focus,.job-form-group select:focus {
    border-color:var(--blue,#1565d8);
    box-shadow:0 0 0 3px rgba(21,101,216,.12);
}
.job-form-group input[readonly] {
    background:var(--blue-soft,#e3eefd);
    cursor:not-allowed;
}
.job-form-group input[type=file] {
    cursor:pointer;
}
.job-form-group textarea {
    resize:vertical;
    min-height:120px;
}
.job-form-group small {
    display:block;
    margin-top:6px;
    font-size:12px;
    color:var(--muted,#5b7083);
}
.job-password-wrapper {
    position:relative;
}
.job-password-wrapper input {
    padding-right:52px !important;
}
.job-password-toggle {
    position:absolute;
    right:5px;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:38px;
    border:0;
    border-radius:8px;
    background:transparent;
    color:var(--muted,#5b7083);
    cursor:pointer;
}
.job-password-toggle:hover {
    background:var(--blue-soft,#e3eefd);
}
.job-consent-section .job-apply-section-header {
    margin-bottom:14px;
}
.job-checkbox-row {
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin:12px 0;
    font-size:13px;
    line-height:1.65;
    color:var(--ink,#0a2540);
    cursor:pointer;
}
.job-checkbox-row input {
    flex:0 0 17px;
    width:17px;
    height:17px;
    margin:2px 0 0;
    accent-color:var(--green,#1fa971);
}
.job-apply-submit {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
    padding:4px 0 16px;
}
.job-primary-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 26px;
    border:0;
    border-radius:10px;
    background:var(--blue,#1565d8);
    color:#fff;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    text-decoration:none;
}
.job-primary-button:hover {
    background:#0e4daa;
    color:#fff;
    text-decoration:none;
}
.job-submit-note {
    color:var(--muted,#5b7083);
    font-size:12px;
    margin:0;
}
.job-alert,.job-application-complete {
    padding:18px 22px;
    border-radius:12px;
    margin:0 0 18px;
}
.job-alert-error {
    background:#fff0f0;
    color:#9b2424;
    border:1px solid #f1b8b8;
}
.job-alert-success {
    background:#e3f6ec;
    color:#136c43;
    border:1px solid #a7dfc3;
}
.job-alert ul {
    margin:8px 0 0;
    padding-left:20px;
}
.job-application-complete {
    padding:38px 28px;
    background:var(--surface,#fff);
    border:1px solid var(--line,#d8e6e8);
    text-align:center;
}
.job-application-complete-icon {
    display:grid;
    place-items:center;
    width:64px;
    height:64px;
    margin:0 auto 16px;
    border-radius:50%;
    background:var(--green-soft,#ddf4ea);
    color:#118355;
    font-size:32px;
    font-weight:800;
}
.job-application-complete h2 {
    font-size:23px;
    margin:0 0 8px;
}
.job-application-complete p {
    color:var(--muted,#5b7083);
}
.job-application-complete .job-primary-button {
    margin-top:12px;
}
@media(max-width:680px) {
    .job-apply-page {
        padding:16px 12px 40px;
    }
    .job-apply-job-summary {
        padding:20px;
    }
    .job-apply-section {
        padding:20px 16px;
    }
    .job-form-grid {
        grid-template-columns:minmax(0,1fr);
        gap:18px;
    }
    .job-form-full {
        grid-column:auto;
    }
    .job-apply-submit .job-primary-button {
        width:100%;
    }
}
/* Candidate profile page: scoped to avoid affecting job listing, detail, and apply */
body:has(.candidate-profile-page) {
    background:#edf6f5
}
.candidate-profile-page {
    --cp-ink:#0a2540;
    --cp-muted:#5b7083;
    --cp-line:#d8e6e8;
    --cp-blue:#1565d8;
    --cp-green:#1fa971;
    color:var(--cp-ink);
    font-size:14px;
    line-height:1.55;
    min-height:70vh
}
.candidate-profile-page * {
    box-sizing:border-box
}
.candidate-profile-wrap {
    max-width:1240px;
    margin:0 auto;
    padding:26px 22px 60px
}
.candidate-profile-breadcrumb {
    display:flex;
    gap:9px;
    align-items:center;
    color:var(--cp-muted);
    font-size:12px;
    margin-bottom:17px
}
.candidate-profile-breadcrumb a {
    color:var(--cp-blue)
}
.candidate-profile-intro {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:23px
}
.candidate-profile-eyebrow {
    font-size:11px;
    letter-spacing:.12em;
    color:#168d70;
    font-weight:800;
    margin-bottom:6px
}
.candidate-profile-intro h1 {
    font-size:29px;
    letter-spacing:-.035em;
    margin:0 0 5px
}
.candidate-profile-intro p {
    color:var(--cp-muted);
    margin:0
}
.candidate-profile-layout {
    display:grid;
    grid-template-columns:280px minmax(0,1fr);
    gap:22px;
    align-items:start
}
.candidate-profile-side,.candidate-profile-content {
    min-width:0
}
.candidate-profile-card {
    background:#fff;
    border:1px solid var(--cp-line);
    border-radius:16px;
    padding:23px;
    margin-bottom:20px;
    box-shadow:0 2px 12px rgba(10,37,64,.025)
}
.candidate-profile-summary {
    text-align:center
}
.candidate-profile-avatar {
    width:86px;
    height:86px;
    border-radius:50%;
    background:linear-gradient(135deg,#1565d8,#1fa971);
    color:white;
    display:grid;
    place-items:center;
    font-size:34px;
    font-weight:800;
    margin:0 auto 14px
}
.candidate-profile-summary h2 {
    font-size:19px;
    margin:0 0 4px
}
.candidate-profile-summary>p {
    font-size:12px;
    color:var(--cp-muted);
    overflow-wrap:anywhere;
    margin:0
}
.candidate-profile-status {
    display:inline-flex;
    align-items:center;
    gap:7px;
    border-radius:99px;
    background:#ddf4ea;
    color:#117451;
    font-size:11px;
    font-weight:700;
    padding:6px 12px;
    margin:16px 0
}
.candidate-profile-status-dot {
    width:7px;
    height:7px;
    border-radius:50%;
    background:#1fa971
}
.candidate-profile-side-links {
    border-top:1px solid var(--cp-line);
    padding-top:12px;
    text-align:left;
    display:flex;
    flex-direction:column;
    gap:3px
}
.candidate-profile-side-links a {
    padding:10px 12px;
    border-radius:8px;
    font-weight:650;
    color:#425b70
}
.candidate-profile-side-links a:hover,.candidate-profile-side-links a.is-active {
    background:#e3eefd;
    color:var(--cp-blue)
}
.candidate-profile-tip strong {
    font-size:13px
}
.candidate-profile-tip p {
    font-size:12px;
    color:var(--cp-muted);
    margin:7px 0 0
}
.candidate-profile-section-head {
    padding-bottom:18px;
    border-bottom:1px solid var(--cp-line);
    margin-bottom:20px
}
.candidate-profile-section-head h2 {
    font-size:19px;
    margin:0 0 4px
}
.candidate-profile-section-head p {
    color:var(--cp-muted);
    font-size:12px;
    margin:0
}
.candidate-profile-fields {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:19px
}
.candidate-profile-field {
    display:flex;
    flex-direction:column;
    gap:7px;
    min-width:0
}
.candidate-profile-field label {
    font-size:12px;
    font-weight:700;
    color:#344b60
}
.candidate-profile-field label span {
    color:#d92d20
}
.candidate-profile-field input, .candidate-profile-field select {
    width:100%;
    min-height:44px;
    border:1px solid #cddbe1;
    border-radius:9px;
    background:#fff;
    color:var(--cp-ink);
    padding:10px 12px;
    font-size:13px;
    outline:none;
    transition:border-color .15s,box-shadow .15s
}
.candidate-profile-field input:focus, .candidate-profile-field select:focus {
    border-color:var(--cp-blue);
    box-shadow:0 0 0 3px rgba(21,101,216,.11)
}
.candidate-profile-field input[readonly] {
    background:#f3f7f8;
    color:#647789;
    cursor:not-allowed
}
.candidate-profile-field small,.candidate-profile-resume-status small {
    color:var(--cp-muted);
    font-size:11px
}
.candidate-profile-resume-status {
    background:#f7fafb;
    border:1px dashed #cbdde1;
    border-radius:10px;
    padding:15px;
    margin-top:18px
}
.candidate-profile-resume-status strong {
    font-size:13px
}
.candidate-profile-resume-status p {
    margin:5px 0;
    color:#425b70;
    font-size:12px
}
.candidate-profile-actions {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:11px;
    margin:6px 0 0
}
.candidate-profile-outline,.candidate-profile-save {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 19px;
    border-radius:9px;
    font-weight:750;
    font-size:12px;
    text-decoration:none;
    cursor:pointer
}
.candidate-profile-outline {
    border:1px solid #bfd1da;
    background:#fff;
    color:var(--cp-ink)
}
.candidate-profile-outline:hover {
    background:#f5f9fb
}
.candidate-profile-save {
    border:1px solid var(--cp-blue);
    background:var(--cp-blue);
    color:#fff
}
.candidate-profile-save:hover {
    background:#0e4daa
}
.candidate-profile-alert {
    padding:13px 16px;
    border-radius:10px;
    margin-bottom:17px;
    font-size:13px
}
.candidate-profile-alert-success {
    background:#e4f7ee;
    border:1px solid #a5dfc5;
    color:#126b4c
}
.candidate-profile-alert-error {
    background:#fff0ee;
    border:1px solid #f4b6af;
    color:#a5281e
}
.candidate-profile-alert ul {
    margin:0;
    padding-left:20px
}
.resume-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 12px;
}
.resume-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.resume-current-badge {
    background: #dcfce7;
    color: #166534;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
}
.resume-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.resume-actions form {
    margin: 0;
}
.resume-processing-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.resume-processing-overlay[hidden] {
    display: none !important;
}
.resume-processing-box {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.resume-spinner {
    width: 58px;
    height: 58px;
    margin: 0 auto 22px;
    border: 5px solid #e5e7eb;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: resumeSpin 0.9s linear infinite;
}
@keyframes resumeSpin {
    to {
        transform: rotate(360deg);
    }
}
.resume-processing-box h3 {
    font-size: 21px;
    margin-bottom: 12px;
    color: #111827;
}
.resume-processing-box p {
    font-size: 15px;
    color: #374151;
    margin-bottom: 12px;
}
.resume-processing-box small {
    color: #6b7280;
    line-height: 1.6;
}
.resume-processing-timer {
    margin-top: 20px;
    font-size: 13px;
    color: #6b7280;
}
@media (max-width: 640px) {
    .resume-item {
        flex-direction: column;
        align-items: stretch;
    }
    .resume-actions {
        flex-wrap: wrap;
    }
}
@media(max-width:850px) {
    .candidate-profile-layout {
        grid-template-columns:230px minmax(0,1fr);
        gap:15px
    }
    .candidate-profile-wrap {
        padding:20px 15px 45px
    }
    .candidate-profile-card {
        padding:18px
    }
}
@media(max-width:680px) {
    .candidate-profile-layout {
        grid-template-columns:1fr
    }
    .candidate-profile-side-links {
        flex-direction:row;
        flex-wrap:wrap;
        justify-content:center
    }
    .candidate-profile-summary {
        padding:20px
    }
    .candidate-profile-tip {
        display:none
    }
    .candidate-profile-fields {
        grid-template-columns:1fr
    }
    .candidate-profile-intro {
        align-items:flex-start;
        flex-direction:column
    }
    .candidate-profile-intro h1 {
        font-size:25px
    }
    .candidate-profile-actions {
        justify-content:stretch
    }
    .candidate-profile-actions>* {
        flex:1
    }
}
/* Resume Review page — append to public/assets/css/jobs.css */
.resume-review-page {
    background:#f5f7fb;
    min-height:100vh;
    padding:32px 18px 64px;
    color:#1b2840
}
.resume-review-shell {
    max-width:1040px;
    margin:0 auto
}
.resume-review-heading {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:22px
}
.resume-review-heading h1 {
    font-size:clamp(1.55rem,2.5vw,2.2rem);
    font-weight:750;
    letter-spacing:-.03em;
    margin:10px 0 8px;
    color:#17233c
}
.resume-review-heading p,.resume-review-section-heading p {
    color:#68768d;
    margin:0;
    line-height:1.55
}
.resume-review-back {
    color:#305ab8;
    text-decoration:none;
    font-size:.9rem;
    font-weight:650
}
.resume-review-back:hover {
    text-decoration:underline
}
.resume-review-status {
    background:#fff3d8;
    color:#986512;
    border:1px solid #f4dfb1;
    border-radius:999px;
    padding:7px 12px;
    white-space:nowrap;
    font-size:.78rem;
    font-weight:700
}
.resume-review-source {
    display:flex;
    gap:14px;
    align-items:center;
    padding:17px 20px;
    border:1px solid #e3e9f2;
    border-radius:14px;
    background:#fff;
    margin-bottom:22px;
    box-shadow:0 3px 12px rgba(22,39,70,.03)
}
.resume-review-source-icon {
    width:42px;
    height:42px;
    border-radius:11px;
    background:#edf3ff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:21px
}
.resume-review-source strong,.resume-review-source span {
    display:block;
    overflow-wrap:anywhere
}
.resume-review-source strong {
    font-size:.95rem;
    color:#21304a
}
.resume-review-source div>span {
    font-size:.78rem;
    color:#728096;
    margin-top:4px
}
.resume-review-card {
    background:#fff;
    border:1px solid #e1e7f0;
    border-radius:17px;
    padding:26px 28px;
    margin-bottom:22px;
    box-shadow:0 5px 18px rgba(21,43,79,.035)
}
.resume-review-section-heading {
    display:flex;
    align-items:flex-start;
    gap:13px;
    margin-bottom:24px
}
.resume-review-section-heading h2 {
    font-size:1.16rem;
    font-weight:750;
    margin:0 0 5px;
    color:#1c2b44
}
.resume-review-section-number {
    background:#eaf1ff;
    color:#315db7;
    font-size:.79rem;
    font-weight:750;
    padding:8px;
    border-radius:9px;
    line-height:1.2
}
.resume-review-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px
}
.resume-review-grid-wide {
    grid-column:1/-1
}
.resume-review-field {
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:8px
}
.resume-review-field label {
    font-size:.86rem;
    font-weight:650;
    color:#35455f
}
.resume-review-field input,.resume-review-field textarea,.resume-review-field select {
    width:100%;
    box-sizing:border-box;
    border:1px solid #d6deea;
    border-radius:9px;
    background:#fff;
    padding:11px 13px;
    color:#1c2b44;
    font:inherit;
    font-size:.91rem;
    outline:none;
    transition:border-color .15s,box-shadow .15s
}
.resume-review-field textarea {
    resize:vertical;
    min-height:90px;
    line-height:1.55
}
.resume-review-field input:focus,.resume-review-field textarea:focus,.resume-review-field select:focus {
    border-color:#4d78d0;
    box-shadow:0 0 0 3px rgba(70,112,205,.12)
}
.resume-review-field small {
    color:#7a879a;
    font-size:.76rem
}
.resume-review-employment-heading {
    align-items:center
}
.resume-review-employment-heading>div {
    flex:1
}
.resume-review-employment-list {
    display:flex;
    flex-direction:column;
    gap:16px
}
.resume-review-job {
    border:1px solid #e3e8f0;
    background:#fbfcff;
    border-radius:12px;
    padding:21px
}
.resume-review-job-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:19px;
    gap:12px
}
.resume-review-job-heading h3 {
    font-size:.99rem;
    font-weight:750;
    color:#273951;
    margin:0
}
.resume-review-remove {
    border:0;
    background:transparent;
    color:#c44949;
    cursor:pointer;
    font:inherit;
    font-size:.84rem;
    font-weight:650;
    padding:7px
}
.resume-review-remove:hover {
    text-decoration:underline
}
.resume-review-button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:41px;
    border-radius:9px;
    padding:10px 17px;
    font-size:.88rem;
    font-weight:700;
    text-decoration:none;
    cursor:pointer;
    border:1px solid transparent;
    transition:background .15s,border-color .15s
}
.resume-review-button-outline {
    background:#fff;
    color:#315db7;
    border-color:#b8cbea
}
.resume-review-button-outline:hover {
    background:#eff5ff
}
.resume-review-button-primary {
    background:#305fca;
    color:#fff;
    border-color:#305fca
}
.resume-review-button-primary:hover {
    background:#214fae;
    color:#fff
}
.resume-review-button-quiet {
    background:#fff;
    color:#4d5b70;
    border-color:#d9e1ed
}
.resume-review-button-quiet:hover {
    background:#f3f6fa;
    color:#273951
}
.resume-review-empty {
    padding:35px 18px;
    border:1px dashed #cad6e8;
    border-radius:12px;
    text-align:center;
    color:#758399;
    background:#fafcff
}
.resume-review-empty[hidden] {
    display:none
}
.resume-review-actions {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:5px 0 10px
}
.resume-review-actions p {
    font-size:.79rem;
    color:#738095;
    max-width:490px;
    line-height:1.6;
    margin:0
}
.resume-review-action-buttons {
    display:flex;
    align-items:center;
    gap:10px;
    flex-shrink:0
}
.resume-review-alert {
    border-radius:10px;
    padding:14px 18px;
    margin:0 0 20px;
    font-size:.9rem
}
.resume-review-alert-error {
    background:#fff0f0;
    border:1px solid #f4c5c5;
    color:#9b3333
}
.resume-review-alert ul {
    margin:8px 0 0;
    padding-left:20px
}
@media(max-width:720px) {
    .resume-review-page {
        padding:20px 12px 45px
    }
    .resume-review-heading {
        flex-direction:column;
        gap:12px
    }
    .resume-review-card {
        padding:19px 16px
    }
    .resume-review-grid {
        grid-template-columns:1fr;
        gap:16px
    }
    .resume-review-grid-wide {
        grid-column:auto
    }
    .resume-review-employment-heading {
        flex-wrap:wrap
    }
    .resume-review-employment-heading>div {
        flex:1 1 75%
    }
    .resume-review-employment-heading .resume-review-button {
        margin-left:0
    }
    .resume-review-job {
        padding:16px
    }
    .resume-review-actions {
        flex-direction:column;
        align-items:stretch
    }
    .resume-review-action-buttons {
        justify-content:flex-end;
        flex-wrap:wrap
    }
}

/* APPLICATIONS TABLE CONTAINER */
.applications-table-wrapper {
    width: 100%;
    overflow-x: auto;
    background: var(--jobs-white);
    border: 1px solid var(--jobs-border);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}
.candidate-home {
    display:grid;
    grid-template-columns:minmax(190px,245px) minmax(0,1fr) minmax(190px,245px);
    gap:20px;
    align-items:start;
    max-width:1480px;
    margin:26px auto;
    padding:0 24px;
    min-width:0
}
.candidate-home>.candidate-main {
    min-width:0;
    width:100%
}
.candidate-home .card {
    background:var(--app-surface);
    border:1px solid var(--app-line);
    border-radius:16px;
    box-shadow:0 6px 24px rgba(20,39,70,.04)
}
.applications-panel {
    padding:24px;
    min-width:0
}
.applications-panel .head {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    flex-wrap:wrap;
    margin-bottom:18px
}
.applications-panel h1 {
    margin:0 0 8px;
    font-family:'Bricolage Grotesque',Manrope,sans-serif;
    font-size:clamp(23px,2.4vw,31px);
    line-height:1.2;
    color:#0f172a
}
.applications-subtitle {
    margin:0;
    color:var(--app-muted);
    font-size:14px;
    line-height:1.65
}
.applications-panel .btn,.applications-panel a.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:10px 17px;
    border:0;
    border-radius:9px;
    background:var(--app-blue);
    color:#fff;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
    white-space:nowrap;
    transition:background-color .15s ease,transform .15s ease
}
.applications-panel .btn:hover,.applications-panel a.btn:hover {
    background:var(--app-blue-hover);
    color:#fff
}
.applications-panel .btn:focus-visible, .application-action:focus-visible {
    outline:3px solid #93c5fd;
    outline-offset:2px
}
.applications-panel .tabs {
    display:flex;
    gap:14px;
    align-items:center;
    border-bottom:1px solid var(--app-line);
    margin-bottom:18px
}
.applications-panel .tab {
    display:inline-block;
    padding:10px 3px 12px;
    font-size:13px;
    font-weight:700;
    color:var(--app-blue);
    border-bottom:3px solid var(--app-blue)
}
.applications-panel .empty {
    text-align:center;
    padding:52px 20px;
    color:var(--app-ink);
    font-size:15px;
    font-weight:600
}
.applications-panel .empty p {
    margin:10px 0 20px;
    color:var(--app-muted);
    font-size:14px;
    font-weight:400
}
.applications-table-wrapper {
    width:100%;
    max-width:100%;
    overflow-x:auto;
    border:1px solid var(--app-line);
    border-radius:12px;
    background:#fff;
    -webkit-overflow-scrolling:touch
}
.applications-table {
    width:100%;
    min-width:690px;
    border-collapse:collapse;
    border-spacing:0;
    font-size:13px;
    color:#334155
}
.applications-table thead {
    background:#f8fafc
}
.applications-table th {
    text-align:left;
    padding:15px 14px;
    font-size:12px;
    font-weight:800;
    letter-spacing:.01em;
    color:#475569;
    white-space:nowrap;
    border-bottom:1px solid var(--app-line)
}
.applications-table td {
    padding:15px 14px;
    vertical-align:middle;
    border-bottom:1px solid var(--app-line);
    line-height:1.5
}
.applications-table tbody tr:last-child td {
    border-bottom:0
}
.applications-table tbody tr:hover {
    background:#f8fbff
}
.applications-table td:first-child {
    white-space:nowrap;
    color:#1e40af
}
.app-status {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:5px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:800;
    line-height:1.45;
    white-space:nowrap
}
.app-status-pending {
    background:#fef3c7;
    color:#92400e
}
.app-status-completed {
    background:#dcfce7;
    color:#166534
}
.app-status-rejected {
    background:#fee2e2;
    color:#991b1b
}
.app-status-progress {
    background:#dbeafe;
    color:#1d4ed8
}
.app-status-draft {
    background:#f1f5f9;
    color:#475569
}
.application-action {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:35px;
    padding:8px 12px;
    border-radius:8px;
    background:var(--app-blue);
    color:#fff;
    font-size:12px;
    font-weight:700;
    text-decoration:none;
    white-space:nowrap;
    transition:background-color .15s ease
}
.application-action:hover {
    background:var(--app-blue-hover);
    color:#fff
}
.applications-muted {
    color:#94a3b8
}
@media(max-width:1200px) {
    .candidate-home {
        grid-template-columns:minmax(170px,220px) minmax(0,1fr);
        gap:16px;
        padding:0 18px
    }
    .candidate-home>:last-child:not(.candidate-main) {
        grid-column:1/-1
    }
}
@media(max-width:760px) {
    .candidate-home {
        display:block;
        margin:14px auto;
        padding:0 12px
    }
    .candidate-home>.candidate-main {
        margin:14px 0
    }
    .applications-panel {
        padding:17px
    }
    .applications-panel .head {
        gap:12px
    }
    .applications-panel h1 {
        font-size:24px
    }
    .applications-table {
        min-width:650px
    }
    .applications-table th,.applications-table td {
        padding:12px 10px
    }
    .applications-panel .head>.btn {
        width:auto
    }
}
@media(max-width:420px) {
    .applications-panel {
        padding:14px
    }
    .applications-panel .head>.btn {
        width:100%
    }
    .applications-panel .empty {
        padding:38px 10px
    }
}
@media(prefers-reduced-motion:reduce) {
    .applications-panel .btn,.application-action {
        transition:none
    }
}


/* BGV PAGE */
.bgv-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}
.bgv-page-header {
    margin-bottom: 20px;
}
.bgv-page-header h2 {
    font-size: 24px;
    font-weight: 700;
}
.bgv-page-header p {
    color: #64748b;
    font-size: 14px;
}
.bgv-form-frame {
    display: block;
    width: 100%;
    min-height: 85vh;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}
.bgv-page-footer {
    margin-top: 20px;
}
/* ==========================================
   COMPLETE BGV FORM BUTTON
   ========================================== */
.job-detail-header-action a.btn-warning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    min-height: 46px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    border: 1px solid #d97706;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.20);
    transition:     background 0.2s ease,     transform 0.2s ease,     box-shadow 0.2s ease;
}
.job-detail-header-action a.btn-warning:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #ffffff;
    border-color: #b45309;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.30);
}
.job-detail-header-action a.btn-warning:focus-visible {
    outline: 3px solid rgba(245, 158, 11, 0.45);
    outline-offset: 3px;
}
.job-detail-header-action a.btn-warning:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.20);
}
/* Mobile */
@media (max-width: 768px) {
    .job-detail-header-action {
        width: 100%;
    }
    .job-detail-header-action a.btn-warning {
        width: 100%;
        min-height: 48px;
        padding: 13px 18px;
        white-space: normal;
        text-align: center;
    }
}
.bgv-shell {
    max-width:1040px;
    margin:0 auto;
    padding:32px 20px 70px
}
.bgv-hero {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:24px
}
.bgv-hero h1 {
    font-size:clamp(24px,3vw,34px);
    letter-spacing:-.035em;
    margin:6px 0 8px
}
.bgv-hero p {
    color:#68748a;
    line-height:1.6;
    margin:0
}
.bgv-eyebrow {
    font-size:12px!important;
    font-weight:700;
    color:#2563eb!important;
    text-transform:uppercase;
    letter-spacing:.06em
}
.bgv-back {
    flex-shrink:0;
    color:#2563eb;
    text-decoration:none;
    font-size:13px;
    font-weight:650;
    padding:10px 0
}
.bgv-card {
    background:#fff;
    border:1px solid #e4e9f2;
    border-radius:16px;
    padding:26px;
    margin:18px 0;
    box-shadow:0 3px 14px rgba(22,34,55,.035)
}
.bgv-section-head {
    display:flex;
    align-items:center;
    gap:13px;
    padding-bottom:20px;
    margin-bottom:20px;
    border-bottom:1px solid #eef1f5
}
.bgv-section-icon {
    height:38px;
    width:38px;
    display:grid;
    place-items:center;
    background:#eaf1ff;
    border-radius:11px;
    color:#2563eb;
    font-weight:800;
    font-size:13px;
    flex-shrink:0
}
.bgv-section-head h2 {
    font-size:18px;
    letter-spacing:-.02em;
    margin:0 0 4px
}
.bgv-section-head p {
    font-size:13px;
    color:#778298;
    margin:0
}
.bgv-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px 22px
}
.bgv-wide {
    grid-column:1/-1
}
.bgv-field label {
    display:block;
    font-size:13px;
    font-weight:650;
    margin-bottom:8px;
    color:#344054
}
.bgv-required {
    color:#d92d20
}
.bgv-field input,.bgv-field select {
    display:block;
    width:100%;
    min-width:0;
    height:44px;
    border:1px solid #d7deea;
    border-radius:9px;
    background:#fff;
    padding:10px 12px;
    font:inherit;
    font-size:14px;
    color:#202d42;
    outline:none
}
.bgv-field input[type=file] {
    height:auto;
    min-height:44px;
    padding:9px
}
.bgv-field input:focus,.bgv-field select:focus {
    border-color:#3b82f6;
    box-shadow:0 0 0 3px #dbeafe
}
.bgv-field input[readonly] {
    background:#f7f9fc
}
.bgv-note {
    font-size:12px;
    line-height:1.6;
    color:#7b8699;
    margin:18px 0 0
}
/* Larger address fields */
.bgv-textarea {
    min-height: 150px;
    width: 100%;
    resize: vertical;
    line-height: 1.6;
    padding: 12px;
    box-sizing: border-box;
}
.bgv-checkline {
    display:flex;
    align-items:flex-start;
    gap:11px;
    font-size:13px;
    line-height:1.6;
    color:#465367;
    margin:12px 0;
    cursor:pointer
}
.bgv-checkline input {
    width:17px;
    height:17px;
    flex-shrink:0;
    margin:2px 0 0;
    accent-color:#2563eb
}
.bgv-actions {
    display:flex;
    justify-content:flex-end;
    gap:12px;
    margin-top:24px
}
.bgv-btn {
    border:0;
    border-radius:10px;
    min-height:46px;
    padding:12px 23px;
    font-size:14px;
    font-weight:750;
    cursor:pointer;
    transition:transform .15s,box-shadow .15s
}
.bgv-btn:hover {
    transform:translateY(-1px)
}
.bgv-draft {
    color:#344054;
    background:#fff;
    border:1px solid #cdd6e2
}
.bgv-submit {
    color:#fff;
    background:#2563eb;
    box-shadow:0 5px 16px rgba(37,99,235,.18)
}
.bgv-submit:hover {
    background:#1d4ed8
}
.bgv-alert {
    padding:14px 18px;
    border-radius:10px;
    margin:16px 0;
    font-size:14px
}
.bgv-success {
    background:#eaf8f0;
    color:#166534;
    border:1px solid #bbebce
}
.bgv-error {
    background:#fff1f0;
    color:#a52a24;
    border:1px solid #ffd0cb
}
.bgv-alert ul {
    margin-bottom:0
}
.bgv-existing-file, .bgv-existing-file a img, .bgv-file-thumbnail {
    max-width: 120px !important;
}
@media (max-width: 700px) {
    .bgv-shell {
        padding:18px 12px 40px
    }
    .bgv-hero {
        display:block
    }
    .bgv-back {
        display:inline-block;
        margin-top:12px
    }
    .bgv-card {
        padding:18px;
        border-radius:12px
    }
    .bgv-grid {
        grid-template-columns:1fr
    }
    .bgv-wide {
        grid-column:auto
    }
    .bgv-actions {
        flex-direction:column-reverse
    }
    .bgv-btn {
        width:100%
    }
}
.leaflet-container {
    display: block;
    width: 100% !important;
    height: 350px !important;
    min-height: 350px !important;
    position: relative;
    overflow: hidden;
    border: 1px solid #ced4da;
    border-radius: 8px;
    background: #e8edf2;
    z-index: 0;
}
.bgv-wrap {
    max-width:1120px;
    margin:30px auto;
    padding:0 18px 45px
}
.bgv-intro {
    margin-bottom:24px
}
.bgv-card {
    background:#fff;
    border:1px solid #e3e8ee;
    border-radius:12px;
    padding:24px;
    margin:18px 0;
    box-shadow:0 2px 9px rgba(0,0,0,.035)
}
.bgv-card h2 {
    font-size:1.25rem;
    margin:0 0 16px
}
.bgv-subtitle {
    font-size:1.03rem;
    margin:22px 0 12px;
    border-bottom:1px solid #e5e7eb;
    padding-bottom:8px
}
.bgv-fields {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px 20px
}
.bgv-field {
    display:flex;
    flex-direction:column;
    gap:6px;
    min-width:0
}
.bgv-field label {
    font-weight:600;
    font-size:.92rem
}
.bgv-field input:not([type=checkbox]),.bgv-field select,.bgv-field textarea {
    width:100%;
    border:1px solid #cbd5e1;
    border-radius:8px;
    padding:10px 12px;
    font:inherit;
    background:#fff
}
.bgv-field textarea {
    min-height:90px;
    resize:vertical
}
.bgv-field input:focus,.bgv-field select:focus,.bgv-field textarea:focus {
    outline:2px solid #bcd9ff;
    outline-offset:1px
}
.bgv-field small {
    color:#64748b
}
.bgv-field .bgv-error {
    color:#b91c1c
}
.bgv-check {
    display:flex;
    align-items:flex-start;
    gap:10px
}
.bgv-check input {
    margin-top:4px
}
.bgv-actions {
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin:24px 0
}
.bgv-actions button {
    border:0;
    border-radius:8px;
    padding:12px 22px;
    cursor:pointer;
    font-weight:600
}
.bgv-save {
    background:#e2e8f0;
    color:#0f172a
}
.bgv-submit {
    background:#155eef;
    color:white
}
.bgv-notice {
    padding:14px 16px;
    border-radius:8px;
    background:#fff7e6;
    border:1px solid #f0d9a2;
    margin:16px 0
}
.bgv-success {
    background:#eaf8ed;
    border-color:#c6e8cd
}
.bgv-required {
    color:#b91c1c
}
@media(max-width:720px) {
    .bgv-fields {
        grid-template-columns:1fr
    }
    .bgv-card {
        padding:16px
    }
}
.bgv-camera-stage {
    position: relative !important;
    display: block;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    background: #111;
    border-radius: 10px;
    margin: 12px 0;
    isolation: isolate;
}
.bgv-camera-stage[style*="display:none"], .bgv-camera-stage[style*="display: none"] {
    display: none !important;
}
.bgv-camera-stage video {
    display: block !important;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}
.bgv-crop-box {
    position: absolute !important;
    z-index: 10 !important;
    left: 10%;
    top: 20%;
    width: 80%;
    height: 60%;
    border: 4px solid #00ff66 !important;
    outline: 1px solid white;
    border-radius: 6px;
    box-sizing: border-box;
    box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.35);
    cursor: move;
    touch-action: none;
}
.bgv-resize-handle {
    position: absolute;
    z-index: 11;
    right: -8px;
    bottom: -8px;
    width: 22px;
    height: 22px;
    background: #00ff66;
    border: 2px solid white;
    border-radius: 4px;
    cursor: nwse-resize;
    touch-action: none;
}
.bgv-wrap {
    max-width: 1200px;
    margin: 35px auto;
    padding: 25px;
}
.bgv-wrap h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #0f172a;
}


.bgv-camera-stage {
position:relative
    width:100%;
    max-width:600px;
    overflow:hidden;
    background:#111;
    border-radius:10px;
    margin:12px 0;
    isolation:isolate;
}
.bgv-camera-stage video {
    display:block;
    width:100%;
    max-width:none;
    height:auto;
    position:relative;
    z-index:1;
}
.bgv-crop-box:not([hidden]) {
    position:absolute;
    z-index:10;
    left:10%;
    top:18%;
    width:80%;
    height:64%;
    box-sizing:border-box;
    border:4px solid #00ff66;
    border-radius:5px;
    box-shadow:0 0 0 999px rgba(0,0,0,.3);
    cursor:move;
    touch-action:none;
}
.bgv-crop-box[hidden] {
    display:none !important;
}
.bgv-resize-handle {
    position:absolute;
    right:-8px;
    bottom:-8px;
    width:22px;
    height:22px;
    background:#00ff66;
    border:2px solid white;
    border-radius:4px;
    cursor:nwse-resize;
    touch-action:none;
}
.bgv-file-thumbnail {
    display:block;
    height:auto;
    object-fit:contain;
    border: 2px dotted;
}
.bgv-status-card {
    margin:18px 0;
}
.bgv-status-value {
    font-size:18px;
    font-weight:700;
    color:#1565d8;
    margin:12px 0 0;
}

/* Location field acts as dropdown anchor */
.jobs-search-location {
    position: relative;
    min-width: 0;
}

/* Floating suggestions */
.jobs-location-suggestions {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;

    z-index: 9999;

    background: #ffffff;
    border: 1px solid #dce3ed;
    border-radius: 10px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.14);

    max-height: 260px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* Respect HTML hidden attribute */
.jobs-location-suggestions[hidden] {
    display: none !important;
}

/* Individual suggestion buttons */
.jobs-location-suggestions button {
    display: block;
    width: 100%;
    padding: 11px 14px;

    border: none;
    border-bottom: 1px solid #edf0f4;
    border-radius: 0;

    background: #ffffff;
    color: #263449;

    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

/* Hover */
.jobs-location-suggestions button:hover,
.jobs-location-suggestions button:focus {
    background: #edf4ff;
    color: #155bd5;
    outline: none;
}

.jobs-location-suggestions button:last-child {
    border-bottom: none;
}

/* Ensure search form doesn't clip dropdown */
.jobs-search-form {
    overflow: visible;
}

.mandate-pref-card {
   border:1px solid #dce4ef;
   border-radius:12px;
   padding:18px;
   margin:14px 0;
   background:#fff;   
}

.mandate-pref-card h3 {
   margin:0 0 14px;
   font-size:1.05rem;
   
}

.mandate-pref-card .job-form-grid {
   gap:14px;   
}

.mandate-pref-card select, .mandate-pref-card input {
   width:100%;
   max-width:100%;
   box-sizing:border-box;   
}

.mandate-pref-card select:disabled {
   background:#f3f5f8;
   color:#7b8491;
   
}

.mandate-pref-hint {
   color:#5f6b7c;
   font-size:.9rem;
   margin:8px 0 16px;   
}

.mandate-pref-error {
   color:#b42318;
   font-size:.9rem;
   margin:10px 0;   
}

.mandate-extra-grid {
   display:grid;
   grid-template-columns:repeat(2,minmax(0,1fr));
   gap:18px;
   margin-top:18px;   
}

@media(max-width:700px) {
   .mandate-extra-grid {
     grid-template-columns:1fr;
  }
}

