/* job listings css */
/**
 * Jobs CSS styles
 * Add this to your plugin's CSS file or create a new file: assets/css/jobs-listing.css
 */

/* Jobs Container Styles */
.jobs-listing-wrapper{
    width: 100%;
}
.jobs-container {
    width: 100%;
}

.jobs-filters {
    margin-bottom: 40px;
    width: 100%;
}

.filter-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

@media all and (max-width: 768px) {
    .filter-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

.filter-label {
    font-family: var(--fb-global-fb_customtypo_9ow7d--font-family);
    font-size: var(--fb-global-fb_customtypo_9ow7d--font-size);
    font-weight: var(--fb-global-fb_customtypo_9ow7d--font-weight);
    line-height: var(--fb-global-fb_customtypo_9ow7d--font-line-height);
    color: var(--wp--frontis--color--gray-950);
    margin: 0px 0px 0px 0px;
    border: none;
    transition: all .3s ease-in-out;
}

.filter-dropdowns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    flex: 1;
}

.filter-group {
    min-width: 200px;
    flex-grow: 1;
}

.job-filter {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--wp--frontis--color--gray-300);
    border-radius: 6px;
    color: var(--wp--frontis--color--grau-600);
    font-size: var(--fb-global-fb_customtypo_a44tl--font-size);
    font-weight: var(--fb-global-fb_customtypo_a44tl--font-weight);
    line-height: var(--fb-global-fb_customtypo_a44tl--font-line-height);
    margin: 0px 0px 0px 0px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
}

/* Jobs Grid Styles */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .jobs-grid {
        grid-template-columns: 1fr;
    }
}

