/* Frontend layout */

.jbp-filter-wrap { margin:20px 0; }
.jbp-filter { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:15px; }
.jbp-filter select, .jbp-filter input { padding:8px; border:1px solid #ccc; border-radius:4px; }

.jbp-job-row { display:flex; justify-content:space-between; padding:12px; border:1px solid #eaeaea; margin-bottom:8px; border-radius:6px; background:#fff; }
.jbp-left { flex:1; }
.jbp-right { width:150px; text-align:right; }
.jbp-title { margin:0; font-size:18px; }
.jbp-meta { color:#666; font-size:13px; margin-top:6px; }
.jbp-salary { font-weight:700; color:#0073aa; margin-bottom:6px; }

.jbp-single-wrapper { max-width:900px; margin:30px auto; padding:24px; background:#fff; border-radius:8px; border:1px solid #ddd; }
.jbp-single-title { font-size:28px; color:#0073aa; margin-bottom:6px; }
.jbp-single-meta div { margin-bottom:6px; }
.jbp-files a { background:#0073aa; color:#fff; padding:6px 10px; border-radius:4px; text-decoration:none; }
.jbp-contact, .jbp-address { margin-top:16px; }
.jbp-apply-form { margin-top:20px; padding:12px; border:1px solid #eee; border-radius:6px; background:#fafafa; }
.jbp-apply-form input[type=file] { border: none; padding:0; }
.jbp-success { background:#dff0d8; padding:10px; border-radius:4px; color:#3c763d; }

/*
* Single Job Posting Styles
*/
 .job-wrapper {
        max-width: 900px;
        margin: 40px auto;
        padding: 30px;
        background: #ffffff;
        border-radius: 8px;
        box-shadow: 0 3px 15px rgba(0,0,0,0.1);
        font-family: Arial, sans-serif;
    }

    .job-wrapper h1 {
        margin-bottom: 10px;
        font-size: 32px;
        font-weight: 700;
        color: #222;
    }

    .job-meta-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-bottom: 35px;
        padding: 20px;
        background: #f5f7fa;
        border-radius: 6px;
    }

    .job-meta-item strong {
        display: block;
        font-size: 13px;
        margin-bottom:0px !important;
        color: #555;
        margin-bottom: 5px;
        text-transform: uppercase;
        font-weight: 900;
    }

    .job-meta-item span {
        font-size: 15px;
        color: #222;
    }

    .job-section {
        margin-bottom: 40px;
    }

    .job-section h2 {
        margin-bottom: 15px;
        font-size: 22px;
        border-left: 4px solid #0073aa;
        padding-left: 10px;
        color: #111;
    }

    .job-section p, 
    .job-section div {
        font-size: 15px;
        color: #333;
        line-height: 1.6;
    }

    .job-doc {
        margin-top: 20px;
        padding: 15px;
        background: #f0f7ff;
        border-left: 3px solid #0073aa;
    }

    .job-related-links ul {
        padding-left: 20px;
        margin-top: 8px;
    }

    .job-related-links li a {
        color: #0073aa;
        text-decoration: none;
    }

    .job-related-links li a:hover {
        text-decoration: underline;
    }

    @media(max-width: 600px){
        .job-meta-grid {
            grid-template-columns: 1fr;
        }
    }


/* Apply Now Button */
.jbp-apply-btn {
    background: #0073aa;
    color: #fff;
    padding: 12px 28px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: .3s ease;
    margin: 20px 0;
}
.jbp-apply-btn:hover {
    background: #005f8d;
}

/* Popup Overlay */
.jbp-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}

/* Active popup */
.jbp-popup.active {
    opacity: 1;
    pointer-events: all;
}

/* Animated Popup Box */
.jbp-popup-content {
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    width: 90%;
    max-width: 650px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-height: 600px;
    overflow-y: auto;
    /* Animation */
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
}

/* When active, animate in */
.jbp-popup.active .jbp-popup-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Close button */
.jbp-close {
    position: absolute;
    right: 18px;
    top: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #333;
    transition: .3s ease;
}
.jbp-close:hover {
    color: #000;
}

.job-meta-item-details {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f1f1f1;
    padding: 10px 30px;
    border-radius: 15px;
}

.job-meta-item-details h2 {
        width: 30%;
    font-size: 22px;
    margin: 10px 0;
}

.job-meta-item-details .job-meta-item.job-cat {
    background: #ccc;
    line-height: 1;
    padding: 0px 11px 9px;
    text-align: center;
    letter-spacing: .5px;
}

.job-meta-item-details .job-meta-item.job-cat span {
    font-size: 12px;
}
.jbp-job-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.jbp-job-list .job-meta-item {
    width: 14%;
}