/* ==========================================================================
   EmployAlert UI enhancements
   Loaded after the theme's style.css (registered in platform/themes/jobbox/config.php).
   Overrides only — the compiled style.css is not rebuildable on this server.
   Brand: navy #091F5B (--primary-color), font Roboto (--primary-font).
   ========================================================================== */

:root {
    --ea-navy: #091F5B;
    --ea-navy-dark: #061540;
    --ea-navy-soft: rgba(9, 31, 91, 0.07);
    --ea-navy-softer: rgba(9, 31, 91, 0.04);
    --ea-accent: #2757d6;
    --ea-surface: #f5f7fc;
    --ea-border: #e3e9f5;
    --ea-text: #223047;
    --ea-text-muted: #5b6b83;
    --ea-radius: 14px;
    --ea-radius-sm: 8px;
    --ea-shadow: 0 1px 2px rgba(9, 31, 91, 0.05), 0 4px 14px -6px rgba(9, 31, 91, 0.08);
    --ea-shadow-hover: 0 14px 30px -10px rgba(9, 31, 91, 0.22);
}

/* --------------------------------------------------------------------------
   1. Base polish
   -------------------------------------------------------------------------- */

body {
    color: var(--ea-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

p {
    color: var(--ea-text-muted);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--ea-navy);
    letter-spacing: -0.01em;
}

a {
    transition: color 0.18s ease;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--ea-accent) !important;
    outline-offset: 2px;
    border-radius: 4px;
}

::selection {
    background: var(--ea-navy);
    color: #fff;
}

/* --------------------------------------------------------------------------
   2. Buttons
   -------------------------------------------------------------------------- */

