/* =====================================================
   JOB PAGE
===================================================== */

.jobs-page-header {
    padding: 35px 0 90px;
    text-align: center;
    background: #fff;
}

.jobs-page-header h1 {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 700;
    color: #111827;
}

.jobs-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    color: #687080;
    font-size: 14px;
}

.jobs-breadcrumb a {
    color: #687080;
    text-decoration: none;
}


/* =====================================================
   JOB SECTION
===================================================== */

.jobs-section {
    padding: 0 0 80px;
    background: #fff;
}


/* =====================================================
   TOOLBAR
===================================================== */

.jobs-toolbar {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.jobs-filter-btn {
    min-width: 112px;
    height: 50px;

    border: 0;
    border-radius: 8px;

    background: #eef4ff;
    color: #1260d9;

    font-size: 14px;
    font-weight: 500;

    cursor: pointer;
}

.jobs-filter-btn i {
    margin-right: 8px;
}

.jobs-result-count {
    color: #111827;
    font-size: 14px;
}

.jobs-toolbar-right {
    margin-left: auto;

    display: flex;
    gap: 20px;
}

.jobs-select-wrapper {
    position: relative;
}

.jobs-select {
    width: 175px;
    height: 46px;

    padding: 0 38px 0 18px;

    border: 1px solid #e1e6ed;
    border-radius: 8px;

    background: #f5f8fa;

    color: #637083;

    appearance: none;

    cursor: pointer;
}

.jobs-select-wrapper i {
    position: absolute;

    right: 15px;
    top: 50%;

    transform: translateY(-50%);

    pointer-events: none;

    color: #7b8490;

    font-size: 12px;
}


/* =====================================================
   JOB CARD
===================================================== */

.job-card {
    position: relative;

    min-height: 260px;

    padding: 20px;

    border: 1px solid #e2e6ec;
    border-radius: 9px;

    background: #fff;

    text-align: center;

    transition: .25s ease;
}

.job-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(20, 30, 50, .08);

    border-color: #d4dff0;
}


/* =====================================================
   CARD TOP
===================================================== */

.job-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-featured,
.job-type {
    display: inline-flex;
    align-items: center;

    min-height: 26px;

    padding: 0 18px;

    border-radius: 20px;

    font-size: 12px;
}

.job-featured {
    background: #ddf3e5;
    color: #1aa14b;
}

.job-type {
    background: #dce8fa;
    color: #1260d9;
}


/* =====================================================
   LOGO
===================================================== */