/* Job Card Styles */
.job-card {
    background-color: #F8F9FE;
    border: 1px solid #E9EAEB;
    border-radius: 4px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.job-card:hover {
    transform: translateY(-3px);
}

.job-department {
    color: #000000;
    font-family: var(--fb-global-fb_customtypo_f2f7k--font-family);
    font-size: var(--fb-global-fb_customtypo_3eeo1--font-size);
    font-weight: var(--fb-global-fb_customtypo_3eeo1--font-weight);
    line-height: var(--fb-global-fb_customtypo_3eeo1--font-line-height);
    margin: 0px 0px 32px 0px;
    transition: all .3s ease-in-out;
}

.job-title {
    color: #000000;
    font-family: var(--fb-global-fb_customtypo_f2f7k--font-family);
    font-size: var(--fb-global-fb_customtypo_f2f7k--font-size);
    font-weight: var(--fb-global-fb_customtypo_f2f7k--font-weight);
    line-height: var(--fb-global-fb_customtypo_f2f7k--font-line-height);
    margin: 0px 0px 12px 0px;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    color: #000000;
    font-family: var(--fb-global-fb_customtypo_ugs6e--font-family);
    font-size: var(--fb-global-fb_customtypo_ugs6e--font-size);
    font-weight: var(--fb-global-fb_customtypo_ugs6e--font-weight);
    line-height: var(--fb-global-fb_customtypo_ugs6e--font-line-height);
    margin: 0px 0px 48px 0px;
    transition: all .3s ease-in-out;
}

.job-details br,
.job-details .job-detail br {
    display: none;
}
.jobs-listing-wrapper p:empty {
    display: none;
}

.jobs-listing-wrapper br {
    display: none;
}
.job-detail {
    display: inline-block;
    font-family: var(--fb-global-fb_customtypo_ugs6e--font-family);
    font-size: var(--fb-global-fb_customtypo_ugs6e--font-size);
    font-weight: var(--fb-global-fb_customtypo_ugs6e--font-weight);
    letter-spacing: var(--fb-global-fb_customtypo_ugs6e--font-letter-spacing);
    line-height: var(--fb-global-fb_customtypo_ugs6e--font-line-height);
    margin: 0px 0px 0px 0px;
    border: none;
    transition: all .3s ease-in-out;
}

.detail-separator {
    margin: 0 12px;
    color: #000000;
}

.job-apply {
    margin-top: auto;
}

.apply-btn {
    display: inline-flex;
    align-items: center;
    color: var(--wp--frontis--color--blue-500);
    font-family: var(--fb-global-fb_customtypo_9ow7d--font-family);
    font-size: var(--fb-global-fb_customtypo_9ow7d--font-size);
    font-weight: var(--fb-global-fb_customtypo_9ow7d--font-weight);
    line-height: var(--fb-global-fb_customtypo_9ow7d--font-line-height);
    margin: 0px 0px 0px 0px;
    transition: all .3s ease-in-out;
}

.apply-btn br {
    display: none;
}

.apply-btn:hover {
    color: #2c49c7;
}

.apply-arrow {
    margin-left: 8px;
    width: 24px;
    height: 24px;
    transform: rotate(-45deg);
    transition: all .3s ease-in-out;
}

.apply-btn:hover .apply-arrow {
    transform: translateX(3px);
}

.no-jobs-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

/* Load More Button */
.jobs-load-more-container {
    margin: 0 auto;
    margin-top: 40px;
    text-align: center;
}

.jobs-load-more-btn {
    color: var(--wp--frontis--color--blue-500);
    font-family: var(--fb-global-fb_customtypo_9ow7d--font-family);
    font-size: var(--fb-global-fb_customtypo_9ow7d--font-size);
    font-weight: var(--fb-global-fb_customtypo_9ow7d--font-weight);
    line-height: var(--fb-global-fb_customtypo_9ow7d--font-line-height);
    margin: 0px 0px 0px 0px;
    background: none;
    border: 1px solid var(--wp--frontis--color--blue-50);
    border-radius: 4px;
    padding: 11px 24px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jobs-load-more-btn br {
    display: none;
}

.jobs-load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.jobs-load-more-btn:hover:not(:disabled) {
    background-color: #f5f5f5;
    border-color: #ccc;
}

/* Load More Spinner Animation */
.load-more-spinner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.load-more-spinner svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Job meta in single page */
.jobs-template-single-jobs .wp-block-post-title {
    margin: 0;
}

.job-meta-display {
    display: flex;
    gap: 110px;
    margin: 24px 0 48px 0;
}

.job-meta-display .job-meta-column {
    padding-right: 110px;
    border-right: 1px solid #D5D7DA;
}

@media all and (max-width: 768px) {
    .job-meta-display {
        gap: 20px;
    }

    .job-meta-display .job-meta-column {
        padding-right: 20px;
        border-right: 1px solid #D5D7DA;
    }
}

.job-meta-display .job-meta-column:last-child {
    padding-right: 0;
    border-right: none;
}

.job-meta-display .job-meta-title {
    color: #535862;
    font-family: var(--fb-global-fb_customtypo_f2f7k--font-family);
    font-size: var(--fb-global-fb_customtypo_f2f7k--font-size);
    font-weight: var(--fb-global-fb_customtypo_f2f7k--font-weight);
    letter-spacing: var(--fb-global-fb_customtypo_f2f7k--font-letter-spacing);
    line-height: var(--fb-global-fb_customtypo_f2f7k--font-line-height);
    margin: 0px 0px 12px 0px;
    border: none;
    transition: all .3s ease-in-out;
}

.job-meta-display .job-meta-value {
    color: #000000;
    font-family: var(--fb-global-fb_customtypo_f2f7k--font-family);
    font-size: var(--fb-global-fb_customtypo_f2f7k--font-size);
    font-weight: var(--fb-global-fb_customtypo_f2f7k--font-weight);
    letter-spacing: var(--fb-global-fb_customtypo_f2f7k--font-letter-spacing);
    line-height: var(--fb-global-fb_customtypo_f2f7k--font-line-height);
    margin: 0px 0px 0px 0px;
    border: none;
    transition: all .3s ease-in-out;
}