.explore-jobs-page {
    background: #faf8fc;
}

.explore-jobs-content .jobs-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin-top: 24px;
}
.explore-jobs-content .jobs-pagination > p {
    margin: 0;
    color: #475467;
    font-size: 14px;
    line-height: 20px;
}
.explore-jobs-content .jobs-pagination nav { flex: 0 0 auto; }
.explore-jobs-content .jobs-pagination-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.explore-jobs-content .jobs-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #fff;
    color: var(--brandPrimary);
    font: 400 14px/20px var(--font-family-main);
    text-decoration: none;
}
.explore-jobs-content a.jobs-page-link:hover {
    border-color: #d9b8ff;
    background: #faf4ff;
    color: var(--brandPrimary);
}
.explore-jobs-content .jobs-page-link.is-current {
    border-color: var(--brandPrimary);
    background: var(--brandPrimary);
    color: #fff;
}
.explore-jobs-content .jobs-page-link.is-disabled {
    background: #f9fafb;
    color: #98a2b3;
}
.explore-jobs-content a.jobs-page-link:focus-visible {
    outline: 2px solid var(--brandPrimary);
    outline-offset: 2px;
}
@media (max-width: 575.98px) {
    .explore-jobs-content .jobs-pagination { flex-wrap: wrap; }
    .explore-jobs-content .jobs-page-link { width: 36px; height: 36px; }
}

.explore-jobs-content > nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 24px 0 0;
    overflow-x: auto;
}
.explore-jobs-content > nav .pagination {
    --bs-pagination-active-bg: var(--brandPrimary);
    --bs-pagination-active-border-color: var(--brandPrimary);
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin: 0;
}
.explore-jobs-content > nav p {
    margin: 0;
    color: #475467;
    font-size: 14px;
    line-height: 20px;
}
.explore-jobs-content > nav .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #e4e7ec;
    border-radius: 8px !important;
    color: var(--brandPrimary);
    line-height: 20px;
    text-decoration: none;
}
.explore-jobs-content > nav .page-item:not(:first-child) .page-link {
    margin-left: 0;
}
.explore-jobs-content > nav .page-item.active .page-link {
    border-color: var(--brandPrimary);
    background: var(--brandPrimary);
    color: #fff;
}
.explore-jobs-content > nav .page-item.disabled .page-link {
    color: #98a2b3;
    background: #f9fafb;
}
.explore-jobs-content > nav .page-item:not(.active) .page-link:hover {
    border-color: #d9b8ff;
    background: #faf4ff;
    color: var(--brandPrimary);
}
.explore-jobs-content > nav .page-link:focus-visible {
    outline: 2px solid var(--brandPrimary);
    outline-offset: 2px;
    box-shadow: none;
}
@media (max-width: 575.98px) {
    .explore-jobs-content > nav {
        justify-content: center;
    }
    .explore-jobs-content > nav .page-link {
        min-width: 36px;
        min-height: 36px;
        padding: 6px 9px;
        font-size: 13px;
    }
}

.explore-jobs-content {
    max-width: 1000px;
    margin: 0 auto;
    min-height: 420px;
    text-align: left;
    padding-bottom: 64px;
}

.explore-jobs-page h1 {
    font: 700 24px/1.4 var(--font-family-heading);
    color: #101828;
    margin: 0 0 4px;
}

.explore-jobs-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.explore-jobs-page .explore-jobs-heading p {
    font-size: 14px;
    line-height: 24px;
    color: #718096;
    margin: 0;
}

.explore-jobs-tools {
    display: flex;
    gap: 8px;
}

.jobs-tool {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e4e7ec;
    background: white;
    border-radius: 50%;
    color: #667085;
}

.jobs-tool svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.jobs-tool[aria-expanded="true"] {
    background: #9933ff;
    color: white;
    border-color: #9933ff;
}

#explore-jobs-form [hidden],
#clear-job-filters[hidden] {
    display: none;
}

#job-search-panel {
    margin-bottom: 16px;
}

#job-search {
    border: 1px solid #c580ff;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
}

#job-filter-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

