.jobs-page {
    background: #f4f7fb;
    color: #152033;
    min-height: 70vh;
    padding-bottom: 48px
}

.jobs-wrap {
    width: min(1180px,calc(100% - 32px));
    margin: auto
}

.jobs-hero {
    background: linear-gradient(125deg,#10233f,#176b69);
    color: #fff;
    padding: 42px 0
}

.jobs-hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px
}

.jobs-hero h1 {
    font-size: 38px;
    line-height: 1.2;
    margin: 8px 0
}

.jobs-hero p {
    margin: 0;
    color: #d8e7eb
}

.jobs-kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    color: #0d8b75
}

.jobs-hero .jobs-kicker {
    color: #70e2ca
}

.jobs-employer-cta {
    background: #ffffff14;
    border: 1px solid #ffffff38;
    border-radius: 16px;
    padding: 18px 20px;
    display: grid;
    gap: 5px;
    min-width: 300px
}

    .jobs-employer-cta span {
        font-size: 13px;
        color: #d8e7eb
    }

    .jobs-employer-cta a, .jobs-primary, .jobs-employer-cta button {
        display: inline-flex;
        width: max-content;
        background: #0d8b75;
        color: #fff !important;
        border: 0;
        border-radius: 9px;
        padding: 10px 16px;
        font-weight: 700;
        text-decoration: none;
        margin-top: 7px
    }

.jobs-secondary, .jobs-inline-button, .auth-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #9bd8ca;
    border-radius: 8px;
    background: #effaf7;
    color: #0d7565;
    font-weight: 700;
    line-height: 1;
    text-decoration: none
}

.jobs-secondary {
    min-height: 38px;
    padding: 9px 13px
}

.jobs-inline-button, .auth-link-button {
    padding: 6px 9px
}

    .jobs-secondary:hover, .jobs-inline-button:hover, .auth-link-button:hover {
        background: #dff4ee
    }

.jobs-layout, .job-detail-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 310px;
    gap: 24px;
    padding-top: 26px
}

.jobs-filter {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr auto;
    gap: 8px;
    background: #fff;
    border: 1px solid #e1e7ef;
    border-radius: 14px;
    padding: 12px
}

    .jobs-filter input, .jobs-filter select, .job-alert-box input, .job-alert-box select, .job-form input, .job-form select, .job-form textarea, .job-apply-card input, .job-apply-card textarea, .recruitment-auth input {
        width: 100%;
        min-height: 42px;
        border: 1px solid #d7e0ea;
        border-radius: 8px;
        background: #fff;
        color: #152033;
        padding: 10px 11px;
        font: inherit;
        line-height: 20px;
        box-sizing: border-box
    }

    .jobs-filter select, .job-alert-box select, .job-form select {
        appearance: none;
        -webkit-appearance: none;
        padding-right: 38px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2352637a' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
        background-position: right 13px center;
        background-repeat: no-repeat
    }

    .job-form input[type="datetime-local"] {
        color-scheme: light
    }

        .job-form input[type="datetime-local"]::-webkit-datetime-edit,
        .job-form input[type="datetime-local"]::-webkit-datetime-edit-fields-wrapper,
        .job-form input[type="datetime-local"]::-webkit-datetime-edit-text,
        .job-form input[type="datetime-local"]::-webkit-datetime-edit-month-field,
        .job-form input[type="datetime-local"]::-webkit-datetime-edit-day-field,
        .job-form input[type="datetime-local"]::-webkit-datetime-edit-year-field,
        .job-form input[type="datetime-local"]::-webkit-datetime-edit-hour-field,
        .job-form input[type="datetime-local"]::-webkit-datetime-edit-minute-field {
            color: #152033;
            font: inherit
        }

    .job-form input[type="checkbox"], .recruitment-auth input[type="checkbox"] {
        min-height: auto;
        padding: 0
    }

    .jobs-filter button, .job-alert-box button, .job-apply-card button, .recruitment-auth button, .employer-filter button {
        border: 0;
        border-radius: 8px;
        background: #0d8b75;
        color: #fff;
        font-weight: 700;
        padding: 10px 16px
    }

.jobs-result-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 2px 10px
}

    .jobs-result-head h2 {
        font-size: 20px;
        margin: 0
    }

    .jobs-result-head a {
        color: #0d7565;
        font-weight: 700
    }

.jobs-list {
    display: grid;
    gap: 10px
}

.job-card {
    display: flex;
    gap: 14px;
    background: #fff;
    border: 1px solid #e1e7ef;
    border-radius: 13px;
    padding: 16px;
    transition: .15s
}

    .job-card:hover {
        border-color: #79bbae;
        box-shadow: 0 7px 22px #1d3c5812
    }

.job-logo {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    background: #eef6f5;
    display: grid;
    place-items: center;
    color: #0d7565;
    font-weight: 800;
    overflow: hidden
}

    .job-logo.large {
        width: 78px;
        height: 78px;
        flex-basis: 78px
    }

    .job-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain
    }

.job-card-body {
    min-width: 0;
    flex: 1
}

.job-title {
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
    color: #152033;
    text-decoration: none
}