.job-logo {
    width: 90px;
    height: 90px;

    margin: 5px auto 10px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.job-logo img {
    width: 90px;
    height: 90px;

    object-fit: contain;

    border-radius: 50%;
}

.job-logo-placeholder {
    width: 90px;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eef3fa;

    color: #6b7280;

    font-size: 30px;
}


/* =====================================================
   COMPANY
===================================================== */

.job-company {
    margin-bottom: 8px;

    color: #16a34a;

    font-size: 14px;
}


/* =====================================================
   JOB TITLE
===================================================== */

.job-title {
    margin: 0 0 15px;

    font-size: 17px;
    font-weight: 600;
}

.job-title a {
    color: #111827;
    text-decoration: none;
}

.job-title a:hover {
    color: #1260d9;
}


/* =====================================================
   LOCATION
===================================================== */

.job-location {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    color: #697586;

    font-size: 13px;
}

.job-location i {
    color: #5080bd;
}


/* =====================================================
   EMPTY
===================================================== */

.jobs-empty {
    padding: 70px 20px;

    text-align: center;

    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.jobs-empty i {
    font-size: 45px;
    color: #9ca3af;
}

.jobs-empty h3 {
    margin-top: 15px;
}


/* =====================================================
   PAGINATION
===================================================== */

.jobs-pagination {
    margin-top: 40px;

    display: flex;
    justify-content: center;
}


/* =====================================================
   FILTER OFFCANVAS
===================================================== */

.job-filter-offcanvas {
    width: 450px !important;

    background: #f5f7fb;
}

.job-filter-offcanvas .offcanvas-header {
    padding: 30px 60px 15px;
}

.job-filter-offcanvas .offcanvas-header h5 {
    font-size: 22px;
    font-weight: 700;
}

.job-filter-offcanvas .offcanvas-body {
    padding: 10px 60px 50px;
}


/* =====================================================
   FILTER GROUP
===================================================== */

.filter-group {
    margin-bottom: 28px;
}

.filter-group>label {
    display: block;

    margin-bottom: 12px;

    color: #111827;

    font-size: 16px;
    font-weight: 600;
}


/* =====================================================
   FILTER INPUT
===================================================== */

.filter-input {
    position: relative;
}

.filter-input i {
    position: absolute;

    left: 18px;
    top: 50%;

    transform: translateY(-50%);

    color: #58718f;

    font-size: 20px;
}

.filter-input input {
    width: 100%;
    height: 58px;

    padding: 0 18px 0 55px;

    border: 0;
    border-radius: 8px;

    outline: none;

    background: #fff;

    color: #475569;
}


/* =====================================================
   SELECT
===================================================== */

.filter-select {
    position: relative;
}

.filter-select>i:first-child {
    position: absolute;

    left: 18px;
    top: 50%;

    transform: translateY(-50%);

    color: #58718f;

    pointer-events: none;
}

.filter-select select {
    width: 100%;
    height: 58px;

    padding: 0 45px 0 55px;

    border: 0;
    border-radius: 8px;

    outline: none;

    background: #fff;

    color: #64748b;

    appearance: none;
}

.filter-select>i:last-child {
    position: absolute;

    right: 18px;
    top: 50%;

    transform: translateY(-50%);

    pointer-events: none;

    font-size: 12px;
}


/* =====================================================
   RANGE
===================================================== */

.job-range {
    width: 100%;

    height: 5px;

    accent-color: #246ed1;

    cursor: pointer;
}

.filter-label-row {
    margin-bottom: 10px;
}


/* =====================================================
   RADIO
===================================================== */

.filter-radio-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.filter-radio {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #64748b;

    font-size: 14px;

    cursor: pointer;
}

.filter-radio input {
    display: none;
}

.filter-radio span {
    width: 18px;
    height: 18px;

    border: 1px solid #dce2e9;
    border-radius: 50%;

    background: #fff;
}

.filter-radio input:checked+span {
    border: 5px solid #2471d8;
}


/* =====================================================
   SWITCH
===================================================== */

.filter-switch-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.filter-switch {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #64748b;

    font-size: 14px;

    cursor: pointer;
}

.filter-switch input {
    display: none;
}

.filter-switch span {
    position: relative;

    width: 40px;
    height: 20px;

    border-radius: 20px;

    background: #fff;

    border: 1px solid #e1e5ea;
}

.filter-switch span::after {
    content: "";

    position: absolute;

    width: 12px;
    height: 12px;

    top: 3px;
    left: 4px;

    border-radius: 50%;

    background: #d1d5db;

    transition: .2s;
}

.filter-switch input:checked+span {
    background: #2471d8;
}

.filter-switch input:checked+span::after {
    left: 22px;
    background: #fff;
}


/* =====================================================
   SALARY
===================================================== */

.salary-value {
    margin-bottom: 15px;

    text-align: center;

    color: #1260d9;

    font-size: 14px;
    font-weight: 600;
}


/* =====================================================
   FIND JOBS
===================================================== */

.find-jobs-btn {
    width: 100%;
    height: 60px;

    border: 0;
    border-radius: 8px;

    background: #246ed1;

    color: #fff;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: .2s;
}

.find-jobs-btn:hover {
    background: #185cb9;
}


/* =====================================================
   JOB ALERT
===================================================== */

.job-alert {
    margin-top: 40px;
    padding-top: 35px;

    border-top: 1px solid #e1e5eb;
}

.job-alert h4 {
    margin-bottom: 25px;

    font-size: 19px;
}

.job-alert label {
    display: block;

    margin-bottom: 10px;

    font-size: 14px;
}

.job-alert-input {
    width: 100%;
    height: 58px;

    margin-bottom: 22px;

    padding: 0 20px;

    border: 0;
    border-radius: 8px;

    outline: none;

    background: #fff;

    color: #64748b;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .jobs-page-header {
        padding: 30px 0 70px;
    }

    .jobs-toolbar {
        flex-wrap: wrap;
        gap: 15px;
    }

    .jobs-result-count {
        order: 2;
    }

    .jobs-toolbar-right {
        width: 100%;
        margin-left: 0;
    }

    .jobs-select-wrapper {
        flex: 1;
    }

    .jobs-select {
        width: 100%;
    }

    .job-filter-offcanvas {
        width: 90% !important;
    }

    .job-filter-offcanvas .offcanvas-header,
    .job-filter-offcanvas .offcanvas-body {
        padding-left: 25px;
        padding-right: 25px;
    }

}


.job-filter-offcanvas {
    width: 450px !important;
    background: #f4f7fd;
}

.job-filter-offcanvas .offcanvas-header {
    padding: 30px 60px 15px;
}

.job-filter-offcanvas .offcanvas-body {
    padding: 15px 60px 50px;
}

.filter-group {
    margin-bottom: 28px;
}

.filter-group>label {
    display: block;
    margin-bottom: 12px;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
}

.filter-input {
    position: relative;
}

.filter-input i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #59718d;
    font-size: 19px;
}