#job-filter-panel select {
    width: auto;
    min-width: 130px;
    max-width: 100%;
    font-size: 14px;
    padding: 11px 36px 11px 16px;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
}
#job-filter-panel .select2-container {
    min-width: 130px;
    font-family: var(--font-family-main);
    font-size: 14px;
}
#job-filter-panel .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
    height: 46px;
    padding: 10px 14px;
    border: 1px solid #e4d2f3;
    border-radius: 12px;
    background: #fff;
}
#job-filter-panel .select2-container--default.select2-container--open .select2-selection--single,
#job-filter-panel .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--brandPrimary, #8a38f5);
    box-shadow: 0 0 0 3px rgba(127, 86, 217, .15);
}
#job-filter-panel .select2-container--default .select2-selection--single .select2-selection__rendered {
    width: 100%;
    padding: 0 24px 0 0;
    line-height: 24px;
    color: var(--textColorHighest, #252323);
}
#job-filter-panel .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--textColorHigh, #525252);
}
#job-filter-panel .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0;
    right: 14px;
    height: 44px;
}
#job-filter-panel .select2-container--default .select2-selection--single .select2-selection__arrow b {
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border: solid #525252;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}
#job-filter-panel .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    margin-top: -1px;
    transform: rotate(225deg);
}
#job-filter-panel .select2-dropdown {
    overflow: hidden;
    padding: 6px;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 24px -4px rgba(16, 24, 40, .14), 0 4px 8px -2px rgba(16, 24, 40, .06);
    font-family: var(--font-family-main);
    font-size: 14px;
}
#job-filter-panel .select2-container--default .select2-results > .select2-results__options { max-height: 220px; }
#job-filter-panel .select2-results__option {
    padding: 11px 12px;
    border-radius: 8px;
    color: #344054;
    font-weight: 500;
    line-height: 20px;
}
#job-filter-panel .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: #f9fafb;
    color: #101828;
}
#job-filter-panel .select2-container--default .select2-results__option--selected,
#job-filter-panel .select2-container--default .select2-results__option--selected.select2-results__option--highlighted {
    background: #f4ebff;
    color: var(--brandPrimary, #8a38f5);
    font-weight: 600;
}
#job-filter-panel .select2-container--default .select2-search--dropdown .select2-search__field {
    padding: 8px 12px;
    border: 1px solid #eaecf0;
    border-radius: 6px;
}

.jobs-clear {
    padding: 10px 16px;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: white;
    color: #475467;
    font-size: 14px;
    text-decoration: none;
}

.explore-jobs-page .jobs-result-count {
    color: #718096;
    font-size: 14px;
    margin: 0 0 16px;
}

.public-job-card {
    position: relative;
    display: block;
    background: white;
    border: 1px solid #f1f1f5;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 3px #18213815;
    margin-bottom: 16px;
    color: #101828;
    text-decoration: none;
}

.public-job-card:hover {
    border-color: #d9baff;
    color: #101828;
}

.public-job-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.public-job-card-link::after {
    position: absolute;
    inset: 0;
    content: "";
}

.public-job-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.public-job-card-link:focus-visible,
.jobs-tool:focus-visible {
    outline: 2px solid #9933ff;
    outline-offset: 3px;
}

.public-job-description {
    margin-top: 14px;
    color: #475467;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.public-job-description p,
.job-detail-description-content p {
    margin: 0 0 8px;
}

.public-job-description > :last-child,
.job-detail-description-content > :last-child {
    margin-bottom: 0;
}

.public-job-description .job-description--collapsible,
.job-detail-description-content .job-description--collapsible {
    max-height: 3em;
    overflow: hidden;
    line-height: 1.5;
}

.public-job-description .job-description--collapsible p,
.job-detail-description-content .job-description--collapsible p {
    margin-bottom: 0;
}

.public-job-description .job-description--collapsible.is-expanded,
.job-detail-description-content .job-description--collapsible.is-expanded {
    max-height: none;
    overflow: visible;
}

.public-job-description .job-description-toggle-button,
.job-detail-description-content .job-description-toggle-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #7138ff;
    font: inherit;
    cursor: pointer;
}

.public-job-description .job-description-toggle-button[hidden],
.job-detail-description-content .job-description-toggle-button[hidden] {
    display: none;
}