.job-company {
    color: #58677b;
    font-size: 14px;
    margin: 3px 0 8px
}

.job-meta {
    display: flex;
    gap: 7px;
    flex-wrap: wrap
}

    .job-meta span {
        font-size: 12px;
        background: #f0f4f8;
        border-radius: 20px;
        padding: 4px 8px;
        color: #4b5b6f
    }

.job-card-bottom {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #eef1f5;
    padding-top: 10px;
    margin-top: 10px
}

    .job-card-bottom strong {
        font-size: 14px;
        color: #0d7565
    }

    .job-card-bottom small {
        color: #718095
    }

.jobs-side {
    display: grid;
    align-content: start;
    gap: 18px
}

.job-alert-box, .job-apply-card, .job-detail, .employer-page, .recruitment-auth-card {
    background: #fff;
    border: 1px solid #e1e7ef;
    border-radius: 16px
}

.job-alert-box {
    padding: 20px
}

    .job-alert-box h2 {
        font-size: 20px;
        margin: 0 0 6px
    }

    .job-alert-box p {
        font-size: 13px;
        color: #69778a;
        line-height: 1.5
    }

    .job-alert-box form {
        display: grid;
        gap: 9px
    }

.job-alert-category-select {
    border: 1px solid #d7e0ea;
    border-radius: 8px;
    background: #fff
}

    .job-alert-category-select summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 11px;
        cursor: pointer;
        list-style: none
    }

        .job-alert-category-select summary::-webkit-details-marker {
            display: none
        }

        .job-alert-category-select summary::after {
            content: "⌄";
            color: #52637a;
            font-size: 18px;
            line-height: 1
        }

    .job-alert-category-select[open] summary::after {
        transform: rotate(180deg)
    }

.job-alert-category-count {
    margin-left: auto;
    color: #69778a;
    font-size: 12px
}

.job-alert-category-options {
    display: grid;
    max-height: 240px;
    overflow-y: auto;
    border-top: 1px solid #e1e7ef;
    padding: 6px
}

    .job-alert-category-options label {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        padding: 8px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 14px;
        line-height: 1.35
    }

        .job-alert-category-options label:hover {
            background: #f2f7fc
        }

    .job-alert-category-options input {
        width: auto;
        margin: 2px 0 0
    }

.jobs-side-ad img, .jobs-inline-ad img {
    max-width: 100%;
    height: auto
}

.jobs-inline-ad {
    overflow: hidden
}

.jobs-empty, .jobs-message {
    background: #fff;
    border: 1px solid #dfe7ef;
    border-radius: 12px;
    padding: 18px
}

.jobs-message {
    background: #eaf8f4;
    border-color: #b9e0d6;
    color: #126d5d;
    margin-bottom: 16px
}

.jobs-pagination {
    display: flex;
    gap: 6px;
    margin-top: 20px
}

    .jobs-pagination a {
        min-width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        background: #fff;
        border: 1px solid #dbe3ec;
        border-radius: 8px;
        color: #334155;
        text-decoration: none
    }

        .jobs-pagination a.active {
            background: #0d8b75;
            color: #fff;
            border-color: #0d8b75
        }

.job-detail-layout {
    align-items: start
}

.job-detail {
    padding: 26px
}

.job-detail-head {
    display: flex;
    gap: 18px;
    align-items: center
}

    .job-detail-head h1 {
        font-size: 30px;
        line-height: 1.25;
        margin: 5px 0
    }

    .job-detail-head p {
        margin: 0;
        color: #607087
    }

.job-facts {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
    margin: 24px 0
}

    .job-facts div {
        background: #f4f7fa;
        border-radius: 11px;
        padding: 13px
    }

    .job-facts small, .job-facts strong {
        display: block
    }

    .job-facts small {
        color: #718095;
        margin-bottom: 4px
    }

    .job-facts strong {
        font-size: 14px
    }

.job-summary {
    font-size: 17px;
    line-height: 1.7;
    border-left: 3px solid #0d8b75;
    padding-left: 14px
}

.job-rich {
    line-height: 1.75;
    overflow-wrap: anywhere
}

    .job-rich h2 {
        font-size: 22px;
        margin-top: 26px
    }

    .job-rich img {
        max-width: 100%;
        height: auto
    }

.job-apply-card {
    position: sticky;
    top: 82px;
    padding: 20px
}

    .job-apply-card h2 {
        margin: 0 0 5px
    }

    .job-apply-card > p {
        color: #66758a;
        font-size: 13px
    }

    .job-apply-card form {
        display: grid;
        gap: 10px
    }

    .job-apply-card label, .job-form label, .recruitment-auth label {
        display: grid;
        gap: 5px;
        font-size: 13px;
        font-weight: 700
    }

    .job-apply-card form > small {
        font-size: 11px;
        color: #728095
    }

.jobs-validation {
    color: #b42318;
    font-size: 13px
}

.employer-page {
    margin-top: 26px;
    padding: 25px
}

.employer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px
}

    .employer-head h1 {
        margin: 4px 0;
        font-size: 30px
    }

    .employer-head p {
        margin: 0;
        color: #617086
    }

    .employer-head > a:not(.jobs-primary) {
        color: #0d7565;
        font-weight: 700
    }

