/* .job-search-form{
    margin-bottom:30px;
}

.job-search-form input{
    padding:10px;
    margin-right:10px;
} */

.job-card{
    border:1px solid #ddd;
    padding:20px;
}





@media (max-width:768px){
.jobsearch-RichSearch{border-bottom:none;}
}
.jobsearch-RichSearch{margin-top:1rem;padding:1rem;border-bottom:1px solid #e4e2e0;}
.jobsearch-RichSearch .jobsearch-RichSearchBody{margin:0 auto;padding:0 24px;}
@media screen and (min-width:960px)and (max-width:1279px){
.jobsearch-RichSearch .jobsearch-RichSearchBody{width:880px;}
}
@media screen and (min-width:1280px)and (max-width:1359px){
.jobsearch-RichSearch .jobsearch-RichSearchBody{width:940px;}
}
@media screen and (min-width:1360px)and (max-width:1439px){
.jobsearch-RichSearch .jobsearch-RichSearchBody{width:1025px;}
}
/* @media screen and (min-width:1440px)and (max-width:1739px){
.jobsearch-RichSearch .jobsearch-RichSearchBody{width:1100px;}
} */
@media screen and (min-width:1740px){
.jobsearch-RichSearch .jobsearch-RichSearchBody{width:1400px;}
}

.jobsresarch{flex:1!important;}


.MosaicProviderRichSearchDaemon .icl-Autocomplete-ariaResultsAvailable,.MosaicProviderRichSearchDaemon .icl-Autocomplete-ariaResultsAvailableWrapper{box-sizing:border-box;}
.MosaicProviderRichSearchDaemon .icl-Autocomplete-ariaResultsAvailableWrapper{overflow:hidden;position:relative;}
.MosaicProviderRichSearchDaemon .icl-Autocomplete-ariaResultsAvailable{position:absolute;top:-1000px;}
.MosaicProviderRichSearchDaemon .yosegi-InlineWhatWhere{margin-bottom:0.5rem;}
.MosaicProviderRichSearchDaemon .yosegi-InlineWhatWhere-form{display:-ms-flexbox;display:flex;
    /* align-items:center; */
    padding:0!important;}
@media (max-width: 62rem){
.MosaicProviderRichSearchDaemon .yosegi-InlineWhatWhere-form{flex-direction:column;align-items:stretch;}
}
.MosaicProviderRichSearchDaemon .yosegi-InlineWhatWhere-searchBox{flex-grow:1;display:flex;position:relative;}
@media (max-width: 62rem){
.MosaicProviderRichSearchDaemon .yosegi-InlineWhatWhere-searchBox{flex-direction:column;}
}
.MosaicProviderRichSearchDaemon .yosegi-InlineWhatWhere-what{margin-right:0.875rem;flex:1;}
@media (max-width: 48rem){
.MosaicProviderRichSearchDaemon .yosegi-InlineWhatWhere-what{margin-right:0.375rem;}
}
@media (max-width: 62rem){
.MosaicProviderRichSearchDaemon .yosegi-InlineWhatWhere-what{margin-right:0;}
}
.MosaicProviderRichSearchDaemon .yosegi-InlineWhatWhere-where{margin-right:0.875rem;margin-bottom:1rem;flex:1;}
@media (max-width: 48rem){
.MosaicProviderRichSearchDaemon .yosegi-InlineWhatWhere-where{margin-right:0.375rem;}
}
@media (max-width: 62rem){
.MosaicProviderRichSearchDaemon .yosegi-InlineWhatWhere-where{margin-right:0;}
}
.MosaicProviderRichSearchDaemon .yosegi-InlineWhatWhere-primaryButton{cursor:pointer;background:none;font-family:Noto Sans, Helvetica Neue, Helvetica, Arial, sans-serif;font-weight:700;font-size:1rem;letter-spacing:0;line-height:1.43;margin:0 0 1rem;line-height:1.125rem;padding:0.95rem 1rem;display:block;box-sizing:border-box;white-space:nowrap;word-break:keep-all;flex-shrink:0;background-color:#2557a7;border:0.0625rem solid transparent;border-radius:0.2rem;color:#fff;box-shadow:none;text-align:center;text-decoration:none;min-width:94px;}
.MosaicProviderRichSearchDaemon .yosegi-InlineWhatWhere-primaryButton:focus{outline:none;transition:box-shadow 0.2s linear;}
/* .MosaicProviderRichSearchDaemon .yosegi-InlineWhatWhere-primaryButton:active{background:#0d2d5e;box-shadow:inset 0 2px 4px RGB(45 45 45/20%),     inset 0 1px 3px RGB(45 45 45/12%), inset 0 0 2px RGB(45 45 45/20%);} */
.MosaicProviderRichSearchDaemon .yosegi-InlineWhatWhere-primaryButton:hover{background-color:#164081;color:#fff;}
@media (max-width: 56rem){
.MosaicProviderRichSearchDaemon .yosegi-InlineWhatWhere-primaryButton{margin-right:0;}
}



.mosaic:empty{min-width:var(--mosaic-placeholder-width, 0);min-height:var(--mosaic-placeholder-height, 0);}
.mosaic > *{--mosaic-placeholder-width:0;--mosaic-placeholder-height:0;}


#home-search-box{color:grey;text-align:center;margin-left:-5rem; font-size: 2rem;}
@media screen and (max-width:1000px){
#home-search-box{text-align:center;margin-left:0;}
}

#search-location-field-desktop{position: relative;}

#search-location-field-desktop:focus + #suggestion-list{display: block;}


@media screen and (min-width:32.8125em) and (max-width:45.4375em){
#btn-search{margin-top:10px;width:auto!important;}
}
@media screen and (max-width:32.75em){
#btn-search{margin-top:10px;width:auto!important;}
}



.icl-TextInput{border:1px solid #949494!important;border-radius:0.5rem!important;display:-ms-flexbox!important;display:flex!important;align-items:center!important;padding:0.5rem 1rem;}
.icl-TextInput-labelWrapper{margin:0 1rem 0 0!important;line-height:1.125rem!important;white-space:nowrap!important;word-break:keep-all!important;}
.icl-TextInput-control{border:none!important;padding:0 1.5rem 0 0!important;color:#2d2d2d;font-family:Noto Sans, Helvetica Neue, Helvetica, Arial, sans-serif;font-weight:400;font-size:0.875rem;letter-spacing:0;line-height:1.43;line-height:1.125rem;}
.icl-TextInput-wrapper{flex:1 1 auto!important;line-height:1.125rem!important;}
.icl-TextInput-control,.icl-TextInput-icon,.icl-TextInput-label,.icl-TextInput-labelWrapper,.icl-TextInput-wrapper{box-sizing:border-box;}

@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){
.icl-TextInput-control{height:2.75rem;}
.icl-TextInput-icon{top:calc(.875rem - 2px);}
}
input[type=text].icl-TextInput-control{-webkit-appearance:none;}
.icl-TextInput-control{background-color:#fff;border:2px solid #ccc;border-radius:.25rem;color:#4b4b4b;font-size:.875rem;line-height:1.72;min-width:7rem;outline:none;outline-offset:0;padding:.5rem 1rem;width:100%;}
.icl-TextInput-control{font-family:Helvetica Neue,Helvetica,Arial,Liberation Sans,Roboto,Noto,sans-serif;font-weight:400;letter-spacing:0;}
.icl-TextInput-control:focus{background:#fff;border-color:#1497ff;}
.icl-TextInput-control:disabled{background-color:#fff;border-color:#ececec;color:#ccc;}
.icl-TextInput-control--withIconRight{padding-right:2rem;}
.icl-TextInput-labelWrapper{margin-bottom:.5rem;}
.icl-TextInput-label{color:#4b4b4b;display:block;font-family:Helvetica Neue,Helvetica,Arial,Liberation Sans,Roboto,Noto,sans-serif;font-size:.875rem;font-weight:700;letter-spacing:0;line-height:1.43;}
.icl-TextInput-wrapper{position:relative;}
.icl-TextInput-icon{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;position:absolute;top:calc(50% - .5625rem);}
.icl-TextInput-icon.iconRight{right:10px;}



#suggestion-list{display:none;list-style: none;padding: 0;margin: 0;position: absolute;z-index: 1;width: 200px;max-height: 150px;overflow-y: auto; background-color: #fff;border: 1px solid #ddd;border-radius: 5px;box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);-webkit-appearance:none;border-radius:0.5rem;margin-top: 0.3rem;}
#suggestion-list::-webkit-scrollbar{-webkit-appearance:none;width:7px;}
#suggestion-list::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,.5);-webkit-box-shadow:0 0 1px rgba(255,255,255,.5);}
#suggestion-list li {padding: 10px;cursor: pointer;font-size: 1rem;}
#suggestion-list li:hover {background-color: #f4f4f4;}
#suggestion-list li:nth-child(odd) {background-color: #f0f0f0;}

#suggestion-list .active{ background-color: #A9A9A9 !important}

/* css for login button */
.current-employee {
    margin-left: 0.875rem;
    cursor: pointer;
    background: none;
    font-family: Noto Sans, Helvetica Neue, Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0;
    line-height: 1.43;
    /* margin: 0 1rem 1rem; */
    line-height: 1.125rem;
    padding: 0.95rem 1rem;
    display: block;
    box-sizing: border-box;
    white-space: nowrap;
    word-break: keep-all;
    flex-shrink: 0;
    background-color: #ffa300;
    border: 0.0625rem solid transparent;
    border-radius: 0.2rem;
    color: #fff;
    box-shadow: none;
    text-align: center;
    text-decoration: none;
    min-width: 94px;
}

@media (max-width: 62rem) {
    .current-employee {
        margin: 0 0 1rem;
    }
}

.current-employee:hover {
    color: #000;
}

/* for wp */
.current-employee{margin-bottom:2rem!important;}

/* end login button */


/* Job Card */

.job-card{
    background:#ffffff;
    border:1px solid #e2e2e2;
    border-radius:10px;
    padding:20px;
    transition: all .2s ease;
}

.job-card:hover{
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

/* Job Title */

.job-title{
    font-size:1.125rem;
    font-weight:700;
    color:#1a2b3c;
    margin-bottom:6px;
}

/* Company */

.company{
    font-size:.875rem;
    color:#333;
    margin-bottom:4px;
}

/* Location */

.location{
    font-size:.875rem;
    color:#333;
    margin-bottom:16px;
}


/* Description */

.description{
    color:#4d4d4d;
    line-height:1.6;
    margin-bottom:18px;
}

/* Posted Date */

.posted{
    display:inline-block;
    background:#efefef;
    color:#444;
    padding: 4px 8px;
    border-radius: 6px;
    font-size:.875rem;
}


.job-listings {
    /* height: 100vh; */
    overflow-y: auto;
}


/* RIGHT SIDE */
#job-detail-container {
    position: sticky;
    border-radius:10px;
    top: 20px;
    height: calc(100vh - 20px);
    display: flex;
    flex-direction: column;
}


/* ===============================
Detail Card UI
=============================== */
.job-detail-card {
    background: #fff;
    border-radius: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #000;
}

/* Header */
.job-detail-card h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    color: black;
}

.job-detail-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    padding-top: 25px;
}

/* Apply Button */
.apply-btn {
    background: #2d5bd1;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
}

.apply-btn:hover {
    background: #1f45a8;
}


/* ===============================
Scrollable Content
=============================== */

.job-meta-row{
    margin-bottom:15px;
}

.job-meta-row strong{
    display:block;
    font-size:16px;
}

.job-meta-value{
    margin-top:5px;
}

.job-description{
    margin-top:20px;
}

.job-detail-body {
    padding: 15px;
    overflow-y: auto;
    height: 100%;
}

/* Smooth Scroll */
.job-detail-body::-webkit-scrollbar {
    width: 6px;
}

.job-detail-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.job-detail-body::-webkit-scrollbar-thumb:hover {
    background: #999;
}


/* ===============================
Text Styling
=============================== */
.job-detail-body p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.job-detail-body ul {
    padding-left: 18px;
}

.job-detail-body li {
    margin-bottom: 8px;
}

.job-detail-body :is(h1, h2, h3, h4, h5, h6) {
    font-size: 20px;
    font-weight: 400;
    color: #222;
}


.job-detail-loader {
    position: relative;
    width: 100%;
    height: 100%; /* take full height of container */
    min-height: 200px; /* fallback if container has no height */
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.8); /* optional semi-transparent overlay */
}

.d_spinner {
    width: 100px;
    height: 40px;
    text-align: center;
    font-size: 10px;
}

.d_spinner > div {
    background-color: #555;
    height: 100%;
    width: 5px;
    display: inline-block;
    margin: 0 2px;
    animation: stretchdelay 1.2s infinite ease-in-out;
}

.d_spinner .rect2 { animation-delay: -1.1s; }
.d_spinner .rect3 { animation-delay: -1.0s; }
.d_spinner .rect4 { animation-delay: -0.9s; }
.d_spinner .rect5 { animation-delay: -0.9s; }

@keyframes stretchdelay {
    0%, 40%, 100% { transform: scaleY(0.4) }
    20% { transform: scaleY(1.0) }
}

/* Container for header and job count */
.job-listing-header {
    display: flex;
    justify-content: flex-end;  /* Aligns count to the right */
    align-items: center;
    margin-bottom: 10px;        /* Space below the counter */
    margin-right: 20px;
    font-size: 17px;
    color: #333;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 14px;
    background: #eee;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
}

.pagination a:hover {
    background: #ddd;
}

.pagination .active {
    background: #555;
    color: #fff;
}


.similar-jobs-section {
    margin-top: 30px;
}

.similar-title {
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 600;
    color: black;
}

.similar-jobs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.similar-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #f1f1f1;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
    font-weight: 600;
}

.similar-pill:hover {
    background: #e2e2e2;
}

/* ═══════════════════════════════════════════════════════
   AJAX Loading Overlay  (inside .csa-job-wrapper)
═══════════════════════════════════════════════════════ */
.csa-job-wrapper {
    position: relative;
}

.csa-loading-overlay {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(2px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    border-radius: 8px;
    /* minimum height so overlay shows on empty results */
    min-height: 120px;
}

.csa-loading-overlay.is-visible {
    display: flex;
}

.csa-loading-spinner {
    display: inline-block;
    width: 36px;
    height: 36px;
    border: 4px solid #e2e8f0;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: csaSpin 0.75s linear infinite;
}

.csa-loading-text {
    font-size: 14px;
    color: #475569;
    font-weight: 500;
}

@keyframes csaSpin {
    to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════
   No-jobs message
═══════════════════════════════════════════════════════ */
.csa-no-jobs {
    padding: 24px;
    text-align: center;
    color: #64748b;
    font-size: 15px;
}

/* ═══════════════════════════════════════════════════════
   Pagination AJAX links
═══════════════════════════════════════════════════════ */
.csa-page-link {
    cursor: pointer;
}
