.jobs-search {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    background-color: rgba(0, 0, 0, 0.425);
    backdrop-filter: blur(10px);
}
.jobs-search,
.jobs-search * {
    transition: 0.6s;
}
.jobs-search.active {
    opacity: 1;
    pointer-events: all;
}
.jobs-search-background {
    height: 100%;
    width: 100%;
    padding: 100px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}
@media (max-width: 1024px) {
    .jobs-search-background {
        padding: 50px 20px;
    }
}
.jobs-search-input {
    width: min(500px, 100%);
    background-color: white;
    border-radius: 99px;
    padding: 8px 20px;
    box-sizing: border-box;
    transform: translateY(20px);
}

.jobs-search.active .jobs-search-input {
    transform: translateY(0);
}

.jobs-search-input form {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}
.jobs-search-input input {
    width: calc(100% - 60px);
    height: 40px;
    font-size: 18px;
    outline: none;
    border: none;
}
.jobs-search-input svg {
}
.jobs-search-input button {
    border: none;
    outline: none;
    background-color: transparent;
    padding: 0;
    margin: 0;
    width: 24px;
    height: 24px;
}
.jobs-search-input button:focus,
.jobs-search-input button:active,
.jobs-search-input button:hover {
    outline: none;
    background-color: transparent;
}
.jobs-search.is-loading .jobs-search-loader {
    display: flex;
}
.jobs-search-result {
    padding: 0 25px;
    background-color: white;
    box-sizing: border-box;
    width: min(900px, 100%);
    margin-top: 20px;
    border-radius: 8px;
    max-height: 0;
    overflow: auto;
    transform: translateY(20px);
}

.jobs-search:has(.jobs-search-input input:valid) .jobs-search-result {
    padding: 25px 25px;
    max-height: 500px;
}
@media (max-width: 1024px) {
    .jobs-search-result {
        width: min(500px, 100%);
        padding: 0 20px;
    }
    .jobs-search:has(.jobs-search-input input:valid) .jobs-search-result {
        padding: 8px;
    }
}
.jobs-search.active .jobs-search-result {
    transform: translateY(0);
}

.jobs-search-loader {
    height: 100px;
    width: 100%;
    display: none;
    justify-content: center;
    align-items: center;
}
.jobs-search.is-loading .jobs-search-loader {
    display: flex;
}

.jobs-search-loader svg {
    width: 3.25em;
    transform-origin: center;
    animation: rotate4 2s linear infinite;
}

.jobs-search-loader circle {
    fill: none;
    stroke: hsl(214, 97%, 59%);
    stroke-width: 2;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash4 1.5s ease-in-out infinite;
}

@keyframes rotate4 {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash4 {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -35px;
    }

    100% {
        stroke-dashoffset: -125px;
    }
}

.jobs-search-items {
    display: grid;
    flex-direction: row;
    justify-content: flex-start;
    gap: 30px 30px;
    flex-wrap: wrap;
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 1024px) {
    .jobs-search-items {
        grid-template-columns: repeat(1, 1fr);
        gap: 0px;
    }
}
.jobs-search.is-loading .jobs-search-items {
    display: none;
}
.jobs-search-no-post {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    display: none;
    text-align: center;
    color: #333;
}

.jobs-search:not(.is-loading):has(.jobs-search-items:empty) .jobs-search-no-post {
    display: block;
}

.jobs-search-item {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
    text-decoration: none;
    position: relative;
    border-radius: 6px;
}
@media (max-width: 1024px) {
    .jobs-search-item {
        padding: 16px 0;
    }
}
@media (min-width: 1025px) {
    .jobs-search-item:hover {
        background-color: rgb(240, 240, 240);
    }
}

.jobs-search-image {
    width: 60px;
    height: 60px;
}
.jobs-search-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jobs-search-title {
    width: calc(100% - 80px);
    color: #333;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.jobs-search-type {
    position: absolute;
    right: 5px;
    top: -5px;
    font-size: 12px;
    color: #999;
}
@media (max-width: 1024px) {
    .jobs-search-type {
        right: 0px;
        top: -6px;
    }
}
.jobs-search-close-default {
    position: fixed;
    top: 50px;
    right: 50px;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
@media (max-width: 768px) {
    .jobs-search-close-default {
        top: unset;
        bottom: 20px;
        right: unset;
        left: 50%;
        transform: translateX(-50%);
    }
}

.jobs-search-open,
.jobs-search-close,
.jobs-search-close-default {
    cursor: pointer;
}