.btn {
    border-radius: var(--ea-radius-sm);
    transition: background-color 0.18s ease, color 0.18s ease,
        box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.btn-default,
.btn-find {
    background-color: var(--ea-navy);
    border-radius: var(--ea-radius-sm);
    font-weight: 600;
}

.btn-default:hover,
.btn-find:hover {
    background-color: var(--ea-navy-dark);
    color: #fff;
    box-shadow: 0 10px 20px -8px rgba(9, 31, 91, 0.5);
    transform: translateY(-1px);
}

.btn-apply-now {
    background-color: var(--ea-navy-soft);
    border-radius: var(--ea-radius-sm);
    color: var(--ea-navy);
    font-weight: 600;
    padding: 12px 18px;
}

.btn-apply-now:hover {
    background-color: var(--ea-navy);
    color: #fff;
}

/* Restore the big Apply CTA on the job page (was hidden because its
   background icon looked broken) — render it as a clean solid button. */
.btn-apply-big,
.btn-apply-big.btn-apply-icon {
    display: inline-block;
    background-image: none !important;
    background-color: var(--ea-navy);
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    padding: 14px 34px !important;
    box-shadow: 0 10px 24px -10px rgba(9, 31, 91, 0.55);
}

.btn-apply-big:hover {
    background-color: var(--ea-navy-dark);
    transform: translateY(-2px);
}

.btn-grey-small {
    background-color: var(--ea-surface);
    border: 1px solid var(--ea-border);
    border-radius: 999px;
    color: var(--ea-text-muted);
    font-size: 12px;
    padding: 4px 12px;
}

.btn-grey-small:hover {
    background-color: var(--ea-navy-soft);
    border-color: var(--ea-navy);
    color: var(--ea-navy);
}

/* --------------------------------------------------------------------------
   3. Hero banners (home, /jobs, city pages)
   -------------------------------------------------------------------------- */

.banner-hero.hero-2 {
    background-image:
        radial-gradient(ellipse 60% 90% at 85% 10%, rgba(83, 118, 222, 0.35), transparent 60%),
        radial-gradient(ellipse 50% 80% at 10% 90%, rgba(39, 87, 214, 0.28), transparent 60%),
        linear-gradient(135deg, #071540 0%, #0b2569 55%, #13317f 100%) !important;
    background-color: var(--ea-navy-dark) !important;
}

.banner-hero.hero-2 .block-banner h1 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.banner-hero.hero-2 .block-banner .font-lg {
    color: rgba(255, 255, 255, 0.82) !important;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.banner-hero .color-green {
    color: #7ea6ff !important;
}

/* City / listing page hero meta line */
.jobs-hero .block-banner {
    text-align: center;
}

.jobs-hero-meta {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    margin-top: 14px;
}

.jobs-hero-count {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    color: #fff;
    display: inline-block;
    font-weight: 700;
    margin-right: 6px;
    padding: 4px 14px;
}

/* Popular searches under the hero form */
.list-tags-banner strong {
    color: rgba(255, 255, 255, 0.9);
}

.list-tags-banner a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.list-tags-banner a:hover {
    color: #fff;
}

/* --------------------------------------------------------------------------
   4. Hero search form
   -------------------------------------------------------------------------- */

.form-find {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 45px -18px rgba(4, 12, 38, 0.55);
    padding: 10px;
}

.form-find form {
    align-items: center;
}

.form-find .form-input {
    border: 1px solid transparent;
    border-radius: 10px;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.form-find .form-input:hover {
    background-color: var(--ea-surface);
}

.form-find .form-input:focus,
.form-find .form-input:focus-within {
    border-color: var(--ea-navy);
    background-color: #fff;
}

.form-find .btn-find {
    border-radius: 10px;
    min-width: 120px;
}

.form-find .btn-advanced-filter {
    background: #fff;
    border: 1px solid var(--ea-border);
    border-radius: 10px;
    color: var(--ea-navy);
}

.form-find .btn-advanced-filter:hover {
    background: var(--ea-navy-soft);
    border-color: var(--ea-navy);
    box-shadow: none;
}

/* --------------------------------------------------------------------------
   5. Section headings
   -------------------------------------------------------------------------- */

.section-title {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   6. Job cards (grid cards + list cards share .card-grid-2)
   -------------------------------------------------------------------------- */

.card-grid-2 {
    background: #fff;
    border: 1px solid var(--ea-border) !important;
    border-radius: var(--ea-radius) !important;
    box-shadow: var(--ea-shadow);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.card-grid-2:hover {
    border-color: rgba(9, 31, 91, 0.35) !important;
    box-shadow: var(--ea-shadow-hover);
}

.card-grid-2 .card-block-info h4 a,
.card-grid-2 .card-block-info h6 a,
.card-grid-2 .card-block-info .h6 a,
.card-grid-2 .name-job {
    color: var(--ea-navy);
}

.card-grid-2 .card-block-info h4 a:hover,
.card-grid-2 .card-block-info h6 a:hover,
.card-grid-2 .card-block-info .h6 a:hover {
    color: var(--ea-accent);
}

/* type / time chips */
.card-briefcase,
.card-time {
    background: var(--ea-navy-soft);
    border-radius: 999px;
    color: var(--ea-navy) !important;
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    margin: 2px 6px 2px 0;
    padding: 6px 12px;
}

.card-time {
    background: var(--ea-surface);
    color: var(--ea-text-muted) !important;
}

.card-time span {
    color: inherit !important;
}

/* clamp long descriptions so cards stay even */
.card-grid-2 .job-description,
.card-grid-2 p.font-sm {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    line-height: 1.65;
}

.card-grid-2 .card-2-bottom {
    border-top: 1px solid var(--ea-border);
    padding-top: 14px;
}

/* salary text */
.card-grid-2 .card-text-price,
.card-text-price {
    color: var(--ea-navy);
    font-weight: 700;
}

/* featured cards */
.card-grid-2.featured-job-item {
    border-color: rgba(9, 31, 91, 0.45) !important;
    box-shadow: 0 0 0 1px rgba(9, 31, 91, 0.25), var(--ea-shadow);
}

/* --------------------------------------------------------------------------
   6b. List-view card (job-item-list template)
   -------------------------------------------------------------------------- */

.job-list-card {
    padding: 22px 24px;
}

.job-list-card .job-list-card__body {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.job-list-card .job-list-card__main {
    flex: 1 1 auto;
    min-width: 0;
}

.job-list-card .job-list-card__side {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    text-align: right;
}

.job-list-card .job-list-card__title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
}

.job-list-card .job-list-card__title a {
    color: var(--ea-navy);
}

.job-list-card .job-list-card__title a:hover {
    color: var(--ea-accent);
}

.job-list-card .job-list-card__meta {
    align-items: center;
    color: var(--ea-text-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 6px 16px;
    margin-bottom: 10px;
}

.job-list-card .job-list-card__meta .meta-item {
    align-items: center;
    display: inline-flex;
    gap: 6px;
    white-space: nowrap;
}

.job-list-card .job-list-card__meta .meta-item [class^="fi-"] {
    color: var(--ea-navy);
    font-size: 13px;
    line-height: 1;
    opacity: 0.75;
}

.job-list-card .job-list-card__desc {
    -webkit-line-clamp: 2;
    margin-bottom: 12px;
}

.job-list-card .job-list-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.job-list-card .card-text-price {
    font-size: 17px;
}

.job-list-card .card-text-price span {
    font-size: 12px;
}

/* --------------------------------------------------------------------------
   7. Listing toolbar (count / show / sort / view switch)
   -------------------------------------------------------------------------- */

.box-filters-job {
    background: #fff;
    border: 1px solid var(--ea-border);
    border-radius: var(--ea-radius);
    margin-bottom: 6px;
    padding: 12px 18px;
}

.box-filters-job .text-showing {
    color: var(--ea-text-muted);
    font-weight: 500;
}

.box-filters-job .box-border {
    border: 1px solid var(--ea-border);
    border-radius: var(--ea-radius-sm);
    padding: 4px 10px;
}

.box-filters-job .box-border .dropdown-toggle {
    color: var(--ea-navy);
    font-weight: 600;
}

.box-filters-job .display-flex2 {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.box-view-type .view-type {
    border: 1px solid var(--ea-border);
    border-radius: var(--ea-radius-sm);
    display: inline-flex;
    padding: 7px;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.box-view-type .view-type:hover {
    background: var(--ea-surface);
    border-color: var(--ea-navy);
}

/* --------------------------------------------------------------------------
   8. Filters sidebar
   -------------------------------------------------------------------------- */

.sidebar-shadow {
    background: #fff;
    border: 1px solid var(--ea-border) !important;
    border-radius: var(--ea-radius) !important;
    box-shadow: var(--ea-shadow) !important;
    padding: 24px !important;
}

.filter-block h5 {
    font-size: 16px;
    font-weight: 700;
}

.filter-block .medium-heading {
    color: var(--ea-navy);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.filter-block .link-reset {
    color: var(--ea-accent);
    font-size: 13px;
    font-weight: 600;
}

.filter-block .link-reset:hover {
    text-decoration: underline;
}

.list-checkbox li {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.list-checkbox .cb-container {
    color: var(--ea-text);
    font-size: 14px;
}

.list-checkbox .number-item {
    background: var(--ea-surface);
    border-radius: 999px;
    color: var(--ea-text-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    min-width: 30px;
    padding: 5px 9px;
    text-align: center;
}

/* keep filters in view while scrolling long result lists (desktop only) */
@media (min-width: 992px) {
    .filter-section .sidebar-shadow {
        position: sticky;
        top: 24px;
    }
}

/* --------------------------------------------------------------------------
   9. Pagination (re-enabled — was display:none in the old custom CSS)
   -------------------------------------------------------------------------- */

.paginations {
    margin: 34px 0 10px;
    text-align: center;
}

.paginations .pager {
    align-items: center;
    display: inline-flex !important;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    padding: 0;
}

.paginations .pager li {
    display: inline-flex;
}

.paginations .pager-number,
.paginations .pager-prev,
.paginations .pager-next {
    align-items: center;
    background: #fff;
    border: 1px solid var(--ea-border);
    border-radius: 10px;
    color: var(--ea-navy);
    display: inline-flex;
    font-size: 14px;
    font-weight: 600;
    height: 40px;
    justify-content: center;
    min-width: 40px;
    padding: 0 6px;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.paginations .pager-number:hover,
.paginations .pager-prev:hover,
.paginations .pager-next:hover {
    background: var(--ea-navy-soft);
    border-color: var(--ea-navy);
}

.paginations .pager-number.active {
    background: var(--ea-navy);
    border-color: var(--ea-navy);
    color: #fff;
}

.paginations .pager-number.disabled {
    border-color: transparent;
    color: var(--ea-text-muted);
    pointer-events: none;
}

.paginations .pager i {
    line-height: 1;
}

/* --------------------------------------------------------------------------
   10. Job detail page
   -------------------------------------------------------------------------- */

.section-box-2 .job-header-content {
    background: #fff;
    border: 1px solid var(--ea-border);
    border-radius: var(--ea-radius);
    box-shadow: var(--ea-shadow);
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    padding: 26px 28px;
}

.section-box-2 .job-header-content + .border-bottom {
    border-bottom: 0 !important;
}

.job-single-title {
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.job-answer-summary {
    color: var(--ea-text-muted) !important;
    font-size: 14px;
    line-height: 1.6;
    max-width: 760px;
}

/* Employment information panel */
.job-overview {
    background: var(--ea-surface) !important;
    border: 1px solid var(--ea-border) !important;
    border-radius: var(--ea-radius) !important;
    padding: 26px 28px !important;
}

.job-overview h5 {
    border-color: var(--ea-border) !important;
    font-weight: 700;
}

.job-overview .sidebar-text-info .text-description {
    color: var(--ea-text-muted);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.job-overview .sidebar-text-info .small-heading {
    color: var(--ea-navy);
    font-weight: 600;
}

/* Job description typography */
.content-single .ck-content {
    color: var(--ea-text);
    font-size: 16px;
    line-height: 1.75;
}

.content-single .ck-content p {
    margin-bottom: 1em;
}

.content-single .ck-content h2,
.content-single .ck-content h3,
.content-single .ck-content h4 {
    margin: 1.4em 0 0.6em;
    font-weight: 700;
}

.content-single .ck-content ul,
.content-single .ck-content ol {
    margin: 0 0 1.2em;
    padding-left: 1.3em;
}

.content-single .ck-content ul {
    list-style: disc;
}

.content-single .ck-content ol {
    list-style: decimal;
}

.content-single .ck-content li {
    margin-bottom: 0.45em;
}

/* soft chips instead of solid navy badges for skills/tags */
.badge.bg-primary {
    background: var(--ea-navy-soft) !important;
    border-radius: 999px;
    color: var(--ea-navy);
    font-weight: 500;
    padding: 7px 14px;
}

/* bottom apply / share bar */
.single-apply-jobs {
    background: var(--ea-surface);
    border: 1px solid var(--ea-border);
    border-radius: var(--ea-radius);
    margin-top: 30px;
    padding: 18px 22px;
}

/* company / similar jobs sidebar */
.sidebar-border {
    border: 1px solid var(--ea-border) !important;
    border-radius: var(--ea-radius) !important;
    box-shadow: var(--ea-shadow);
    padding: 24px !important;
}

.sidebar-border + .sidebar-border,
.job-detail-section .sidebar-border {
    margin-bottom: 24px;
}

.sidebar-list-job .card-list-4 {
    border-radius: 10px;
    padding: 10px;
    transition: background-color 0.18s ease;
}

.sidebar-list-job .card-list-4:hover {
    background: var(--ea-surface);
}

/* --------------------------------------------------------------------------
   11. Jobs-by-location cards (cities have no photos — use branded gradient)
   -------------------------------------------------------------------------- */

.job-by-location .card-image-top,
.card-image-top {
    border: 1px solid var(--ea-border);
    border-radius: var(--ea-radius);
    box-shadow: var(--ea-shadow);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-image-top:hover {
    border-color: rgba(9, 31, 91, 0.35);
    box-shadow: var(--ea-shadow-hover);
}

.card-image-top .image {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.10)' stroke-width='2'%3E%3Ccircle cx='70' cy='70' r='30'/%3E%3Ccircle cx='70' cy='70' r='55'/%3E%3Ccircle cx='70' cy='70' r='80'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, #0b2569 0%, #13317f 60%, #2757d6 130%) !important;
    background-position: right -20px top -20px, center !important;
    background-repeat: no-repeat, no-repeat !important;
    height: 110px !important;
}

.card-image-top .informations {
    padding: 18px 20px;
}

.card-image-top .informations .h5 {
    color: var(--ea-navy);
    font-size: 17px;
}

/* --------------------------------------------------------------------------
   12. Homepage "Latest jobs" section
   -------------------------------------------------------------------------- */

.latest-jobs-section .section-subtitle {
    color: var(--ea-text-muted);
    font-size: 16px;
    margin: 0 auto;
    max-width: 640px;
}

.latest-jobs-section .card-grid-2 {
    height: calc(100% - 24px);
    margin-top: 24px;
}

/* --------------------------------------------------------------------------
   13. Header / footer touches
   -------------------------------------------------------------------------- */

.header {
    border-bottom: 1px solid var(--ea-border);
}

.footer {
    border-top: 1px solid var(--ea-border);
}

/* --------------------------------------------------------------------------
   14. Responsive fixes
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {
    .job-list-card .job-list-card__body {
        flex-direction: column;
        gap: 14px;
    }

    .job-list-card .job-list-card__side {
        align-items: center;
        border-top: 1px solid var(--ea-border);
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-top: 14px;
        text-align: left;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .banner-hero.hero-2 .block-banner h1,
    .text-42 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }

    .banner-hero.hero-2 {
        padding-left: 16px;
        padding-right: 16px;
    }

    .form-find {
        padding: 14px;
    }

    .form-find .search-btn-group {
        display: flex;
        gap: 10px;
        width: 100%;
    }

    /* stacked select2 fields get the spacing the theme only gives <input> */
    .form-find .select2 {
        display: block;
        margin-bottom: 12px;
        width: 100% !important;
    }

    .form-find .btn-find,
    .form-find .btn-advanced-filter {
        flex: 1 1 auto;
    }

    .box-filters-job {
        padding: 12px 14px;
    }

    .box-filters-job .display-flex2 {
        justify-content: flex-start;
        margin-top: 10px;
    }

    .section-box-2 .job-header-content {
        padding: 20px;
    }

    .section-box-2 .job-header-content > div:last-child,
    .section-box-2 .job-header-content .btn-apply-big {
        width: 100%;
        text-align: center;
    }

    .job-overview {
        padding: 20px !important;
    }

    .job-list-card {
        padding: 18px;
    }

    .single-apply-jobs .row > div {
        margin-bottom: 10px;
    }
}

/* --------------------------------------------------------------------------
   15. About Us page cards (Page id 10)
   -------------------------------------------------------------------------- */

.ea-about-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e0e6f7;
    border-radius: 8px;
    padding: 28px;
    transition: box-shadow 0.2s ease;
}

.ea-about-card:hover {
    box-shadow: 0 6px 22px rgba(5, 38, 78, 0.08);
}

.ea-about-card h2,
.ea-about-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.ea-about-card p {
    color: #4f5e64;
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   16. Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --------------------------------------------------------------------------
   17. Mobile audit fixes (2026-07 static audit at 360-430px)
   -------------------------------------------------------------------------- */

/* select2 dropdowns are appended to <body> with z-index 1051 — below the
   mobile filters overlay (z-index 10001). Lift them above it. */
body > .select2-container--open {
    z-index: 10060;
}

/* The off-canvas menu is a fixed 380px panel — wider than 360px phones. */
.mobile-header-wrapper-style {
    max-width: 100vw;
}

/* Burger button is the only nav control on phones: give it a real hit area
   (icon is 24x20px) and center it against the 60px header row. */
.burger-icon::after {
    content: "";
    inset: -12px;
    position: absolute;
}

@media (max-width: 1199.98px) {
    .header .burger-icon {
        top: 20px;
    }
}

/* Off-canvas close + search submit tap targets */
.mobile-header-active .offcanvas-header .btn-close {
    padding: 12px;
}

.mobile-search form {
    position: relative;
}

.mobile-search form button[type="submit"] {
    bottom: 0;
    left: 0;
    position: absolute;
    top: 0;
    width: 44px;
}

/* Apply modals: bigger close target; 16px inputs stop iOS zoom-on-focus */
#ModalApplyJobForm .btn-close,
#ModalApplyExternalJobForm .btn-close {
    padding: 12px;
}

#ModalApplyJobForm .form-control,
#ModalApplyExternalJobForm .form-control {
    font-size: 16px;
}

/* The AJAX loading overlay renders before JS loads and blocks taps on slow
   connections — keep it hidden until jQuery .show() sets display:block,
   then restore the flex centering. */
.loading-ring {
    display: none;
}

.loading-ring[style*="display: block"] {
    display: flex !important;
}

/* Listing toolbar controls: comfortable touch targets (mirror the theme's
   max-width:991px query that shows the filter trigger) */
@media (max-width: 991px) {
    .box-filters-job .box-border {
        padding: 8px 12px;
    }

    .box-filters-job .box-border.btn-advanced-filter {
        align-items: center;
        display: inline-flex;
        padding: 11px 13px !important;
    }

    .box-view-type .view-type {
        padding: 10px;
    }

    /* the filters live in an off-canvas at this width — remove the card
       styling that otherwise paints a stray white box over the layout */
    .sidebar-filter-mobile .sidebar-shadow {
        background: transparent;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .sidebar-filter-mobile__inner {
        background: #fff;
    }
}

/* Salary slider handles are 18px with touch-action:none — add an invisible
   44px hit area (the theme only uses :before on handles) */
.box-slider-range .noUi-handle::after {
    border-radius: 50%;
    content: "";
    inset: -13px;
    position: absolute;
}

/* Job detail: the theme forces the header card to display:unset at <=768px,
   which strips our card layout — keep it as a stacked flex card instead. */
@media (max-width: 768px) {
    .section-box-2 .container .job-header-content {
        align-items: stretch;
        display: flex !important;
        flex-direction: column;
    }
}

/* Job detail sidebar: "Similar jobs" salary is text-nowrap inside a ~205px
   row and overflows the card on small phones — let it wrap. */
@media (max-width: 575.98px) {
    .similar-jobs-content .job-information {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .sidebar-list-job .card-price.text-nowrap {
        white-space: normal !important;
    }
}

/* Footer: readable, tappable links; undo the theme's 130px margin hack on
   the currency switcher at <=600px */
@media (max-width: 767.98px) {
    .footer .footer-social a {
        display: inline-block;
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin: 0 16px 8px 0 !important;
        padding: 6px 0;
    }
}

@media (max-width: 600px) {
    .footer .text-md-end .dropdown,
    .footer .text-md-end .nav-item {
        margin-right: 0 !important;
    }
}

/* Scroll-to-top button: shrink so it stops riding over full-width CTAs */
@media (max-width: 575.98px) {
    #scrollUp {
        background-size: 16px;
        bottom: 12px;
        height: 40px;
        right: 12px;
        width: 40px;
    }
}
