/* REPLICATED THEME DESIGN & CORE STYLES */
.kjr-custom-jobs {
    background: #171919;
    color: #fff;
    padding: 40px 0;
    font-family: 'IBM Plex Sans', sans-serif;
}

/* FILTER ROW STYLES */
.kjr-filter-section {
    margin-bottom: 0px;
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.kjr-dropdowns-row {
    display: flex;
    gap: 20px;
    align-items: center;
}

.kjr-dropdown-container {
    position: relative;
    z-index: 100;
}

.kjr-dropdown-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    user-select: none;
}

.kjr-dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #a91e22;
}

.kjr-dropdown-arrow {
    font-size: 8px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.kjr-dropdown-container.open .kjr-dropdown-arrow {
    transform: rotate(180deg);
}

.kjr-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #1e2121;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px 0;
    margin: 0;
    min-width: 260px;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 101;
    max-height: 380px;
    overflow-y: auto;
}

.kjr-dropdown-container.open .kjr-dropdown-menu {
    display: block;
}

.kjr-dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* CHECKBOX ITEM STYLING INSIDE DROPDOWN */
.kjr-checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.25s ease;
    user-select: none;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0px;
}

.kjr-checkbox-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

/* Hide native checkbox */
.kjr-checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Custom checkmark box */
.kjr-checkmark {
    height: 16px;
    width: 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.kjr-checkbox-item:hover .kjr-checkmark {
    border-color: #a91e22;
}

.kjr-checkbox-item input:checked~.kjr-checkmark {
    background-color: #a91e22;
    border-color: #a91e22;
}

.kjr-checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.kjr-checkbox-item input:checked~.kjr-checkmark:after {
    display: block;
}

.kjr-checkbox-item input:checked~span:last-child {
    color: #fff;
}

/* DROPDOWN GROUP HEADERS */
.kjr-dropdown-group-header {
    padding: 12px 20px 6px;
    font-size: 10px;
    font-family: 'Tanker', sans-serif;
    color: #a91e22;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    margin-bottom: 4px;
    pointer-events: none;
    opacity: 0.8;
}

/* RESET BUTTON */
.kjr-reset-btn {
    background: none;
    border: none;
    color: #a91e22;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 10px 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kjr-reset-btn:hover {
    color: #fff;
    text-decoration: underline;
}

/* JOB ITEMS & ACCORDIONS */
.job-opening-hdn {
    color: #fff;
    font-family: "Tanker", sans-serif;
    font-size: 32px;
    line-height: 1.1;
    width: 40%;
}

.job-cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 50%;
    gap: 24px;
}

.job-cont p {
    color: #fff;
    font-size: 18px;
    margin: 0;
    white-space: nowrap;
}

.job-cont p.dept-name {
    font-weight: 700;
    opacity: 0.8;
    flex-grow: 1;
}

.job-btn {
    width: 45px;
    height: 45px;
    background: #a91e22;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease-in-out;
}

.job-btn img {
    width: 30px;
    height: 30px;
}

.kjr-loader {
    text-align: center;
    padding: 100px 0;
    font-size: 24px;
    opacity: 0.5;
}

.job-accordion-item {
    border-bottom: 1px solid rgba(184, 184, 184, 0.3);
    overflow: hidden;
}

.job-accordion-item:last-child {
    border-bottom: none;
}

.job-accordion-header {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.job-accordion-header:hover .job-btn {
    transform: rotate(-45deg);
}

.job-accordion-item.active .job-btn {
    transform: rotate(90deg) !important;
}

.job-accordion-content {
    max-height: 0;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    background: rgba(255, 255, 255, 0.02);
}

.job-accordion-item.active .job-accordion-content {
    max-height: 3000px;
    transition: max-height 0.5s ease-in-out;
}

.job-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding: 15px 15px;
}

.job-apply-side {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.job-apply-side h4,
.job-apply-side p {
    margin: 0;

}

.job-apply-side h4 {
    font-family: 'Tanker';
    font-weight: 400;
}

.kjr-dropdown-menu ul li {
    margin: 0px;
}





.job-description-side {
    width: 100%;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.job-description-side * {
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 100% !important;
    font-weight: 500;
}

.job-description-side div,
.job-description-side p {
    width: 100% !important;
}

.job-description-side h1,
.job-description-side h2,
.job-description-side h3 {
    color: #fff;
    font-family: 'Tanker', sans-serif;
    margin: 30px 0 15px;
}

.job-description-side ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.job-description-side li {
    margin-bottom: 10px;
}

/* RESPONSIVE LAYOUT OVERRIDES */
@media (max-width: 992px) {
    .job-accordion-content {
        overflow-y: scroll;
    }
}

@media (max-width: 768px) {
    .kjr-filter-section {
        justify-content: center;
        padding-bottom: 10px;
    }

    .kjr-dropdowns-row {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 15px;
    }

    .kjr-dropdown-container {
        width: 100%;
    }

    .kjr-dropdown-btn {
        width: 100%;
        justify-content: space-between;
    }

    .kjr-dropdown-menu {
        width: 100%;
        left: 0;
        right: auto;
    }

    .job-accordion-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
        gap: 0px;
    }

    .job-opening-hdn,
    .job-cont {
        width: 100%;
    }

    .job-cont {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .job-btn {
        align-self: flex-end;
    }

    .job-apply-side {
        flex-direction: column;
        align-items: flex-start;
    }
}

.job-apply-side .botvfx-custom-button {
    float: right;
    margin-top: 15px;
}