.job-form {
    display: grid;
    gap: 16px
}

.job-form-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px
}

.recruitment-company-logo-preview {
    display: block;
    width: 92px;
    height: 92px;
    border: 1px solid #d7e0ea;
    border-radius: 9px;
    background: #f8fafc;
    object-fit: contain
}

.job-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 18px
}

    .job-checks label {
        display: flex;
        align-items: center;
        gap: 6px
    }

    .job-checks input {
        width: auto
    }

.employer-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 16px
}

    .employer-filter input, .employer-filter select {
        border: 1px solid #d7e0ea;
        border-radius: 8px;
        padding: 10px
    }

.employer-table-wrap {
    overflow-x: auto
}

.employer-table {
    width: 100%;
    border-collapse: collapse
}

.table-deadline {
    min-width: 92px;
    white-space: nowrap
}

    .employer-table th, .employer-table td {
        text-align: left;
        padding: 13px;
        border-bottom: 1px solid #e9edf2;
        vertical-align: top
    }

        .employer-table td small {
            display: block;
            color: #748195
        }

.job-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid #dce4ec;
    border-radius: 14px;
    background: #eef2f6;
    color: #526176;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0
}

    .job-status.published {
        background: #e4f7ef;
        border-color: #a9dfca;
        color: #08755c
    }

    .job-status.pending-review {
        padding-left: 12px;
        padding-right: 12px;
        background: #fff7e8;
        border-color: #f1c979;
        color: #9a6100
    }

.table-actions {
    white-space: nowrap
}

.table-actions-inner {
    display: flex;
    gap: 9px;
    align-items: center;
    flex-wrap: nowrap
}

    .table-actions-inner form {
        margin: 0
    }

    .table-actions-inner .table-action-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 32px;
        padding: 6px 10px;
        color: #0d7565;
        background: #effaf7;
        border: 1px solid #9bd8ca;
        border-radius: 6px;
        font: inherit;
        line-height: 1;
        text-decoration: none;
        cursor: pointer
    }

        .table-actions-inner .table-action-button:hover {
            background: #dff4ee
        }

    .table-actions-inner .table-action-close {
        color: #b42318;
        background: #fff1f0;
        border-color: #f2b8b5
    }

        .table-actions-inner .table-action-close:hover {
            background: #ffe2e0
        }

.application-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px
}

.application-card {
    border: 1px solid #e1e7ef;
    border-radius: 12px;
    padding: 17px;
    display: grid;
    gap: 10px
}

    .application-card h2 {
        font-size: 18px;
        margin: 0
    }

    .application-card p {
        margin: 3px 0;
        color: #5f6e81
    }

    .application-card small {
        color: #788597
    }

.recruitment-auth {
    width: min(720px,calc(100% - 32px));
    margin: auto;
    padding: 45px 0
}

.recruitment-auth-card {
    padding: 28px;
    max-width: 460px;
    margin: auto
}

    .recruitment-auth-card.wide {
        max-width: 680px
    }

.recruitment-auth h1 {
    margin: 5px 0
}

.recruitment-auth form {
    display: grid;
    gap: 13px
}

.recruitment-auth button {
    width: 100%
}

.auth-check {
    display: flex !important;
    grid-template-columns: auto 1fr !important;
    align-items: center
}

    .auth-check input {
        width: auto
    }

.recruitment-auth a {
    color: #0d7565;
    font-weight: 700
}

@media(max-width:900px) {
    .jobs-layout, .job-detail-layout {
        grid-template-columns: 1fr
    }

    .jobs-side {
        grid-template-columns: 1fr 1fr
    }

    .job-apply-card {
        position: static
    }

    .jobs-filter {
        grid-template-columns: 1fr 1fr
    }

        .jobs-filter button {
            grid-column: span 2
        }

    .job-facts {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:640px) {
    .jobs-wrap {
        width: min(100% - 20px,1180px)
    }

    .jobs-hero {
        padding: 28px 0
    }

    .jobs-hero-inner, .employer-head {
        align-items: flex-start;
        flex-direction: column
    }

    .jobs-hero h1 {
        font-size: 28px
    }

    .jobs-employer-cta {
        min-width: 0;
        width: 100%;
        box-sizing: border-box
    }

    .jobs-filter {
        grid-template-columns: 1fr
    }

        .jobs-filter button {
            grid-column: auto
        }

    .jobs-side {
        grid-template-columns: 1fr
    }

    .job-card {
        padding: 12px
    }

    .job-logo {
        width: 48px;
        height: 48px;
        flex-basis: 48px
    }

    .job-card-bottom {
        align-items: flex-start;
        flex-direction: column
    }

    .job-detail {
        padding: 18px
    }

    .job-detail-head {
        align-items: flex-start
    }

        .job-detail-head h1 {
            font-size: 24px
        }

    .job-facts, .job-form-grid, .application-grid {
        grid-template-columns: 1fr
    }

    .employer-page {
        padding: 16px
    }

    .employer-table {
        min-width: 720px
    }
}