.public-job-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.explore-jobs-page .public-job-heading h2 {
    color: #101828;
    font: 600 16px/24px var(--font-family-heading);
    margin: 0;
    overflow-wrap: anywhere;
}

.public-job-company {
    font-size: 12px;
    color: #718096;
    word-wrap: break-word;
}

.public-job-status {
    background: #dcfce7;
    color: #00a64b;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 999px;
}

.explore-jobs-page .job-company-logo {
    height: 40px;
    width: 40px;
    flex: 0 0 40px;
    border: 2px solid #f7f0ff;
    border-radius: 10px;
    object-fit: contain;
}

.explore-jobs-page .job-logo-fallback {
    display: grid;
    place-items: center;
    background: #f3e8ff;
    color: #9933ff;
}

.public-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #718096;
    font-size: 14px;
    margin-top: 8px;
}

.public-job-meta b {
    color: #9933ff;
    font-weight: 400;
}

.public-job-meta .public-job-date {
    font-size: 12px;
    align-self: center;
}

.public-jobs-empty {
    text-align: center;
    padding: 80px 16px;
    color: #98a2b3;
}

.explore-jobs-page .public-jobs-empty h2 {
    font-size: 18px;
    color: #475467;
}

.public-job-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.public-job-meta svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    fill: none;
    stroke: #9933ff;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.public-job-identity {
    min-width: 0;
}

.public-job-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.public-job-title-row .public-job-status {
    flex-shrink: 0;
    line-height: 16px;
    white-space: nowrap;
}

.job-detail-page {
    max-width: 736px;
    margin: 0 auto;
}

.job-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9933ff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 24px;
}

.job-detail-back:hover {
    text-decoration: none;
}

.job-detail-page .job-detail-card {
    padding: 32px;
}

.job-detail-card .public-job-heading {
    align-items: flex-start;
    gap: 16px;
}

.job-detail-card .public-job-heading .job-report-section {
    flex: 0 0 auto;
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
}

.job-detail-card .public-job-identity {
    flex: 1;
}

.job-detail-card .job-company-logo {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
}

.job-detail-card h1 {
    font-size: 24px;
    line-height: 32px;
    overflow-wrap: anywhere;
}

.job-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 20px;
}

.job-detail-tags span {
    background: #faf4ff;
    color: #9900ff;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12px;
}

.explore-jobs-page .job-detail-dates {
    color: #98a2b3;
    font-size: 12px;
    margin: 0 0 24px;
}

.job-content-updated {
    color: #159447;
    font-weight: 600;
}

.public-job-updated {
    margin: 8px 0 0;
    font-size: 12px;
}

.job-detail-description {
    border-top: 1px solid #f1f1f5;
    padding-top: 24px;
    margin-bottom: 32px;
    color: #475467;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.explore-jobs-page .job-detail-description h2 {
    font: 600 16px/24px var(--font-family-heading);
    color: #101828;
    margin: 0 0 12px;
}

.explore-jobs-page .job-detail-description p {
    font-size: 14px;
}

.job-apply-button {
    width: 100%;
    border: 0;
    background: #9900ff;
    border-radius: 999px;
    min-height: 48px;
    box-shadow: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.job-apply-button[hidden] {
    display: none;
}

.job-apply-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.job-apply-button.is-applied,
.job-apply-button:disabled {
    color: #98a2b3;
    background: #fff;
    border: 1px solid #e4e1eb;
    box-shadow: none;
    cursor: default;
}

.explore-jobs-page .job-apply-button.is-applied:hover,
.explore-jobs-page .job-apply-button.is-applied:active {
    color: #98a2b3;
    background: #fff;
    border: 1px solid #e4e1eb;
    box-shadow: none;
    transform: none;
}

.job-applied-date {
    margin: 12px 0 0;
    color: #98a2b3;
    text-align: center;
    font-size: 14px;
}

.job-application-confirmation {
    padding: 24px;
    border-radius: 20px;
    background: #fff;
}

.job-application-confirmation[hidden] {
    display: none;
}

.job-application-confirmation h2 {
    margin: 0 0 10px;
    color: #101828;
    font-size: 20px;
}

.job-application-confirmation > p {
    margin: 0 0 24px;
    color: #667085;
    font-size: 14px;
}

.job-application-confirmation form + form {
    margin-top: 12px;
}

.job-application-confirm-button,
.job-application-not-yet-button {
    width: 100%;
    min-height: 52px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
}

.job-application-confirm-button {
    background: #6941c6;
    border: 1px solid #6941c6;
    color: #fff;
}

.job-application-not-yet-button {
    background: #fff;
    border: 1px solid #e4e1eb;
    color: #101828;
}

.job-reported-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    margin: 0;
    color: #667085;
    font-size: 14px;
}

