/* Department heading */
.wjb-dept-title {
    margin-top: 2.5em;
    margin-bottom: 1em;
    font-size: 1.5em;
    font-weight: 600;
    color: #193459;
    letter-spacing: 0.01em;
}

/* Job list (ul) */
.single-content .wjb-job-list {
    list-style: none;
    padding: 0 !important;
    margin-bottom: 0px;
}

li.wjb-job-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e9e9e9;
}

/* Job title link */
.wjb-job-item .wjb-view-detail-btn {
    display: block;
    color: #1354c2;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15em;
    transition: color 0.18s;
    margin-bottom: 0.1em;
}
.wjb-job-item .wjb-view-detail-btn:hover {
    color: #0c2b4e;
    text-decoration: underline;
}

/* Job location under title */
.wjb-job-location {
    color: #535353;
    font-size: 1em;
    margin-top: 4px;
    margin-bottom: 2px;
    padding-left: 1px;
}

/* Job detail panel */
.wjb-job-detail-inner h2 {
    font-size: 1.45em;
    margin-bottom: 0.5em;
    color: #1d375a;
}
.wjb-job-desc {
    margin-bottom: 2em;
    color: #222e3a;
    line-height: 1.7;
}
.wjb-job-desc ul, .wjb-job-desc ol {
    margin: 0.6em 0 1em 1.4em;
}
.wjb-job-desc li {
    margin-bottom: 0.4em;
}

.wjb-apply-btn {
    display: inline-block;
    background: #246dff;
    color: #fff;
    padding: 0.68em 1.6em;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1.02em;
    text-decoration: none;
    transition: background 0.15s;
    margin-top: 0.8em;
}
.wjb-apply-btn:hover {
    background: #02182e;
    color: #fff;
}

.wjb-back-to-list {
    cursor: pointer;
    color: #1354c2;
    font-size: 1.05em;
    margin-bottom: 1.4em;
    display: inline-block;
    text-decoration: underline;
}

/* Filters container */
.wjb-filters-container {
    display: flex;
    gap: 1.2em;
    align-items: flex-end;
    margin-bottom: 2em;
    flex-wrap: wrap;
}
#wjb-job-search {
    font-size: 1em;
    padding: 0.45em 0.9em;
    border-radius: 6px;
    border: 1px solid #ced3dc;
    background: #fcfcfe;
}
#wjb-filter-department, #wjb-filter-location {
    font-size: 1em;
    padding: 0.45em 1.1em 0.45em 0.7em;
    border-radius: 6px;
    border: 1px solid #ced3dc;
}
div#wjb-job-filters {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    justify-content: space-between;
    max-width: 900px;
    margin: 1rem auto;
}

div#wjb-job-filters :is(select, input) {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
    max-width: 284px;
    min-width: 160px;
    padding: 0.4rem;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #555555;
    color: #555555;
    font-size: 16px;
    line-height: 2;
}

.wjb-disabled{
    opacity:0.5;
    pointer-events:none; 
}

.screen-reader-text {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Application Form Styles */

#wjb-application-form-container {
    max-width: 1280px;
    margin: 2em 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 28px rgba(0,0,0,0.08);
    padding: 2em 2em 1.2em 2em;
}

/* The form itself */
#wjb-application-form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

/* Individual form field */
#wjb-application-form .wjb-field {
    display: flex;
    flex-direction: column;
    gap: 0.42em;
    margin-bottom: 0.5em;
}

.wjb-field br {
    display: none;
}

#wjb-application-form label {
    font-weight: 500;
    font-size: 1.09em;
    color: #1a3354;
    margin-bottom: 0.08em;
}

#wjb-application-form input[type="text"],
#wjb-application-form input[type="email"],
#wjb-application-form input[type="file"] {
    font-size: 1em;
    padding: 0.55em 0.88em;
    border-radius: 7px;
    border: 1px solid #ced3dc;
    background: #f6f8fc;
    margin-top: 0.04em;
}

#wjb-application-form input[type="file"] {
    background: #f6f8fc;
    padding: 0.43em 0.7em;
    font-size: 1em;
    border: 1px solid #c7d0e3;
    border-radius: 7px;
}

#wjb-application-form small {
    color: #687790;
    font-size: 0.98em;
    margin-top: 0.2em;
    display: block;
}

/* Submit button */
#wjb-application-form button[type="submit"] {
	max-width: 256px;
    display: inline-block;
    background: #246dff;
    color: #fff;
    padding: 0.68em 1.6em;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1.08em;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    margin-top: 0.8em;
}
#wjb-application-form button[type="submit"]:hover {
    background: #02182e;
    color: #fff;
}

#wjb-application-form .wjb-form-msg {
    margin-top: 1.1em;
    font-size: 1.02em;
    color: #126d2f;
/*     min-height: 1.4em; */
}

/* Responsive for mobile */
@media (max-width: 650px) {
    .wjb-filters-container {
        flex-direction: column;
        gap: 0.7em;
        align-items: stretch;
    }
    #wjb-job-detail {
        padding: 1.2em 0.5em;
    }
}

@media (max-width: 600px) {
    #wjb-application-form-container {
        padding: 1.1em 0.5em 1em 0.5em;
        max-width: 98vw;
    }
}