.filter-input input {
    width: 100%;
    height: 58px;
    padding: 0 18px 0 55px;

    border: 0;
    border-radius: 8px;

    outline: none;

    background: #fff;
}

.filter-select {
    position: relative;
}

.filter-select select {
    width: 100%;
    height: 58px;

    padding: 0 45px 0 18px;

    border: 0;
    border-radius: 8px;

    outline: none;

    background: #fff;

    color: #475569;

    appearance: none;
}

.filter-select>i {
    position: absolute;
    right: 18px;
    top: 50%;

    transform: translateY(-50%);

    pointer-events: none;

    font-size: 12px;
}

.filter-radio-list {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.filter-radio {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #64748b;

    cursor: pointer;
}

.filter-radio input {
    display: none;
}

.filter-radio span {
    width: 18px;
    height: 18px;

    border: 1px solid #d8dee7;
    border-radius: 50%;

    background: #fff;
}

.filter-radio input:checked+span {
    border: 5px solid #246ed1;
}

.filter-switch-list {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.filter-switch {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #64748b;

    cursor: pointer;
}

.filter-switch input {
    display: none;
}

.filter-switch span {
    position: relative;

    width: 40px;
    height: 20px;

    border-radius: 20px;

    background: #fff;

    border: 1px solid #e1e5ea;
}

.filter-switch span::after {
    content: "";

    position: absolute;

    width: 12px;
    height: 12px;

    top: 3px;
    left: 4px;

    border-radius: 50%;

    background: #d0d5dc;

    transition: .2s;
}

.filter-switch input:checked+span {
    background: #246ed1;
}

.filter-switch input:checked+span::after {
    left: 22px;
    background: #fff;
}

.find-jobs-btn {
    width: 100%;
    height: 58px;

    border: 0;
    border-radius: 8px;

    background: #246ed1;

    color: #fff;

    font-size: 15px;
    font-weight: 600;
}

.clear-filter-btn {
    display: block;

    margin-top: 15px;

    text-align: center;

    color: #246ed1;

    text-decoration: none;

    font-size: 14px;
}

.job-alert {
    margin-top: 45px;
    padding-top: 30px;

    border-top: 1px solid #dce2eb;
}

.job-alert h4 {
    margin-bottom: 25px;
}

.job-alert-input {
    width: 100%;
    height: 58px;

    margin-bottom: 20px;

    padding: 0 18px;

    border: 0;
    border-radius: 8px;

    outline: none;

    background: #fff;
}


.job-card {
    position: relative;

    min-height: 320px;

    padding: 18px 20px 22px;

    border: 1px solid #e1e6ed;
    border-radius: 9px;

    background: #fff;

    text-align: center;

    transition: .25s ease;
}

.job-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(20, 30, 50, .08);
}

.job-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.job-featured,
.job-type {
    display: inline-flex;

    align-items: center;

    min-height: 26px;

    padding: 0 18px;

    border-radius: 20px;

    font-size: 12px;
}

.job-featured {
    background: #dff3e6;
    color: #16a34a;
}

.job-type {
    background: #dce8fa;
    color: #1260d9;
}

.job-logo {
    width: 90px;
    height: 90px;

    margin: 5px auto 10px;
}

.job-logo img,
.job-logo-placeholder {
    width: 90px;
    height: 90px;

    border-radius: 50%;

    object-fit: contain;
}

.job-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #eef2f7;

    color: #64748b;

    font-size: 30px;
}