.job-application-success {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #a7f3c0;
    border-radius: 16px;
    background: #effcf4;
    padding: 16px 24px;
    color: #00a64b;
    font-size: 14px;
}

.job-application-success > span {
    background: #16a34a;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    flex-shrink: 0;
}

.explore-jobs-page .job-application-success p {
    font-size: 12px;
    line-height: 20px;
    margin: 0;
}

.job-report-section {
    border-top: 1px solid #f1f1f5;
    margin-top: 24px;
    padding-top: 24px;
}

.job-report-section [hidden] {
    display: none !important;
}

#job-report-dialog {
    position: fixed;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    width: min(560px, calc(100% - 32px));
    max-width: none;
    max-height: min(90vh, 720px);
    border: 1px solid #eaecf0;
    border-radius: 20px;
    padding: 24px;
    color: #344054;
    box-shadow: 0 24px 64px rgba(16, 24, 40, .18);
}

#job-report-dialog::backdrop {
    background: rgba(16, 24, 40, .48);
    backdrop-filter: blur(2px);
}

#job-report-dialog h2 {
    margin: 0 0 18px;
    color: #101828;
    font: 600 18px/26px var(--font-family-heading);
}

#open-job-report {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: #98a2b3;
    font-size: 14px;
    font-weight: 500;
}

#job-report-form label {
    display: block;
    color: #344054;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

#report-description {
    display: block;
    width: 100%;
    min-height: 106px;
    resize: vertical;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #f9fafb;
    padding: 12px 16px;
    font: 14px/22px var(--font-family-main);
    color: #344054;
}

#report-description::placeholder {
    color: #98a2b3;
}

.job-report-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 18px;
}

.job-report-actions button {
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 14px;
    line-height: 20px;
}

#cancel-job-report {
    border: 1px solid #e4e7ec;
    color: #344054;
    background: white;
}

#submit-job-report {
    border: 0;
    background: #ff3046;
    color: white;
    font-family: var(--font-family-heading);
    font-weight: 600;
}

#submit-job-report:disabled {
    background: #ffabb3;
    cursor: not-allowed;
}

@media (max-width: 575.98px) {
    #job-report-dialog {
        padding: 20px;
        border-radius: 16px;
    }

    .job-report-actions button {
        min-height: 44px;
    }
}

.job-report-success {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid #fcd56a;
    background: #fffaee;
    border-radius: 16px;
    color: #b76b00;
    font-size: 14px;
}

.job-report-success > span {
    display: grid;
    place-items: center;
    background: #f59e0b;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
}

.explore-jobs-page .job-report-success p {
    margin: 0;
    color: #d58a00;
    font-size: 12px;
    line-height: 20px;
}

@media (max-width: 575.98px) {
    .explore-jobs-heading {
        gap: 12px;
    }

    .explore-jobs-page h1 {
        font-size: 22px;
    }

    .public-job-card {
        padding: 16px;
    }

    .job-detail-page .job-detail-card {
        padding: 20px;
    }

    .job-detail-card .public-job-heading {
        flex-wrap: wrap;
    }

    .job-detail-card .public-job-identity {
        flex: 1 1 0;
        min-width: 0;
    }

    .job-detail-card .public-job-identity h1 {
        font-size: 22px !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere !important;
    }

    .job-detail-card .public-job-heading .job-report-section {
        flex: 0 0 100%;
        margin: 8px 0 0;
        text-align: right;
    }
}
/** END CSS **/