.job-company {
    margin-bottom: 8px;

    color: #16a34a;

    font-size: 14px;
}

.job-title {
    margin: 0 0 13px;

    font-size: 17px;
    font-weight: 600;
}

.job-title a {
    color: #111827;
    text-decoration: none;
}

.job-title a:hover {
    color: #246ed1;
}

.job-location {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 7px;

    color: #687587;

    font-size: 13px;
}

.job-location i {
    color: #477cb9;
}

.job-card-meta {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 15px;

    color: #697586;

    font-size: 12px;
}

.job-card-meta i {
    color: #246ed1;
}

.job-salary {
    margin-top: 12px;

    color: #1260d9;

    font-size: 13px;

    font-weight: 600;
}


.featured-filter-group {
    margin-top: 5px;
    margin-bottom: 30px;
}

.featured-filter {
    display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;
    min-height: 48px;

    padding: 10px 14px;

    border: 1px solid #e3e8ef;
    border-radius: 8px;

    background: #fff;

    cursor: pointer;

    transition: all .2s ease;
}

.featured-filter:hover {
    border-color: #b8cff0;
    background: #f8fbff;
}


/* Hide original checkbox */

.featured-filter > input {
    display: none;
}


/* Toggle */

.featured-toggle {
    position: relative;

    width: 40px;
    height: 22px;

    flex-shrink: 0;

    border-radius: 30px;

    background: #dfe5ec;

    transition: .25s ease;
}

.featured-toggle-dot {
    position: absolute;

    width: 16px;
    height: 16px;

    top: 3px;
    left: 3px;

    border-radius: 50%;

    background: #fff;

    box-shadow: 0 1px 3px rgba(0,0,0,.18);

    transition: .25s ease;
}


/* Checked */

.featured-filter > input:checked + .featured-toggle {
    background: #246ed1;
}

.featured-filter > input:checked + .featured-toggle
.featured-toggle-dot {
    left: 21px;
}


/* Text */

.featured-filter-text {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #374151;

    font-size: 14px;
    font-weight: 500;
}

.featured-filter-text i {
    color: #f5b51b;
    font-size: 14px;
}


/* Checked text */

.featured-filter > input:checked ~ .featured-filter-text {
    color: #246ed1;
    font-weight: 600;
}


/* =====================================================
   FEATURED JOB FILTER
===================================================== */

.featured-filter-group {
    margin-top: 5px;
    margin-bottom: 30px;
}

.featured-filter {
    display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;
    min-height: 50px;

    padding: 10px 14px;

    border: 1px solid #e3e8ef;
    border-radius: 10px;

    background: #fff;

    cursor: pointer;

    transition: all .2s ease;
}

.featured-filter:hover {
    border-color: #b8cff0;
    background: #f8fbff;
}


/* Hide checkbox */

.featured-filter > input {
    display: none;
}


/* Toggle */

.featured-toggle {
    position: relative;

    width: 42px;
    height: 22px;

    flex: 0 0 42px;

    border-radius: 30px;

    background: #dfe5ec;

    transition: background .25s ease;
}

.featured-toggle-dot {
    position: absolute;

    width: 16px;
    height: 16px;

    top: 3px;
    left: 3px;

    border-radius: 50%;

    background: #fff;

    box-shadow: 0 1px 4px rgba(0, 0, 0, .18);

    transition: left .25s ease;
}


/* Checked */

.featured-filter > input:checked + .featured-toggle {
    background: #246ed1;
}

.featured-filter > input:checked + .featured-toggle .featured-toggle-dot {
    left: 23px;
}


/* Text */

.featured-filter-text {
    display: flex;
    align-items: center;
    gap: 7px;

    min-width: 0;

    color: #374151;

    font-size: 14px;
    font-weight: 500;
}

.featured-filter-text i {
    flex-shrink: 0;

    color: #f5b51b;

    font-size: 14px;
}


/* Checked text */

.featured-filter > input:checked ~ .featured-filter-text {
    color: #246ed1;
    font-weight: 600;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .job-filter-offcanvas {
        width: 420px !important;
        max-width: 90vw;
    }

    .job-filter-offcanvas .offcanvas-header {
        padding: 25px 35px 15px;
    }

    .job-filter-offcanvas .offcanvas-body {
        padding: 15px 35px 40px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .job-filter-offcanvas {
        width: 100% !important;
        max-width: 100%;
    }

    .job-filter-offcanvas .offcanvas-header {
        padding: 20px 20px 12px;
    }

    .job-filter-offcanvas .offcanvas-header h5 {
        font-size: 20px;
    }

    .job-filter-offcanvas .offcanvas-body {
        padding: 10px 20px 35px;
    }


    /* Filter groups */

    .filter-group {
        margin-bottom: 22px;
    }

    .filter-group > label {
        margin-bottom: 9px;

        font-size: 15px;
    }


    /* Inputs */

    .filter-input input,
    .filter-select select {
        height: 54px;

        font-size: 14px;
    }


    /* Featured */

    .featured-filter {
        min-height: 52px;

        padding: 10px 12px;

        border-radius: 9px;
    }

    .featured-filter-text {
        font-size: 14px;
    }


    /* Find button */

    .find-jobs-btn {
        height: 54px;

        font-size: 14px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    .job-filter-offcanvas .offcanvas-header {
        padding: 18px 16px 10px;
    }

    .job-filter-offcanvas .offcanvas-body {
        padding: 10px 16px 30px;
    }

    .filter-group {
        margin-bottom: 20px;
    }

    .filter-input input,
    .filter-select select {
        height: 52px;
    }

    .featured-filter {
        width: 100%;

        min-height: 50px;

        padding: 9px 11px;
    }

    .featured-toggle {
        width: 40px;
        height: 21px;
        flex-basis: 40px;
    }

    .featured-toggle-dot {
        width: 15px;
        height: 15px;

        top: 2.5px;
        left: 3px;
    }

    .featured-filter > input:checked + .featured-toggle .featured-toggle-dot {
        left: 22px;
    }

    .featured-filter-text {
        font-size: 13px;
    }

    .featured-filter-text i {
        font-size: 13px;
    }

}


@media (max-width: 767px) {

    .jobs-section {
        padding-bottom: 50px;
    }

    .jobs-toolbar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;

        margin-bottom: 25px;
    }

    .jobs-filter-btn {
        width: 100%;
        min-width: 0;
        height: 48px;
    }

    .jobs-result-count {
        grid-column: 1 / -1;

        order: unset;

        font-size: 13px;
    }

    .jobs-toolbar-right {
        grid-column: 1 / -1;

        width: 100%;

        display: grid;
        grid-template-columns: 1fr 1fr;

        gap: 10px;

        margin-left: 0;
    }

    .jobs-select-wrapper {
        width: 100%;
    }

    .jobs-select {
        width: 100%;
        height: 46px;

        padding-left: 12px;
        padding-right: 30px;

        font-size: 13px;
    }

    .jobs-select-wrapper i {
        right: 11px;
    }


    /* Job cards */

    .job-card {
        min-height: auto;

        padding: 18px 15px 22px;
    }

}


@media (max-width: 380px) {

    .jobs-toolbar-right {
        grid-template-columns: 1fr;
    }

    .jobs-filter-btn {
        height: 46px;
    }

    .jobs-result-count {
        font-size: 12px;
    }

    .job-card {
        border-radius: 8px;
    }

}


.simple-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 0;

    color: #475569;
    font-size: 14px;
    font-weight: 400;

    cursor: pointer;
}

.simple-checkbox input {
    display: none;
}

.checkbox-box {
    width: 18px;
    height: 18px;

    flex-shrink: 0;

    border: 1px solid #d5dce5;
    border-radius: 4px;

    background: #fff;

    position: relative;

    transition: .2s ease;
}

.simple-checkbox input:checked + .checkbox-box {
    background: #246ed1;
    border-color: #246ed1;
}

.simple-checkbox input:checked + .checkbox-box::after {
    content: "";

    position: absolute;

    width: 5px;
    height: 9px;

    left: 6px;
    top: 2px;

    border: solid #fff;
    border-width: 0 2px 2px 0;

    transform: rotate(45deg);
}