/* =========================================
   MEDCONNECT JOBS - SCOPED TYPOGRAPHY
   Prevent font changes outside Jobs module
   ========================================= */

.mc-jobs-page,
.mc-jobs-page h1,
.mc-jobs-page h2,
.mc-jobs-page h3,
.mc-jobs-page h4,
.mc-jobs-page h5,
.mc-jobs-page h6,
.mc-jobs-page p,
.mc-jobs-page span,
.mc-jobs-page a,
.mc-jobs-page li,
.mc-jobs-page button,
.mc-jobs-page input,
.mc-jobs-page select,
.mc-jobs-page textarea,
.mc-job-modal,
.mc-job-modal h2,
.mc-job-modal h3,
.mc-job-modal h4,
.mc-job-modal p,
.mc-job-modal span,
.mc-job-modal li,
.mc-job-modal button {
    font-family: 'Google Sans', Arial, sans-serif;
}
.mc-jobs-page{
    display:grid;
    grid-template-columns:280px 1fr 280px;
    gap:25px;
    max-width:1600px;
    margin:auto;
    padding:20px;
}
.mc-filters,
.mc-hot-jobs{
    position:sticky;
    top:20px;
    align-self:start;
}
.job-card{
    max-width:650px;
    background:#fff;
    border-radius:16px;
    padding:24px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    border:1px solid #eef2f7;
    transition:.3s ease;
    font-family:'Segoe UI',sans-serif;
    margin:20px auto;
}

.job-card:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(0,0,0,0.12);
}

.job-header{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:18px;
}

.hospital-logo img{
    width:70px !important;
    height:70px !important;
    border-radius:12px;
    object-fit:cover;
    border:1px solid #e5e7eb;
}

.job-info{
    flex:1;
}

.job-info h5{
    margin:0;
    font-size:22px;
    color:#1e293b;
    font-weight:700;
    letter-spacing: 0 !important;
}

.hospital-name{
    margin:4px 0 0;
    color:#64748b;
    font-size:15px;
}

.job-type{
    background:#e8f7ee;
    color:#0f9d58;
    padding:8px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    white-space:nowrap;
}

.job-meta{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    margin-bottom:15px;
    color:#475569;
    font-size:14px;
}

.job-description{
    color:#64748b;
    line-height:1.7;
    font-size:15px;
    margin:0;
}

.job-footer{
    margin-top:22px;
    display:flex;
    gap:12px;
}

.apply-btn{
    background:#0f766e;
    color:white;
    border:none;
    padding:12px 24px;
    border-radius:10px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.apply-btn:hover{
    background:#115e59;
}

.details-btn{
    background:white;
    color:#334155;
    border:1px solid #dbe3ed;
    padding:12px 24px;
    border-radius:10px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.details-btn:hover{
    background:#f8fafc;
}

.mc-hot-jobs{
    padding:00px;
    border-radius:16px;
    position:sticky;
    top:20px;
}

.mc-hot-jobs h3{
    margin:0 0 20px;
    color:#0f172a;
    font-size:18px;
    font-weight:700;
}

.hot-job{
    padding:14px;
    margin-bottom:12px;
    border:1px solid #e5e7eb;
    border-radius:12px;
    transition:.3s ease;
    cursor:pointer;
    background:#fff;
}

.hot-job:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    border-color:#0f766e;
}

.hot-job strong{
    display:block;
    color:#0f172a;
    font-size:15px;
    font-weight:700;
    margin-bottom:6px;
}

.hot-job .hospital{
    display:block;
    color:#64748b;
    font-size:13px;
    margin-bottom:4px;
}

.hot-job .location{
    display:block;
    color:#0f766e;
    font-size:13px;
    font-weight:600;
}

.hot-job:last-child{
    margin-bottom:0;
}

@media(max-width:768px){
    .job-header{
        flex-wrap:wrap;
    }

    .job-footer{
        flex-direction:column;
    }

    .apply-btn,
    .details-btn{
        width:100%;
    }
}
/* Mobile job card buttons - same row */
@media (max-width: 768px) {

    .mc-jobs-page .job-card .job-footer {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        justify-content: space-between !important;
        gap: 8px !important;
        width: 100%;
    }

    .mc-jobs-page .job-card .job-footer .apply-btn.apply-btn,
    .mc-jobs-page .job-card .job-footer .details-btn.details-btn,
    .mc-jobs-page .job-card .job-footer .view-job-btn.view-job-btn {
        flex: 1 1 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 10px 8px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        font-size: 13px !important;
        line-height: 1.3 !important;
    }
}
.mc-filters{
    background:#fff;
    border-radius:20px;
    padding:25px;
    height:calc(100vh - 40px);
    overflow:hidden;
    position:sticky;
    top:20px;

    border:1px solid #edf2f7;
    box-shadow:0 10px 30px rgba(15,23,42,.08);

    display:flex;
    flex-direction:column;
}

.filter-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
    padding-bottom:15px;
    border-bottom:1px solid #eef2f7;
}

.filter-header h3{
    margin:0;
    font-size:22px;
    color:#0f172a;
    font-weight:700;
}

.filter-body{
    flex:1;
    overflow-y:auto;
    padding-right:5px;
}

.filter-body::-webkit-scrollbar{
    width:6px;
}

.filter-body::-webkit-scrollbar-thumb{
    background:#d1d5db;
    border-radius:50px;
}

.filter-section{
    margin-bottom:30px;
}

.filter-section h4{
    margin:0 0 15px;
    font-size:15px;
    color:#0f172a;
    font-weight:700;
}

.filter-option{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:0px !important;
    cursor:pointer;
    color:#475569;
    font-size:14px;
    transition:.2s;
}

.filter-option:hover{
    color:#0f766e;
    transform:translateX(4px);
}

.filter-option input{
    accent-color:#0f766e;
    width:16px;
    height:16px;
    cursor:pointer;
}

.reset-btn{
    border:none;
    background:#fee2e2;
    color:#dc2626;
    padding:8px 14px;
    border-radius:10px;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.reset-btn:hover{
    background:#fecaca;
}

@media(max-width:1024px){

    .mc-filters{
        position:relative;
        height:auto;
        max-height:500px;
    }
}
.mc-hot-jobs{
    background:#fff;
    border-radius:20px;
    border:1px solid #edf2f7;
    box-shadow:0 10px 30px rgba(15,23,42,.08);

    position:sticky;
    top:20px;

    height:calc(100vh - 40px);
    overflow:hidden;

    display:flex;
    flex-direction:column;
}

.mc-hot-jobs-header{
    padding:22px 22px 18px;
    border-bottom:1px solid #eef2f7;
    flex-shrink:0;
}

.mc-hot-jobs-header h5{
    margin:0;
    font-size:22px;
    font-weight:700;
    color:#0f172a;
}

.hot-jobs-body{
    flex:1;
    overflow-y:auto;
    padding:10px;
}

/* Scrollbar */

.hot-jobs-body::-webkit-scrollbar{
    width:6px;
}

.hot-jobs-body::-webkit-scrollbar-track{
    background:#f1f5f9;
}

.hot-jobs-body::-webkit-scrollbar-thumb{
    background:#cbd5e1;
    border-radius:50px;
}

/* Job Card */

.hot-job{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:16px;
    margin-bottom:14px;
    cursor:pointer;
    transition:.3s ease;
}

.hot-job:hover{
    transform:translateY(-3px);
    border-color:#0f766e;
    box-shadow:0 10px 25px rgba(15,118,110,.12);
}

.hot-job:last-child{
    margin-bottom:0;
}

.hot-job h6{
    margin:0 0 10px;
    font-size:15px;
    font-weight:700;
    color:#0f172a;
    line-height:1.4;
}

.hot-job small{
    display:block;
    margin-bottom:6px;
    color:#64748b;
    font-size:13px;
}

.hot-job small:last-child{
    margin-bottom:0;
    color:#0f766e;
    font-weight:600;
}

@media(max-width:1024px){

    .mc-hot-jobs{
        position:relative;
        height:auto;
        max-height:500px;
    }
}

.mc-search-bar{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:0 18px;

    display:flex;
    align-items:center;
    gap:12px;

    height:60px;
    margin-bottom:25px;

    box-shadow:0 8px 20px rgba(0,0,0,.05);
}

.mc-search-bar svg{
    color:#64748b;
    flex-shrink:0;
}

.mc-search-bar input{
    border:none !important;
    outline:none;
    width:100%;
    font-size:15px;
    background:transparent;
}

.mc-search-bar input::placeholder{
    color:#94a3b8;
}
.mc-modal-overlay{
    position:fixed;
    inset:0;
    background:rgba(15,23,42,.65);

    opacity:0;
    visibility:hidden;

    transition:.3s;
    z-index:9998;
}

.mc-modal-overlay.active{
    opacity:1;
    visibility:visible;
}

.mc-job-modal{
    position:fixed;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%) scale(.9);

    width:700px;
    max-width:90%;

    max-height:85vh;

    background:#fff;
    border-radius:24px;

    overflow:hidden;
    overflow-y:auto;
    opacity:0;
    visibility:hidden;

    transition:.3s;

    z-index:9999;

    box-shadow:
    0 25px 80px rgba(0,0,0,.25);
}

.mc-job-modal.active{
    opacity:1;
    visibility:visible;
    transform:translate(-50%,-50%) scale(1);
}

.mc-modal-close{
    position:absolute;
    top:20px;
    right:20px;
    width:36px;
    height:36px;
    border:none;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    line-height:1;
    font-size:18px;
    cursor:pointer;
    background:#fff;
    box-shadow:0 4px 12px rgba(0,0,0,.1);
    z-index:2;
}

.mc-modal-header{
    padding:25px 30px;
    min-height: auto;

    background:
    linear-gradient(
        135deg,
        #0f766e,
        #14b8a6
    );

    color:white;

    display:flex;
    align-items:center;
    gap:20px;
}

.mc-modal-header img{
    width:70px !important;
    height:70px !important;
    border-radius:12px;
    object-fit:cover;
    background:white;
}

.mc-modal-header h2{
    margin:0;
    font-size:28px !important;
    line-height:1.1 !important;
}

.mc-modal-header p{
    margin-top:4px;
    font-size:15px;
    opacity:.9;
}

.mc-modal-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    padding:20px 30px;
}

.mc-modal-meta span{
    background:#f1f5f9;
    padding:8px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
}

.mc-modal-section{
    padding:0 30px 20px;
}

.mc-modal-section h4{
    color:#0f172a;
    font-size:18px;
    margin-bottom:10px;
}

.mc-modal-section p,
.mc-modal-section li{
    color:#64748b;
    font-size:14px;
    line-height:1.6;
}

.mc-modal-footer{
    position:sticky;
    bottom:0;
    background:#fff;
    padding:15px 30px;
    border-top:1px solid #e5e7eb;
}

.mc-modal-footer .apply-btn{
    width:100%;
    height:55px;
    font-size:16px;
}

@media(max-width:768px){

    .mc-job-modal{
        width:95%;
        max-height:95vh;
        overflow-y:auto;
    }

    .mc-modal-header{
        padding:25px;
        flex-direction:column;
        text-align:center;
    }

    .mc-modal-meta,
    .mc-modal-section,
    .mc-modal-footer{
        padding-left:25px;
        padding-right:25px;
    }
}
.mc-job-modal{
    overflow:hidden;
}

.mc-modal-body{
    overflow-y:auto;
    max-height:calc(85vh - 120px);
    padding-bottom:100px;
}
#modalDescription{
    color:#475569;
    line-height:1.8;
}

#modalDescription p{
    margin-bottom:15px;
}

#modalDescription strong,
#modalDescription b{
    color:#0f172a;
    font-weight:700;
}

#modalDescription ul,
#modalDescription ol{
    padding-left:20px;
    margin:15px 0;
}

#modalDescription li{
    margin-bottom:8px;
}

#modalDescription h1,
#modalDescription h2,
#modalDescription h3,
#modalDescription h4,
#modalDescription h5,
#modalDescription h6{
    margin:20px 0 10px;
    color:#0f172a;
}

.job-status{
    font-weight:600;
}

.job-status.open{
    color:#0f766e;
}

.job-status.closed{
    color:#dc2626;
}


.mci-job-detail-page{
    max-width:1200px;
    margin:40px auto;
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:30px;
}

.mci-job-content{
    background:#fff;
    border-radius:20px;
    padding:35px;
    border:1px solid #e5e7eb;
    box-shadow:0 10px 30px rgba(15,23,42,.08);
}

.mci-job-content h1{
    margin:0 0 15px;
    color:#0f172a;
    font-size:34px;
    font-weight:700;
}

.mci-job-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:25px;
}

.mci-job-meta span{
    background:#f1f5f9;
    padding:8px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
}

.mci-job-description{
    color:#475569;
    line-height:1.8;
}

.mci-job-description h1,
.mci-job-description h2,
.mci-job-description h3,
.mci-job-description h4{
    color:#0f172a;
    margin-top:24px;
}

.mci-apply-card{
    background:#fff;
    border-radius:20px;
    padding:30px;
    border:1px solid #e5e7eb;
    box-shadow:0 10px 30px rgba(15,23,42,.08);
    position:sticky;
    top:20px;
    height:fit-content;
}

.mci-apply-card h3{
    margin:0 0 20px;
    color:#0f172a;
}

.mci-apply-card input{
    width:100%;
    height:52px;
    border:1px solid #dbe3ed;
    border-radius:12px;
    padding:0 16px;
    margin-bottom:15px;
    font-size:14px;
}

.mci-apply-card input[type="file"]{
    height:auto;
    padding:12px;
}

.mci-apply-card button{
    width:100%;
    height:55px;
    background:#0f766e;
    color:#fff;
    border:none;
    border-radius:12px;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.mci-apply-card button:hover{
    background:#115e59;
}

.mci-success{
    background:#ecfdf5;
    color:#065f46;
    border:1px solid #a7f3d0;
    padding:15px;
    border-radius:12px;
    margin-bottom:20px;
}

.mci-error{
    background:#fef2f2;
    color:#991b1b;
    border:1px solid #fecaca;
    padding:15px;
    border-radius:12px;
    margin-bottom:20px;
}

@media(max-width:992px){

    .mci-job-detail-page{
        grid-template-columns:1fr;
    }

    .mci-apply-card{
        position:relative;
        top:auto;
    }
}
#modalRolesResponsibility{
    color:#475569;
    line-height:1.8;
}

#modalRolesResponsibility p{
    margin-bottom:15px;
}

#modalRolesResponsibility strong,
#modalRolesResponsibility b{
    color:#0f172a;
    font-weight:700;
}

#modalRolesResponsibility ul,
#modalRolesResponsibility ol{
    padding-left:20px;
    margin:15px 0;
}

#modalRolesResponsibility li{
    margin-bottom:8px;
}

#modalRolesResponsibility h1,
#modalRolesResponsibility h2,
#modalRolesResponsibility h3,
#modalRolesResponsibility h4,
#modalRolesResponsibility h5,
#modalRolesResponsibility h6{
    margin:20px 0 10px;
    color:#0f172a;
}
/* ==========================================================================
   RESPONSIVE ENHANCEMENTS — TABLET & PHONE
   (Additions only — nothing above this line was changed. Rules below load
   later in the cascade so they safely override the desktop-first styles
   at smaller widths.)
   ========================================================================== */

/* ---------------------------------------------------------------------
   Tablet & below (<=1024px)
   The 3-column page grid (filters | jobs | hot-jobs) collapses to a
   single stacked column so nothing gets squeezed sideways.
   --------------------------------------------------------------------- */
@media (max-width:1024px){

    .mc-jobs-page{
        grid-template-columns:1fr;
        gap:20px;
        padding:16px;
    }

    .mc-filters{
        order:1;
        width:100%;
        max-height:420px;
    }

    .mc-job-list{
        order:2;
        width:100%;
    }

    .mc-hot-jobs{
        order:3;
        width:100%;
        max-height:420px;
    }

    .job-card{
        max-width:100%;
        width:100%;
    }

    .mci-apply-card{
        position:relative;
        top:auto;
    }
}

/* ---------------------------------------------------------------------
   Small tablet / large phone (<=768px)
   --------------------------------------------------------------------- */
@media (max-width:768px){

    .mc-jobs-page{
        padding:12px;
        gap:16px;
    }

    /* Search bar */
    .mc-search-bar{
        height:52px;
        padding:0 14px;
        margin-bottom:18px;
        border-radius:14px;
    }

    .mc-search-bar input{
        font-size:14px;
    }

    /* Job card */
    .job-card{
        padding:18px;
        border-radius:14px;
        margin:14px auto;
    }

    .job-header{
        gap:12px;
        margin-bottom:14px;
    }

    .hospital-logo img{
        width:56px;
        height:56px;
        border-radius:10px;
    }

    .job-info h5{
        font-size:18px;
    }

    .hospital-name{
        font-size:13px;
    }

    .job-type{
        padding:6px 12px;
        font-size:12px;
    }

    .job-meta{
        gap:10px;
        font-size:13px;
        margin-bottom:12px;
    }

    .job-description{
        font-size:14px;
    }

    .apply-btn,
    .details-btn{
        padding:11px 20px;
        font-size:14px;
    }

    /* Filters sidebar */
    .mc-filters{
        padding:20px;
        border-radius:16px;
    }

    .filter-header{
        margin-bottom:18px;
        padding-bottom:12px;
    }

    .filter-header h3,
    .filter-header h6{
        font-size:18px;
    }

    .filter-section{
        margin-bottom:22px;
    }

    /* Hot jobs sidebar */
    .mc-hot-jobs-header{
        padding:18px 18px 14px;
    }

    .mc-hot-jobs-header h5{
        font-size:18px;
    }

    .hot-jobs-body{
        padding:14px;
    }

    .hot-job{
        padding:14px;
    }

    /* Modal */
    .mc-modal-header{
        padding:20px;
    }

    .mc-modal-header img{
        width:56px;
        height:56px;
    }

    .mc-modal-header h2{
        font-size:22px !important;
    }

    .mc-modal-header p{
        font-size:14px;
    }

    .mc-modal-meta,
    .mc-modal-section{
        padding-left:20px;
        padding-right:20px;
    }

    .mc-modal-meta span{
        font-size:12px;
        padding:6px 12px;
    }

    .mc-modal-section h4,
    .mc-modal-section h6{
        font-size:16px;
    }

    .mc-modal-footer{
        padding:14px 20px;
    }

    /* Job detail page */
    .mci-job-content{
        padding:22px;
        border-radius:16px;
    }

    .mci-job-content h1{
        font-size:24px;
    }

    .mci-job-meta span{
        font-size:12px;
        padding:6px 12px;
    }

    .mci-apply-card{
        padding:20px;
        border-radius:16px;
    }
}

/* ---------------------------------------------------------------------
   Phones (<=480px)
   --------------------------------------------------------------------- */
@media (max-width:480px){

    .mc-jobs-page{
        padding:10px;
        gap:14px;
    }

    /* Filters + hot jobs */
    .mc-filters,
    .mc-hot-jobs{
        border-radius:14px;
        padding:16px;
    }

    .mc-filters{
        max-height:320px;
    }

    .mc-hot-jobs{
        max-height:320px;
    }

    .filter-header,
    .mc-hot-jobs-header{
        margin-bottom:14px;
        padding-bottom:10px;
    }

    .filter-header h3,
    .filter-header h6,
    .mc-hot-jobs-header h5{
        font-size:16px;
    }

    .filter-option{
        font-size:13px;
        margin-bottom:10px;
    }

    .reset-btn{
        padding:6px 12px;
        font-size:12px;
    }

    /* Search bar */
    .mc-search-bar{
        height:46px;
        padding:0 12px;
        border-radius:12px;
        gap:8px;
        margin-bottom:14px;
    }

    .mc-search-bar input{
        font-size:13px;
    }

    /* Job card */
    .job-card{
        padding:14px;
        border-radius:12px;
        margin:10px auto;
    }

    .job-header{
        gap:10px;
        margin-bottom:12px;
    }

    .hospital-logo img{
        width:44px;
        height:44px;
        border-radius:10px;
    }

    .job-info h5{
        font-size:16px;
        line-height:1.3;
    }

    .hospital-name{
        font-size:12px;
    }

    .job-type{
        padding:5px 10px;
        font-size:11px;
    }

    .job-meta{
        gap:8px;
        font-size:12px;
        margin-bottom:10px;
    }

    .job-description{
        font-size:13px;
        line-height:1.6;
    }

    .job-footer{
        margin-top:16px;
        gap:8px;
    }

    .apply-btn,
    .details-btn{
        padding:10px 16px;
        font-size:13px;
        border-radius:8px;
    }

    .hot-job{
        padding:12px;
        border-radius:12px;
        margin-bottom:10px;
    }

    .hot-job h6{
        font-size:14px;
        margin-bottom:8px;
    }

    .hot-job small{
        font-size:12px;
    }

    /* Modal — slide up from the bottom like a sheet on very small screens */
    .mc-job-modal{
        width:100%;
        max-width:100%;
        max-height:92vh;
        border-radius:18px 18px 0 0;
        top:auto;
        bottom:0;
        left:0;
        transform:translateY(24px);
    }

    .mc-job-modal.active{
        transform:translateY(0);
    }

    .mc-modal-body{
        max-height:calc(92vh - 110px);
    }

    .mc-modal-close{
        top:14px;
        right:14px;
        width:32px;
        height:32px;
        font-size:16px;
    }

    .mc-modal-header{
        padding:18px;
        gap:14px;
    }

    .mc-modal-header img{
        width:48px;
        height:48px;
    }

    .mc-modal-header h2{
        font-size:19px !important;
    }

    .mc-modal-header p{
        font-size:13px;
    }

    .mc-modal-meta,
    .mc-modal-section,
    .mc-modal-footer{
        padding-left:18px;
        padding-right:18px;
    }

    .mc-modal-meta{
        padding-top:16px;
        gap:8px;
    }

    .mc-modal-meta span{
        font-size:11px;
        padding:5px 10px;
    }

    .mc-modal-section h4,
    .mc-modal-section h6{
        font-size:15px;
    }

    .mc-modal-section p,
    .mc-modal-section li{
        font-size:13px;
    }

    .mc-modal-footer .apply-btn{
        height:48px;
        font-size:14px;
    }

    /* Job detail page */
    .mci-job-content,
    .mci-apply-card{
        padding:16px;
        border-radius:14px;
    }

    .mci-job-content h1{
        font-size:20px;
    }

    .mci-job-meta{
        gap:8px;
        margin-bottom:18px;
    }

    .mci-job-meta span{
        font-size:11px;
        padding:5px 10px;
    }

    .mci-apply-card input{
        height:46px;
        font-size:13px;
    }

    .mci-apply-card button{
        height:48px;
        font-size:14px;
    }
}

/* ==========================================================================
   MOBILE FILTER TOGGLE
   The "🔍 Filters" button is invisible on desktop. On tablet/phone it
   collapses the filters panel behind a button so the job list is the
   first thing visible on small screens instead of a long filter list.
   ========================================================================== */

.mc-mobile-filter-toggle{
    display:none !important;
}

@media (max-width:1024px){

    .mc-mobile-filter-toggle{
        display:flex !important;
        align-items:center;
        justify-content:center;
        gap:8px;
        width:calc(100% - 32px);
        max-width:1600px;
        height:48px;
        margin:16px auto 0;
        background:#0f766e !important;
        color:#fff !important;
        border:none !important;
        border-radius:12px !important;
        font-size:14px;
        font-weight:600;
        cursor:pointer;
        transition:.3s;
    }

    .mc-mobile-filter-toggle:hover{
        background:#115e59;
    }

    /* Filters panel is collapsed by default on tablet/phone ... */
    .mc-filters{
        display:none !important;
        order:1;
        position:static !important;   /* ← add this line */
    }
    
    .mc-filters.mc-filters-open{
        display:flex !important;
        position:static !important;   /* ← add this line */
    }

    .mc-job-list{
        order:2;
    }

    .mc-hot-jobs{
        order:3;
    }
}

@media (max-width:480px){

    .mc-mobile-filter-toggle{
        width:calc(100% - 20px);
        height:44px;
        font-size:13px;
        margin:10px auto 0;
    }
}

/* ==========================================================================
   THEME BUTTON OVERRIDE — GUARANTEED SPECIFICITY
   The active theme applies its own global style to every <button>
   element (solid blue, fully rounded) with !important, which silently
   overrides this plugin's own button designs — this affects every
   real <button> this plugin renders (View Details, Reset, the modal
   close "✕", the mobile filter toggle, and the application form's
   submit button), on every screen size, not just mobile. Anchor-based
   buttons ("Apply Now" when rendered as <a>) were never affected,
   which is why only some buttons looked wrong.

   !important alone isn't enough here because the theme's rule is also
   !important — when both sides use !important, the more specific
   selector wins, not whichever loaded last. Repeating a class name
   (".foo.foo") is valid CSS and raises specificity without needing to
   know the theme's own selector, so these rules win regardless of
   what the theme does elsewhere on the site.
   ========================================================================== */

#mcFilterToggle{
    display:none !important;
}

.details-btn.details-btn,
.view-job-btn.view-job-btn{
    background:#fff !important;
    color:#334155 !important;
    border:1px solid #dbe3ed !important;
    padding:12px 24px !important;
    border-radius:10px !important;
    font-weight:600 !important;
    font-size:15px !important;
}

.details-btn.details-btn:hover{
    background:#f8fafc !important;
}

.apply-btn.apply-btn{
    background:#0f766e !important;
    color:#fff !important;
    border:none !important;
    padding:12px 24px !important;
    border-radius:10px !important;
    font-weight:600 !important;
    font-size:15px !important;
}

.apply-btn.apply-btn:hover{
    background:#115e59 !important;
}

.reset-btn.reset-btn{
    background:#fee2e2 !important;
    color:#dc2626 !important;
    border:none !important;
    padding:8px 14px !important;
    border-radius:10px !important;
    font-size:13px !important;
    font-weight:600 !important;
}

.reset-btn.reset-btn:hover{
    background:#fecaca !important;
}

.mc-modal-close.mc-modal-close{
    width:36px !important;
    height:36px !important;
    background:#fff !important;
    border:none !important;
    border-radius:50% !important;
    padding:0 !important;
    color:#0f172a !important;   /* ← add this line */
}

.mc-modal-footer .apply-btn.apply-btn{
    width:100% !important;
    height:55px !important;
    font-size:16px !important;
}

.mci-apply-card button.apply-btn,
.mci-apply-card button.apply-btn.apply-btn{
    width:100% !important;
    height:55px !important;
    background:#0f766e !important;
    color:#fff !important;
    border:none !important;
    border-radius:12px !important;
    font-size:15px !important;
    font-weight:600 !important;
}

.mci-apply-card button.apply-btn:hover{
    background:#115e59 !important;
}

@media (max-width:1024px){

    #mcFilterToggle{
        display:flex !important;
        background:#0f766e !important;
        color:#fff !important;
        border:none !important;
        border-radius:12px !important;
        padding:12px 24px !important;
    }
}

@media (max-width:768px){

    .apply-btn.apply-btn,
    .details-btn.details-btn{
        padding:11px 20px !important;
        font-size:14px !important;
        width:100% !important;
    }
}

@media (max-width:480px){

    .apply-btn.apply-btn,
    .details-btn.details-btn{
        padding:10px 16px !important;
        font-size:13px !important;
        border-radius:8px !important;
    }

    .reset-btn.reset-btn{
        padding:6px 12px !important;
        font-size:12px !important;
    }

    .mc-modal-close.mc-modal-close{
        width:32px !important;
        height:32px !important;
        font-size:16px !important;
    }

    .mci-apply-card button.apply-btn{
        height:46px !important;
        font-size:13px !important;
    }
}

/* =========================================
   FIX MOBILE HORIZONTAL OVERFLOW & CENTERING
   ========================================= */

.mc-jobs-page,
.mc-jobs-page *,
.mci-job-detail-page,
.mci-job-detail-page * {
    box-sizing: border-box;
}

/* Prevent grid children from forcing horizontal overflow */
.mc-jobs-page,
.mc-job-list {
    min-width: 0;
}

/* Make job cards fit inside their container correctly */
.job-card {
    width: 100%;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile/tablet */
@media (max-width: 1024px) {

    .mc-jobs-page {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .mc-job-list {
        width: 100%;
        min-width: 0;
    }

    .job-card {
        width: 100%;
        max-width: 100%;
    }

    .mc-filters,
    .mc-hot-jobs {
        width: 100%;
        max-width: 100%;
    }
}

/* Extra protection against horizontal page overflow */
.mc-jobs-page {
    max-width: 100%;
    overflow-x: clip;
}
@media (max-width:768px){

    .job-footer{
        justify-content:center !important;
        align-items:center;
        flex-direction:column;
    }

    .job-footer .apply-btn.apply-btn,
    .job-footer .details-btn.details-btn{
        width:auto !important;
        min-width:200px;
        text-align:center;
    }
}

/* =========================================================
   MOBILE STICKY BOTTOM FILTER BAR
   ========================================================= */

.mc-mobile-bottom-filters{
    display:none;
}


/* MOBILE ONLY */
@media (max-width:768px){

    /* Remove old Filters button completely */
    .mc-mobile-filter-toggle{
        display:none !important;
    }


    /* Hide the old sidebar filters on mobile */
    .mc-filters{
        display:none !important;
    }


    /* Sticky bottom filter container */
    .mc-mobile-bottom-filters{
        display:flex;
        position:fixed;
        bottom:0;
        left:0;
        width:100%;

        background:#ffffff;

        border-top:1px solid #e5e7eb;

        box-shadow:
            0 -8px 25px rgba(0,0,0,.10);

        padding:10px 10px
                 calc(10px + env(safe-area-inset-bottom));

        gap:8px;

        z-index:9997;

        box-sizing:border-box;
    }


    /* Each filter */
    .mc-mobile-filter-item{
        flex:1;
        min-width:0;

        display:flex;
        flex-direction:column;
        gap:4px;
    }


    .mc-mobile-filter-item label{
        font-size:10px !important;
        font-weight:600;
        color:#64748b;
        margin:0 !important;

        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
    }


    .mc-mobile-filter-item select{
        width:100% !important;
        max-width:100% !important;

        height:42px;

        padding:0 8px !important;

        border:1px solid #dbe3ed !important;
        border-radius:10px !important;

        background:#f8fafc !important;

        color:#0f172a !important;

        font-size:12px !important;
        font-weight:600;

        outline:none;

        appearance:auto;

        box-sizing:border-box;
    }


    .mc-mobile-filter-item select:focus{
        border-color:#0f766e !important;
    }


    /*
     * Important:
     * Add bottom space so the sticky filters
     * don't cover the last job card.
     */
    .mc-jobs-page{
        padding-bottom:100px !important;
    }


    /* Also protect the jobs list */
    .mc-job-list{
        padding-bottom:20px;
    }
}


/* Extra small phones */
@media (max-width:380px){

    .mc-mobile-bottom-filters{
        gap:5px;
        padding-left:6px;
        padding-right:6px;
    }

    .mc-mobile-filter-item label{
        font-size:9px !important;
    }

    .mc-mobile-filter-item select{
        font-size:10px !important;
        padding-left:4px !important;
        padding-right:4px !important;
    }
}
/* =========================================================
   MOBILE FILTER RESET BUTTON
   ========================================================= */

@media (max-width:768px){

    .mc-mobile-reset-item{
        display:flex;
        align-items:flex-end;
    }


    .mc-mobile-reset-item button{

        height:42px;

        border:none !important;

        background:#fee2e2 !important;

        color:#dc2626 !important;

        border-radius:10px !important;

        padding:0 10px !important;

        font-size:12px !important;

        font-weight:600 !important;

        cursor:pointer;

        display:flex;

        align-items:center;

        justify-content:center;

        gap:4px;

        white-space:nowrap;

        box-sizing:border-box;
    }


    .mc-mobile-reset-item button:hover{

        background:#fecaca !important;

    }


    .mc-mobile-reset-item button:active{

        transform:scale(.96);

    }

}


/* Smaller phones */

@media (max-width:380px){

    .mc-mobile-reset-item button{

        padding:0 7px !important;

    }


    .mc-mobile-reset-item button span{

        display:none;

    }


    .mc-mobile-reset-item button{

        font-size:18px !important;

    }

}
/* =========================================================
   FINAL MOBILE JOB MODAL FIX
   ========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------------------
       MAIN MODAL
       ----------------------------------------------------- */

    .mc-job-modal {
        width: 100% !important;
        max-width: 100% !important;

        height: 88dvh !important;
        max-height: 88dvh !important;

        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;

        border-radius: 20px 20px 0 0 !important;

        display: flex !important;
        flex-direction: column !important;

        overflow: hidden !important;
    }


    .mc-job-modal.active {
        transform: translateY(0) !important;
    }


    /* -----------------------------------------------------
       HEADER
       Compact instead of huge vertical header
       ----------------------------------------------------- */

    .mc-modal-header {

        flex: 0 0 auto !important;

        display: grid !important;

        grid-template-columns: 52px minmax(0, 1fr) !important;

        align-items: center !important;

        gap: 14px !important;

        padding: 20px 62px 20px 20px !important;

        text-align: left !important;

        min-height: 0 !important;

        flex-direction: unset !important;
    }


    .mc-modal-header img {

        width: 52px !important;
        height: 52px !important;

        min-width: 52px !important;

        border-radius: 10px !important;

        object-fit: contain !important;
    }


    .mc-modal-header h2 {

        margin: 0 !important;

        font-size: 23px !important;

        line-height: 1.2 !important;

        text-align: left !important;

        word-break: normal !important;
    }


    .mc-modal-header p {

        margin: 5px 0 0 !important;

        font-size: 14px !important;

        line-height: 1.4 !important;

        text-align: left !important;
    }


    /* -----------------------------------------------------
       CLOSE BUTTON
       ----------------------------------------------------- */

    .mc-modal-close {

        position: absolute !important;

        top: 16px !important;
        right: 16px !important;

        width: 40px !important;
        height: 40px !important;

        min-width: 40px !important;

        font-size: 19px !important;

        z-index: 10 !important;
    }


    /* -----------------------------------------------------
       SCROLLABLE BODY
       ----------------------------------------------------- */

    .mc-modal-body {

        flex: 1 1 auto !important;

        min-height: 0 !important;

        max-height: none !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;

        padding: 0 0 10px !important;

        -webkit-overflow-scrolling: touch !important;
    }


    /* -----------------------------------------------------
       JOB META / BADGES
       ----------------------------------------------------- */

    .mc-modal-meta {

        display: flex !important;

        flex-wrap: wrap !important;

        gap: 8px !important;

        padding: 16px 18px 12px !important;
    }


    .mc-modal-meta span {

        width: auto !important;

        font-size: 13px !important;

        line-height: 1.2 !important;

        padding: 9px 13px !important;

        border-radius: 24px !important;

        white-space: nowrap !important;
    }


    /* -----------------------------------------------------
       DESCRIPTION SECTION
       ----------------------------------------------------- */

    .mc-modal-section {

        padding: 10px 20px 25px !important;
    }


    .mc-modal-section h4,
    .mc-modal-section h6 {

        font-size: 19px !important;

        line-height: 1.3 !important;

        margin: 12px 0 14px !important;
    }


    .mc-modal-section p,
    .mc-modal-section li {

        font-size: 15px !important;

        line-height: 1.65 !important;
    }


    #modalDescription,
    #modalRolesResponsibility {

        font-size: 15px !important;

        line-height: 1.7 !important;
    }


    /* -----------------------------------------------------
       STICKY FOOTER
       This remains visible at modal bottom
       ----------------------------------------------------- */

    .mc-modal-footer {

        position: relative !important;

        flex: 0 0 auto !important;

        bottom: auto !important;

        width: 100% !important;

        min-height: 76px !important;

        padding: 12px 15px
                 calc(12px + env(safe-area-inset-bottom)) !important;

        background: #ffffff !important;

        border-top: 1px solid #e5e7eb !important;

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        z-index: 20 !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       APPLY NOW
       EXACTLY 60% WIDTH AND CENTERED
       ----------------------------------------------------- */

    .mc-job-modal
    .mc-modal-footer
    #modalApplyBtn.apply-btn {

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        width: 60% !important;

        min-width: 0 !important;

        max-width: 60% !important;

        height: 48px !important;

        margin: 0 auto !important;

        padding: 0 15px !important;

        border-radius: 12px !important;

        font-size: 16px !important;

        text-align: center !important;

        box-sizing: border-box !important;
    }

}


/* =========================================================
   EXTRA SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .mc-job-modal {
        height: 90dvh !important;
        max-height: 90dvh !important;
    }


    .mc-modal-header {
        grid-template-columns: 44px minmax(0, 1fr) !important;
        padding: 16px 54px 16px 16px !important;
        gap: 10px !important;
    }


    .mc-modal-header img {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
    }


    .mc-modal-header h2 {
        font-size: 20px !important;
    }


    .mc-modal-header p {
        font-size: 13px !important;
    }


    .mc-modal-meta {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }


    .mc-modal-section {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }


    .mc-job-modal
    .mc-modal-footer
    #modalApplyBtn.apply-btn {
        width: 60% !important;
        max-width: 60% !important;
    }

}
@media (max-width: 768px) {

    .mc-modal-close {
        width: 44px !important;
        height: 44px !important;

        min-width: 44px !important;
        max-width: 44px !important;

        min-height: 44px !important;
        max-height: 44px !important;

        padding: 0 !important;

        aspect-ratio: 1 / 1 !important;

        border-radius: 50% !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        line-height: 1 !important;

        box-sizing: border-box !important;

        flex: none !important;
    }

}
.mc-jobs-page .filter-header h6 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.mc-jobs-page .filter-section h6 {
    margin: 0 0 15px !important;
    font-size: 15px !important;
    font-weight: 700;
    color: #0f172a;
}

.mc-jobs-page .filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
}

.mc-jobs-page .filter-option input {
    flex: 0 0 16px;
    margin: 0;
}

.mc-jobs-page .mc-search-bar input {
    border: none;
    box-shadow: none;
    outline: none;
    width: 100%;
}

/* ================================================
   MEDCONNECT JOBS - BLUE THEME
   CSS ONLY | NO LAYOUT CHANGES
   ================================================ */

.mc-jobs-page {
    --mc-primary: #1769d2;
    --mc-primary-hover: #1055b3;
    --mc-primary-light: #edf5ff;
    --mc-primary-border: #d5e5fb;
    --mc-text: #152d50;
}

/* APPLY NOW BUTTON */

.mc-jobs-page .apply-btn,
.mc-jobs-page .apply-btn.apply-btn,
.mc-jobs-page .job-footer .apply-btn {
    background: #1769d2 !important;
    color: #ffffff !important;
    border-color: #1769d2 !important;
    box-shadow: 0 5px 14px rgba(23, 105, 210, .15);
}

.mc-jobs-page .apply-btn:hover,
.mc-jobs-page .apply-btn.apply-btn:hover,
.mc-jobs-page .job-footer .apply-btn:hover {
    background: #1055b3 !important;
    border-color: #1055b3 !important;
    color: #ffffff !important;
}

/* VIEW DETAILS BUTTON */

.mc-jobs-page .view-job-btn {
    background: #ffffff !important;
    color: #1769d2 !important;
    border: 1px solid #d5e5fb !important;
}

.mc-jobs-page .view-job-btn:hover {
    background: #edf5ff !important;
    border-color: #1769d2 !important;
}

/* JOB TYPE BADGE */

.mc-jobs-page .job-type {
    background: #edf5ff !important;
    color: #1769d2 !important;
}

/* RESET BUTTON */

.mc-jobs-page .reset-btn,
.mc-jobs-page .reset-filters {
    background: #edf5ff !important;
    color: #1769d2 !important;
    border-color: #d5e5fb !important;
}

.mc-jobs-page .reset-btn:hover,
.mc-jobs-page .reset-filters:hover {
    background: #dbeafe !important;
}

/* FILTER RADIO BUTTONS */

.mc-jobs-page input[type="radio"],
.mc-jobs-page input[type="checkbox"] {
    accent-color: #1769d2;
}

/* SEARCH INPUT */

.mc-jobs-page .mc-search-bar:focus-within,
.mc-jobs-page .mc-search-bar input:focus {
    border-color: #1769d2;
    box-shadow: 0 0 0 3px rgba(23, 105, 210, .10);
}

/* HOT JOBS */

.mc-jobs-page .hot-job-card:hover {
    border-color: #d5e5fb;
    box-shadow: 0 6px 20px rgba(23, 105, 210, .08);
}

/* JOB CARD HOVER */

.mc-jobs-page .job-card:hover {
    border-color: #d5e5fb;
    box-shadow: 0 8px 25px rgba(23, 105, 210, .08);
}

/* MODAL BUTTONS */

.mc-job-modal .apply-btn,
.mc-job-modal .apply-btn.apply-btn {
    background: #1769d2 !important;
    color: #ffffff !important;
    border-color: #1769d2 !important;
}

.mc-job-modal .apply-btn:hover,
.mc-job-modal .apply-btn.apply-btn:hover {
    background: #1055b3 !important;
}

/* TYPOGRAPHY */

.mc-jobs-page .job-title,
.mc-jobs-page .job-card h3,
.mc-jobs-page .filter-header h6,
.mc-jobs-page .filter-section h6 {
    font-weight: 600;
}

.mc-jobs-page .apply-btn,
.mc-jobs-page .view-job-btn {
    font-weight: 600 !important;
}

/* ================================================
   MEDCONNECT JOB DETAILS MODAL - BLUE THEME
   ================================================ */

/* Modal container */
.mc-job-modal {
    border-radius: 18px !important;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 24px 65px rgba(15, 39, 82, 0.22);
}

/* Header */
.mc-job-modal .mc-modal-header {
    background: linear-gradient(
        135deg,
        #1769d2 0%,
        #1055b3 100%
    ) !important;
    color: #ffffff !important;
    padding: 25px 30px;
}

/* Job title */
.mc-job-modal .mc-modal-header h2,
.mc-job-modal .mc-modal-header h3 {
    color: #ffffff !important;
    font-size: 22px;
    font-weight: 600 !important;
    line-height: 1.35;
}

/* Hospital/company name */
.mc-job-modal .mc-modal-header p,
.mc-job-modal .mc-modal-header span {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 400;
}

/* Close button */
.mc-job-modal .mc-modal-close {
    background: #ffffff !important;
    color: #1769d2 !important;
    border: 0 !important;
    border-radius: 50%;
}

.mc-job-modal .mc-modal-close:hover {
    background: #edf5ff !important;
    color: #1055b3 !important;
}

/* Modal content */
.mc-job-modal .mc-modal-body {
    background: #ffffff;
    color: #526783;
    font-size: 14px;
    line-height: 1.75;
    padding: 24px 30px;
}

/* Description headings */
.mc-job-modal .mc-modal-body h2,
.mc-job-modal .mc-modal-body h3,
.mc-job-modal .mc-modal-body h4 {
    color: #152d50;
    font-weight: 600;
}

/* Lists */
.mc-job-modal .mc-modal-body ul,
.mc-job-modal .mc-modal-body ol {
    padding-left: 22px;
}

.mc-job-modal .mc-modal-body li {
    margin-bottom: 10px;
}

/* Footer */
.mc-job-modal .mc-modal-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: #f8fbff !important;
    border-top: 1px solid #d5e5fb !important;
}

/* Apply Now button */
.mc-job-modal .mc-modal-footer .apply-btn,
.mc-job-modal .mc-modal-footer .apply-btn.apply-btn,
.mc-job-modal .mc-modal-footer a.apply-btn,
.mc-job-modal .mc-modal-footer button.apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 24px !important;
    border: 1px solid #1769d2 !important;
    border-radius: 10px !important;
    background: #1769d2 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: 0 5px 14px rgba(23, 105, 210, 0.15);
    cursor: pointer;
}

.mc-job-modal .mc-modal-footer .apply-btn:hover,
.mc-job-modal .mc-modal-footer .apply-btn.apply-btn:hover {
    background: #1055b3 !important;
    border-color: #1055b3 !important;
    color: #ffffff !important;
}

/* Responsive popup */
@media (max-width: 480px) {
    .mc-job-modal .mc-modal-header {
        padding: 20px;
    }

    .mc-job-modal .mc-modal-header h2,
    .mc-job-modal .mc-modal-header h3 {
        font-size: 19px;
    }

    .mc-job-modal .mc-modal-body {
        padding: 20px;
        font-size: 13px;
    }

    .mc-job-modal .mc-modal-footer {
        padding: 12px 18px;
    }

    .mc-job-modal .mc-modal-footer .apply-btn {
        width: 100%;
    }
}
/* ==========================================
   JOB DETAILS MODAL - LIGHT BLUE HEADER
   ========================================== */

/* Header background */
.mc-job-modal .mc-modal-header {
    background: #edf5ff !important;
    border-top: 4px solid #1769d2;
    border-bottom: 1px solid #dbeafe;
    padding: 22px 25px;
    color: #152d50 !important;
}

/* Job title */
.mc-job-modal .mc-modal-header h2,
.mc-job-modal .mc-modal-header h3 {
    color: #203b60 !important;
    font-size: 21px;
    font-weight: 500 !important;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

/* Hospital name and other header text */
.mc-job-modal .mc-modal-header p,
.mc-job-modal .mc-modal-header span {
    color: #607795 !important;
    font-size: 13px;
    font-weight: 400 !important;
}

/* Close button */
.mc-job-modal .mc-modal-close {
    background: #ffffff !important;
    color: #1769d2 !important;
    border: 1px solid #dbeafe !important;
    box-shadow: none;
}

.mc-job-modal .mc-modal-close:hover {
    background: #dbeafe !important;
}

/* Job description heading */
.mc-job-modal .mc-modal-body h2,
.mc-job-modal .mc-modal-body h3,
.mc-job-modal .mc-modal-body h4 {
    color: #203b60 !important;
    font-weight: 500 !important;
}

/* Metadata badges */
.mc-job-modal .mc-modal-body .job-type,
.mc-job-modal .mc-modal-body .job-meta span {
    background: #f1f6fd !important;
    color: #526b8b !important;
    font-weight: 400 !important;
}

/* Footer button - lighter typography */
.mc-job-modal .mc-modal-footer .apply-btn,
.mc-job-modal .mc-modal-footer .apply-btn.apply-btn {
    font-weight: 500 !important;
}


/* MEDCONNECT JOBS - METADATA COLOR FIX */

.mc-jobs-page .job-meta,
.mc-jobs-page .job-meta > span,
.mc-jobs-page .job-meta > span:not(.job-status) {
    color: #526783;
}

.mc-jobs-page .job-meta .job-status.open {
    color: #1769d2 !important;
}

/* Hot Jobs salary and location */
.mc-jobs-page .hot-job-card,
.mc-jobs-page .hot-job-card span,
.mc-jobs-page .hot-job-card p {
    color: #526783;
}

/* Preserve job title contrast */
.mc-jobs-page .hot-job-card h3,
.mc-jobs-page .hot-job-card h4,
.mc-jobs-page .hot-job-card h5 {
    color: #152d50;
}

/* Modal metadata */
.mc-job-modal .mc-modal-meta,
.mc-job-modal .mc-modal-meta span,
.mc-job-modal .mc-modal-body .job-meta span {
    color: #526783 !important;
    font-weight: 400 !important;
}

/* Standard icon styling */
.mc-jobs-page .mc-ui-icon,
.mc-job-modal .mc-ui-icon {
    display: inline-block;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    vertical-align: -2px;
    color: #1769d2;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mc-jobs-page .filter-section h6 .mc-ui-icon {
    margin-right: 6px;
}



/* =====================================================
   MEDCONNECT - JOB DETAILS MODAL FOOTER BUTTON FIX
   ===================================================== */

.mc-job-modal .mc-modal-footer {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 12px !important;
    box-sizing: border-box !important;
}

/* Apply Now button */
.mc-job-modal .mc-modal-footer .apply-btn,
.mc-job-modal .mc-modal-footer .apply-btn.apply-btn {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

/* View Full Job Details button */
.mc-job-modal .mc-modal-footer .details-btn,
.mc-job-modal .mc-modal-footer .view-job-btn {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 175px !important;
    max-width: none !important;
    min-height: 48px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 18px !important;
    margin: 0 !important;
    background: #ffffff !important;
    color: #203b60 !important;
    border: 1px solid #d5e5fb !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* Small screens */
@media (max-width: 480px) {
    .mc-job-modal .mc-modal-footer {
        gap: 8px !important;
        padding: 12px !important;
    }

    .mc-job-modal .mc-modal-footer .details-btn,
    .mc-job-modal .mc-modal-footer .view-job-btn {
        min-width: 0 !important;
        flex: 1 1 0 !important;
        padding: 10px 8px !important;
        font-size: 12px !important;
        white-space: normal !important;
    }

    .mc-job-modal .mc-modal-footer .apply-btn {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        width: auto !important;
        max-width: none !important;
    }
}
/* ---------- Mobile: listing card header ---------- */
@media (max-width: 768px){
    .mc-jobs-page .job-card .job-header{
        display:grid !important;
        grid-template-columns:66px minmax(0,1fr) !important;
        grid-template-areas:
            "logo info"
            "logo type" !important;
        column-gap:12px !important;
        row-gap:6px !important;
        align-items:start !important;
        flex-wrap:nowrap !important;
        margin-bottom:12px !important;
    }

    .mc-jobs-page .job-card .hospital-logo{
        grid-area:logo !important;
        width:70px !important;
        height:70px !important;
        border-radius:10px !important;
    }

    .mc-jobs-page .job-card .hospital-logo img{
        width:100% !important;
        height:100% !important;
        object-fit:contain !important;
        border:0 !important;
        border-radius:0 !important;
    }

    .mc-jobs-page .job-card .job-info{
        grid-area:info !important;
        min-width:0 !important;
    }

    .mc-jobs-page .job-card .job-info h5{
        font-size:16px !important;
        line-height:1.3 !important;
        overflow-wrap:anywhere;
    }

    .mc-jobs-page .job-card .hospital-name{
        font-size:12.5px !important;
        margin:2px 0 0 !important;
    }

    .mc-jobs-page .job-card .job-type{
        grid-area:type !important;
        justify-self:start !important;
        width:fit-content !important;
        padding:4px 10px !important;
        font-size:11px !important;
        line-height:1.3 !important;
    }
}

@media (max-width: 380px){
    .mc-jobs-page .job-card .job-header{
        grid-template-columns:42px minmax(0,1fr) !important;
        column-gap:10px !important;
    }
    .mc-jobs-page .job-card .hospital-logo{
        width:42px !important;
        height:42px !important;
    }
}

/* V2 taxonomy search UI: scoped to V2 only. */
.mc-v2-search-panel{max-width:1200px;margin:34px auto 8px;padding:28px 30px;border:1px solid #e4eaf2;border-radius:20px;background:#fff;box-shadow:0 8px 28px rgba(20,50,85,.05);font-family:Arial,sans-serif;color:#18304c;box-sizing:border-box}
.mc-v2-search-panel *{box-sizing:border-box}
.mc-v2-search-intro h2{font-size:28px;line-height:1.25;margin:0 0 7px;color:#132e50;font-weight:650}
.mc-v2-search-intro p{font-size:15px;margin:0 0 24px;color:#667b94}
.mc-v2-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.mc-v2-keyword{grid-column:1/-1}
.mc-v2-field{display:flex;flex-direction:column;gap:9px;min-width:0}
.mc-v2-field span{font-size:13px;font-weight:600;color:#344962}
.mc-v2-search-panel .mc-v2-field input,.mc-v2-search-panel .mc-v2-field select{width:100%;min-width:0;height:47px;padding:0 12px;background:#fff;border:1px solid #d8e2ef;border-radius:9px;color:#233b58;font:400 14px Arial,sans-serif;box-shadow:none;outline:none}
.mc-v2-search-panel .mc-v2-field input:focus,.mc-v2-search-panel .mc-v2-field select:focus{border-color:#1769d2;box-shadow:0 0 0 3px rgba(23,105,210,.1)}
.mc-v2-form-footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:22px}
.mc-v2-search-panel .mc-v2-clear,.mc-v2-search-panel .mc-v2-submit{height:43px;padding:0 22px;border-radius:9px;font-size:14px;font-weight:600;cursor:pointer}
.mc-v2-search-panel .mc-v2-clear{background:#fff;color:#47617f;border:1px solid #d8e2ef}
.mc-v2-search-panel .mc-v2-submit{background:#1769d2;color:#fff;border:1px solid #1769d2}
.mc-v2-url-preview{margin-top:24px;padding:15px 17px;background:#f6f9fd;border:1px solid #e6edf7;border-radius:10px;display:flex;flex-direction:column;gap:8px;overflow-wrap:anywhere}
.mc-v2-url-preview span{font-size:11px;letter-spacing:.07em;color:#6e8096;font-weight:700}
.mc-v2-url-preview code{font-size:13px;color:#1769d2;white-space:normal}
.mc-v2-api-notice{font-size:12px;color:#a15b10;margin:12px 0 0}
.mc-v2-jobs-page{grid-template-columns:minmax(0,1fr) 245px!important;max-width:1200px!important;margin:0 auto!important;gap:22px!important}
.mc-v2-jobs-page>.mc-filters,.mc-v2-jobs-page .mc-search-bar,.mc-v2-jobs-page .mc-mobile-bottom-filters,#mcFilterToggle{display:none!important}
.mc-v2-jobs-page>.mc-job-list{min-width:0;width:100%}
@media(max-width:850px){.mc-v2-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.mc-v2-jobs-page{grid-template-columns:1fr!important}.mc-v2-search-panel{margin:20px 14px 8px;padding:20px}.mc-v2-jobs-page>.mc-hot-jobs{display:none}}
@media(max-width:520px){.mc-v2-fields{grid-template-columns:1fr}.mc-v2-search-intro h2{font-size:23px}.mc-v2-form-footer{justify-content:stretch}.mc-v2-search-panel .mc-v2-clear,.mc-v2-search-panel .mc-v2-submit{flex:1;padding:0 10px}}

/* V2 taxonomy form: explicit layout replacement; never affects V1 */
.mc-v2-filter-shell{max-width:1140px;margin:30px auto 18px;padding:28px 30px;border:1px solid #e5edf7;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(20,45,80,.04);box-sizing:border-box;font-family:Arial,sans-serif}
.mc-v2-filter-heading h2{font-size:25px;line-height:1.25;margin:0 0 8px;color:#142b4a;font-weight:650}
.mc-v2-filter-heading p{font-size:14px;color:#62748d;margin:0 0 24px}
.mc-v2-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.mc-v2-filter-grid label{display:flex;flex-direction:column;gap:8px;min-width:0;color:#253c5a;font-size:13px;font-weight:600}
.mc-v2-filter-grid .mc-v2-keyword{grid-column:1/-1}
.mc-v2-filter-grid input,.mc-v2-filter-grid select{box-sizing:border-box;width:100%;height:46px;padding:0 13px;border:1px solid #dbe5f0;border-radius:9px;background:#fff;color:#253c5a;font-size:14px;font-weight:400}
.mc-v2-filter-grid input:focus,.mc-v2-filter-grid select:focus{outline:2px solid #bfdbfe;outline-offset:0;border-color:#1769d2}
.mc-v2-filter-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}
.mc-v2-filter-actions button{padding:11px 22px!important;border-radius:9px!important;font-size:14px!important;font-weight:600!important;cursor:pointer}
#mcV2Clear{background:#fff!important;color:#1769d2!important;border:1px solid #d4e3f7!important}
.mc-v2-filter-actions button[type=submit]{background:#1769d2!important;color:#fff!important;border:1px solid #1769d2!important}
.mc-v2-url-label{font-size:11px;letter-spacing:.08em;color:#8392a7;margin-top:24px}
#mcV2UrlPreview{display:block;margin-top:8px;color:#1769d2;overflow-wrap:anywhere;font-size:13px}
.mc-v2-layout{grid-template-columns:minmax(0,1fr) 260px!important;max-width:1140px!important;margin:0 auto!important}
.mc-v2-layout>.mc-filters,.mc-v2-layout .mc-search-bar{display:none!important}
.mc-v2-layout>.mc-job-list{min-width:0;grid-column:1}
.mc-v2-layout>.mc-hot-jobs{grid-column:2}
@media(max-width:850px){.mc-v2-filter-shell{margin:15px;padding:20px}.mc-v2-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mc-v2-layout{grid-template-columns:1fr!important}.mc-v2-layout>.mc-hot-jobs{grid-column:1}}
@media(max-width:520px){.mc-v2-filter-grid{grid-template-columns:1fr}.mc-v2-filter-grid .mc-v2-keyword{grid-column:1}.mc-v2-filter-actions button{flex:1}.mc-v2-filter-shell{padding:16px}}

/* V2 filter layout: single full-width form above results */
.mc-jobs-page{display:grid!important;grid-template-columns:minmax(0,1fr) 290px!important;gap:22px!important}
.mc-jobs-page>.mc-v2-filter-shell{grid-column:1/-1;width:100%;max-width:none;margin:0 0 8px}
.mc-jobs-page>.mc-job-list{grid-column:1;min-width:0}
.mc-jobs-page>.mc-hot-jobs{grid-column:2;min-width:0}
.mc-v2-url-preview{font-size:12px;color:#64748b;overflow-wrap:anywhere;margin-top:10px}
.mc-job-list .mc-search-bar:has(#mcV2LegacySearchDisabled){display:none!important}
@media(max-width:850px){.mc-jobs-page{grid-template-columns:1fr!important}.mc-jobs-page>.mc-hot-jobs{grid-column:1}}
/* ===== V2 LAYOUT: sticky sidebar | jobs | hot jobs ===== */
.mc-jobs-page{
  grid-template-columns:270px minmax(0,1fr) 270px!important;
  max-width:1400px!important;
  align-items:start;
  gap:22px!important;
}
.mc-jobs-page>.mc-v2-sidebar{grid-column:1;position:sticky;top:20px;
  max-height:calc(100vh - 40px);overflow-y:auto;background:#fff;
  border:1px solid #e5edf7;border-radius:18px;box-shadow:0 8px 28px rgba(20,45,80,.06)}
.mc-jobs-page>.mc-job-list{grid-column:2;min-width:0}
.mc-jobs-page>.mc-hot-jobs{grid-column:3}

/* job cards use the full middle column */
.mc-jobs-page .job-card{max-width:none;margin:0 0 16px}

/* sidebar internals */
.mc-v2-sidebar summary{list-style:none;cursor:pointer}
.mc-v2-sidebar summary::-webkit-details-marker{display:none}
.mc-v2-fhead{display:flex;align-items:center;justify-content:space-between;
  padding:16px 18px;font-size:17px;font-weight:700;color:#152d50;
  position:sticky;top:0;background:#fff;z-index:2;border-bottom:1px solid #eef2f7}
.mc-v2-fhead span:first-child{display:flex;align-items:center;gap:8px}
.mc-v2-count{min-width:22px;height:22px;padding:0 7px;border-radius:99px;background:#1769d2;
  color:#fff;font-size:12px;line-height:22px;text-align:center}
.mc-v2-count:empty{display:none}
.mc-v2-fbody{padding:6px 18px 4px}
.mc-v2-kw{display:block;padding:12px 0;border-bottom:1px solid #eef2f7}
.mc-v2-lbl{display:block;margin-bottom:8px;font-size:13px;font-weight:600;color:#253c5a}
.mc-v2-group{border-bottom:1px solid #eef2f7}
.mc-v2-group:last-child{border:0}
.mc-v2-group>summary{display:flex;justify-content:space-between;padding:13px 0;
  font-size:14px;font-weight:600;color:#253c5a}
.mc-v2-group>summary::after{content:"+";color:#64748b}
.mc-v2-group[open]>summary::after{content:"–"}
.mc-v2-group select{margin-bottom:14px}
.mc-v2-sidebar input[type=search],.mc-v2-sidebar select{
  box-sizing:border-box;width:100%;height:42px;padding:0 12px;border:1px solid #dbe5f0;
  border-radius:9px;background:#fff;color:#253c5a;font-size:14px}
/*.mc-v2-sidebar input:focus,.mc-v2-sidebar select:focus{outline:2px solid #bfdbfe;border-color:#1769d2}*/
.mc-v2-actions{position:sticky;bottom:0;display:flex;gap:10px;padding:12px 18px;
  background:#fff;border-top:1px solid #eef2f7}
.mc-v2-actions button{flex:1;padding:11px 14px!important;border-radius:9px!important;
  font-size:14px!important;font-weight:600!important;cursor:pointer}
#mcV2Clear{background:#fff!important;color:#1769d2!important;border:1px solid #d4e3f7!important}
.mc-v2-actions button[type=submit]{background:#1769d2!important;color:#fff!important;border:1px solid #1769d2!important}

/* the old mobile bottom bar targets radio filters that don't exist in V2 */
.mc-mobile-bottom-filters{display:none!important}
.mc-jobs-page{padding-bottom:20px!important}

/* tablet: drop hot jobs, keep sidebar */
@media(max-width:1100px){
  .mc-jobs-page{grid-template-columns:260px minmax(0,1fr)!important}
  .mc-jobs-page>.mc-hot-jobs{display:none}
}
/* phone: filters collapse to one bar above the jobs */
@media(max-width:850px){
  .mc-jobs-page{grid-template-columns:1fr!important}
  .mc-jobs-page>.mc-v2-sidebar{grid-column:1;position:static;max-height:none;overflow:visible}
  .mc-jobs-page>.mc-job-list{grid-column:1}
  .mc-v2-actions{position:static}
}


/* ===== V2: collapsible filter groups with inner scroll ===== */
.mc-v2-sidebar .mc-v2-hidden-select,
.mc-v2-sidebar .select2-container{display:none!important}

.mc-v2-group>summary{align-items:center;gap:8px}
.mc-v2-group>summary>span{flex:1;min-width:0}
.mc-v2-sel{font-style:normal;max-width:96px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:12px;font-weight:600;color:#1769d2}
.mc-v2-sel:empty{display:none}

.mc-v2-opts{max-height:190px;overflow-y:auto;display:flex;flex-direction:column;gap:2px;
  padding:0 4px 12px 0;overscroll-behavior:contain}
.mc-v2-opts::-webkit-scrollbar{width:6px}
.mc-v2-opts::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:50px}
.mc-v2-opt{display:flex;align-items:center;gap:10px;padding:7px 8px;border-radius:8px;
  font-size:14px;color:#475569;cursor:pointer;margin:0}
.mc-v2-opt:hover{background:#f1f6fd}
.mc-v2-opt input{flex:0 0 16px;width:16px;height:16px;margin:0;accent-color:#1769d2}
.mc-v2-opt:has(input:checked){background:#edf5ff;color:#1055b3;font-weight:600}

/* ===== V2: top search + sort ===== */
.mc-v2-toolbar{display:flex;gap:12px;align-items:stretch;margin-bottom:20px}
.mc-v2-toolbar .mc-search-bar{flex:1 1 auto;min-width:0;margin-bottom:0}
.mc-v2-toolbar #mcV2Sort{flex:0 0 220px;height:auto;padding:0 14px;border:1px solid #e5e7eb;border-radius:16px;
  background:#fff;color:#253c5a;font-size:14px;font-weight:600;cursor:pointer;
  box-shadow:0 8px 20px rgba(0,0,0,.05)}
.mc-v2-toolbar #mcV2Sort:focus{outline:2px solid #bfdbfe;border-color:#1769d2}
@media(max-width:600px){
  .mc-v2-toolbar{flex-direction:column;gap:10px}
  .mc-v2-toolbar #mcV2Sort{flex:none;height:46px}
}


/* V2 toolbar override for legacy hidden search rules */
.mc-jobs-page .mc-v2-toolbar .mc-search-bar{display:flex!important}
.mc-jobs-page .mc-v2-toolbar #mcV2Keyword{display:block!important}
.mc-v2-sidebar .mc-v2-group select.mc-v2-hidden-select{display:none!important}

.mc-v2-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.mc-v2-search-input {
    width: 100%;
    height: 44px;
    padding: 0 42px;
    border: 1px solid #dce3eb;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    color: #334155;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.mc-v2-search-input:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, .1);
}

.mc-v2-search-icon {
    position: absolute;
    left: 14px;
    display: flex;
    align-items: center;
    color: #64748b;
    pointer-events: none;
}

.mc-v2-search-icon svg,
.mc-v2-search-clear svg {
    width: 18px;
    height: 18px;
}

.mc-v2-search-clear {
    position: absolute;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
}

.mc-v2-search-clear:hover {
    background: #f1f5f9;
    color: #dc2626;
}

.mc-v2-search-clear[hidden] {
    display: none !important;
}

/* Hide the browser's default clear button */
.mc-v2-search-input::-webkit-search-cancel-button {
    display: none;
}
.mc-jobs-page .mc-v2-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 60px;
    background: #fff;
    border: 1px solid #dbe3ed;
    border-radius: 14px;
    box-sizing: border-box;
}

.mc-jobs-page .mc-v2-search-wrapper .mc-v2-search-input {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 0 52px !important;
    margin: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #253c5a;
    font-size: 14px;
}

.mc-jobs-page .mc-v2-search-wrapper .mc-v2-search-submit,
.mc-jobs-page .mc-v2-search-wrapper .mc-v2-search-clear {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    color: #64748b !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: none !important;

    cursor: pointer;
    z-index: 2;
}

.mc-jobs-page .mc-v2-search-wrapper .mc-v2-search-submit {
    left: 12px !important;
    right: auto !important;
}

.mc-jobs-page .mc-v2-search-wrapper .mc-v2-search-clear {
    right: 12px !important;
    left: auto !important;
}

.mc-jobs-page .mc-v2-search-wrapper button svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor !important;
    fill: none !important;
}

/*.mc-jobs-page .mc-v2-search-wrapper button:hover {*/
/*    background: #edf5ff !important;*/
/*    color: #1769d2 !important;*/
/*}*/

.mc-jobs-page .mc-v2-search-wrapper .mc-v2-search-clear[hidden] {
    display: none !important;
}

/*.mc-jobs-page .mc-v2-search-wrapper:focus-within {*/
/*    border-color: #1769d2;*/
/*    box-shadow: 0 0 0 3px rgba(23, 105, 210, .10);*/
/*}*/

.mc-v2-search-input::-webkit-search-cancel-button {
    display: none;
}
.mc-v2-sidebar .mc-v2-opt-search{
  height:38px;margin:2px 0 8px;font-size:13px;
}
.mc-v2-noresult{padding:8px;font-size:13px;color:#94a3b8}


/* single search box, not a box inside a box */
.mc-jobs-page .mc-v2-toolbar .mc-search-bar{
  padding:0;border:0;background:transparent;box-shadow:none;height:auto;margin-bottom:0;
}
.mc-jobs-page .mc-v2-toolbar{margin-bottom:20px}

/* hide the "/jobs-new/" text under the filter buttons */
#mcV2UrlPreview[hidden]{display:none !important}

/* Jobs V2 desktop grid placement */
@media (min-width: 1025px) {
    .mc-jobs-page {
        grid-template-columns: 280px minmax(0, 1fr) 280px;
    }

    .mc-jobs-page > .mc-filters {
        grid-column: 1;
    }

    .mc-jobs-page > .mc-job-list {
        grid-column: 2;
        min-width: 0;
    }

    .mc-jobs-page > .mc-hot-jobs {
        grid-column: 3;
    }

    .mc-jobs-page .job-card {
        max-width: 100%;
    }
}

/* ==========================================
   MEDCONNECT JOBS V2 - SEARCH BUTTON
   ========================================== */

.mc-jobs-page .mc-v2-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mc-jobs-page #mcV2Keyword {
    flex: 1 1 auto;
    min-width: 0;
}

/* Blue Search Button */
.mc-jobs-page #mcV2SearchSubmit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;
    /*min-width: 115px;*/
    height: 42px;

    padding: 0 18px !important;

    background: #1769d2 !important;
    color: #ffffff !important;
    border: 1px solid #1769d2 !important;
    border-radius: 10px !important;

    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2;

    cursor: pointer;
    white-space: nowrap;

    transition: background 0.2s ease;
    margin-right: 10px !important;
}

/*.mc-jobs-page #mcV2SearchSubmit:hover {*/
/*    background: #1055b3 !important;*/
/*    border-color: #1055b3 !important;*/
/*}*/

/*.mc-jobs-page #mcV2SearchSubmit:focus-visible {*/
/*    outline: 3px solid rgba(23, 105, 210, 0.2);*/
/*    outline-offset: 2px;*/
/*}*/

#mcV2SearchSubmit svg {
    color: #fff;
}
/* Keep clear icon compact */
.mc-jobs-page #mcV2SearchClear {
    flex: 0 0 auto;
}

/* Mobile */
@media (max-width: 480px) {
    .mc-jobs-page .mc-v2-search-bar {
        gap: 7px;
    }

    .mc-jobs-page #mcV2SearchSubmit {
        /*min-width: 75px;*/
        height: 38px;
        padding: 0 10px !important;
        font-size: 12px !important;
    }
}


/* Jobs V2: Hide native search clear icon */
.mc-v2-search-bar input[type="search"]::-webkit-search-cancel-button,
.mc-v2-search-bar input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

/* Prevent search button from shrinking */
.mc-v2-search-bar button[type="submit"] {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    min-width: 120px;
}

/* Allow input to shrink without overlapping button */
.mc-v2-search-bar input {
    flex: 1 1 auto;
    min-width: 0;
}

/* =========================================
   MEDCONNECT JOBS V2 - SEARCH BAR FIX
   ========================================= */

.mc-v2-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}

/* Search input */
.mc-v2-search-wrapper #mcV2Keyword {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 38px !important;
    padding-left: 10px !important;
}

/* Clear X icon - position before Search Jobs button */
.mc-v2-search-wrapper #mcV2SearchClear {
    position: absolute !important;
    top: 50% !important;
    right: 140px !important;
    left: auto !important;
    transform: translateY(-50%) !important;

    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #64748b !important;
    cursor: pointer;
    z-index: 3;
}

.mc-v2-search-wrapper #mcV2SearchClear svg {
    width: 16px;
    height: 16px;
}

/* Hide X when input is empty */
.mc-v2-search-wrapper #mcV2SearchClear[hidden] {
    display: none !important;
}

/* Search Jobs button */
.mc-v2-search-wrapper #mcV2SearchSubmit {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;

    flex: 0 0 auto;
    /*min-width: 120px;*/
    z-index: 1;
}

/* Hide browser native X icon */
.mc-v2-search-wrapper input[type="search"]::-webkit-search-cancel-button {
    display: none !important;
    -webkit-appearance: none;
}
.mc-v2-sidebar input[type=search]:focus {
    border-color: #0e5fd8;
    outline: none;
}
.mc-jobs-page .mc-search-bar:focus-within {
    box-shadow: none !important;
    border-color: #1769d2  !important;
}
/* MedConnect Jobs V2 — compact searchable filters; scoped to sidebar */
.mc-jobs-page .mc-v2-sidebar .mc-v2-fbody{padding:14px 18px 6px;overflow:visible}
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-field{position:relative;margin:0 0 17px;border:0}
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-label{display:block;margin:0 0 8px;font-size:13px;font-weight:600;color:#253c5a}
.mc-jobs-page .mc-v2-sidebar button.mc-v2-cf-trigger{width:100%;min-height:43px;padding:0 12px!important;display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fff!important;color:#253c5a!important;border:1px solid #dbe5f0!important;border-radius:10px!important;text-align:left;font-size:13px!important;font-weight:400!important;box-shadow:none!important}
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-trigger:focus-visible{outline:2px solid #1769d2;outline-offset:2px}
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-selected{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-menu{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:100;background:#fff;border:1px solid #dbe5f0;border-radius:11px;padding:8px;box-shadow:0 12px 25px #152d5024}
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-menu[hidden],.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-option[hidden],.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-empty[hidden],.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-active[hidden]{display:none!important}
.mc-jobs-page .mc-v2-sidebar input.mc-v2-cf-search{width:100%;height:39px;margin:0 0 7px;padding:0 10px!important;border:1px solid #dbe5f0!important;border-radius:8px!important;background:#fff;font-size:13px!important}
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-options{max-height:200px;overflow-y:auto;overscroll-behavior:contain}
.mc-jobs-page .mc-v2-sidebar button.mc-v2-cf-option{width:100%;min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px!important;background:#fff!important;color:#334155!important;border:0!important;border-radius:8px!important;text-align:left;font-size:13px!important;font-weight:400!important;box-shadow:none!important}
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-option:hover,.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-option[aria-selected="true"]{background:#edf5ff!important;color:#1769d2!important}
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-option svg{visibility:hidden;flex-shrink:0}
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-option[aria-selected="true"] svg{visibility:visible}
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-empty{padding:10px;color:#64748b;font-size:12px}
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-active{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:15px}
.mc-jobs-page .mc-v2-sidebar button.mc-v2-cf-chip{padding:6px 8px!important;background:#edf5ff!important;color:#1769d2!important;border:1px solid #d5e5fb!important;border-radius:8px!important;font-size:12px!important;font-weight:500!important}
.mc-jobs-page .mc-v2-sidebar button.mc-v2-cf-clear-all{margin-left:auto;padding:6px!important;border:0!important;background:transparent!important;color:#1769d2!important;font-size:12px!important;box-shadow:none!important}
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-legacy-radios[hidden],.mc-jobs-page .mc-v2-sidebar .mc-v2-sel[hidden]{display:none!important}
@media(max-width:850px){.mc-jobs-page .mc-v2-sidebar .mc-v2-fbody{overflow:visible}}
/* Compact filters: allow dropdown menus to overflow the sidebar card */
.mc-jobs-page>.mc-v2-sidebar{overflow:visible!important;max-height:none}
.mc-v2-sidebar .mc-v2-fhead{border-radius:18px 18px 0 0}
.mc-v2-sidebar .mc-v2-actions{border-radius:0 0 18px 18px}
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-trigger svg{flex-shrink:0;color:#64748b}
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-field:last-child{margin-bottom:12px}

/* "N active" pill, as in the compact sample */
.mc-v2-sidebar .mc-v2-count{
  min-width:0;height:auto;padding:5px 9px;border-radius:99px;
  background:#edf5ff;color:#1769d2;
  font-size:12px;font-weight:700;line-height:1.2;
}
.mc-v2-sidebar .mc-v2-count:empty{display:none}
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-active{margin-bottom:15px}
/* Compact filters: show ~9 options at once, keep search box pinned */
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-menu{
  padding:8px 6px 8px 8px;
}
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-options{
  max-height:min(340px, 50vh);   /* about 9 rows; shrinks on short screens */
  overflow-y:auto;
  padding-right:4px;
}
.mc-jobs-page .mc-v2-sidebar input.mc-v2-cf-search{
  position:sticky;top:0;z-index:2;
  margin-bottom:8px;
}
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-options::-webkit-scrollbar{width:6px}
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-options::-webkit-scrollbar-thumb{
  background:#cbd5e1;border-radius:50px;
}
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-options{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}

/* Open upward when there isn't room below (class added by the JS below) */
.mc-jobs-page .mc-v2-sidebar .mc-v2-cf-menu.mc-v2-cf-up{
  top:auto;bottom:calc(100% + 5px);
}
/* ===== Accordion filters (replaces floating dropdown) ===== */
.mc-jobs-page>.mc-v2-sidebar{overflow-y:auto!important;max-height:calc(100vh - 40px)!important}

.mc-jobs-page .mc-v2-sidebar details.mc-v2-acc{margin:0;border-bottom:1px solid #eef2f7}
.mc-jobs-page .mc-v2-sidebar details.mc-v2-acc:last-of-type{border-bottom:0}

.mc-jobs-page .mc-v2-sidebar .mc-v2-acc>summary{
  display:flex;align-items:center;gap:8px;padding:14px 0;cursor:pointer;list-style:none}
.mc-jobs-page .mc-v2-sidebar .mc-v2-acc>summary::-webkit-details-marker{display:none}
.mc-jobs-page .mc-v2-sidebar .mc-v2-acc>summary .mc-v2-cf-label{
  flex:1;min-width:0;margin:0;font-size:14px;font-weight:600;color:#253c5a}
.mc-jobs-page .mc-v2-sidebar .mc-v2-acc .mc-v2-cf-selected{
  max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-style:normal;font-size:12px;font-weight:600;color:#1769d2;
  background:#edf5ff;padding:3px 8px;border-radius:99px}
.mc-jobs-page .mc-v2-sidebar .mc-v2-acc .mc-v2-cf-selected:empty{display:none}
.mc-jobs-page .mc-v2-sidebar .mc-v2-acc .mc-v2-acc-chev{flex-shrink:0;color:#64748b;transition:transform .2s ease}
.mc-jobs-page .mc-v2-sidebar .mc-v2-acc[open] .mc-v2-acc-chev{transform:rotate(180deg)}

/* menu is now inline inside the accordion, not a floating popup */
.mc-jobs-page .mc-v2-sidebar .mc-v2-acc .mc-v2-cf-menu{
  position:static;box-shadow:none;border:0;background:transparent;padding:0 0 14px}
.mc-jobs-page .mc-v2-sidebar .mc-v2-acc input.mc-v2-cf-search{position:static;margin:0 0 8px}
.mc-jobs-page .mc-v2-sidebar .mc-v2-acc .mc-v2-cf-options{max-height:240px;padding-right:4px}

/* phones: let the page scroll instead of the sidebar */
@media(max-width:850px){
  .mc-jobs-page>.mc-v2-sidebar{max-height:none!important;overflow:visible!important}
}
/* ==========================================
   MedConnect Jobs V2 - Compact Filter Options
   ========================================== */

/* Display approximately 4 options per expanded filter */
#mcV2FilterForm .mc-v2-acc .mc-v2-cf-options {
    max-height: 144px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

/* Consistent option sizing */
#mcV2FilterForm .mc-v2-acc .mc-v2-cf-option {
    min-height: 36px;
    box-sizing: border-box;
}

/* Keep search input visible while options scroll */
#mcV2FilterForm .mc-v2-acc .mc-v2-cf-search {
    flex-shrink: 0;
}

/* Smooth scrollbar appearance */
#mcV2FilterForm .mc-v2-cf-options::-webkit-scrollbar {
    width: 5px;
}

#mcV2FilterForm .mc-v2-cf-options::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

#mcV2FilterForm .mc-v2-cf-options::-webkit-scrollbar-track {
    background: transparent;
}

/* ===== No jobs found card ===== */
.mc-jobs-page .mc-no-jobs-card{
    background:#fff;
    border:1px solid #eef2f7;
    border-radius:18px;
    padding:60px 24px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
    color:#526783;
}
.mc-jobs-page .mc-no-jobs-card svg{
    color:#1769d2;
    margin-bottom:14px;
}
.mc-jobs-page .mc-no-jobs-card h3{
    margin:0 0 8px;
    font-size:24px;
    font-weight:700;
    color:#152d50;
}
.mc-jobs-page .mc-no-jobs-card p{
    margin:0 auto 22px;
    max-width:420px;
    font-size:15px;
    line-height:1.6;
    color:#64748b;
}
.mc-jobs-page a.mc-no-jobs-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:11px 24px;
    border-radius:10px;
    background:#1769d2;
    color:#fff !important;
    font-size:14px;
    font-weight:600;
    text-decoration:none !important;
    transition:background .2s ease;
}
.mc-jobs-page a.mc-no-jobs-btn:hover{
    background:#1055b3;
}

@media (max-width:600px){
    .mc-jobs-page .mc-no-jobs-card{
        padding:40px 16px;
        border-radius:14px;
    }
    .mc-jobs-page .mc-no-jobs-card h3{ font-size:20px; }
    .mc-jobs-page .mc-no-jobs-card p{ font-size:14px; }
}
/* =========================================================
   MOBILE: filter icon beside search + left drawer + sticky bar
   ========================================================= */
.mc-m-filter-icon,
.mc-m-overlay,
.mc-m-close { display: none; }

@media (max-width: 850px) {

    /* ---------- sticky search row ---------- */
    .mc-jobs-page .mc-v2-toolbar {
        position: sticky;
        top: var(--mc-sticky-top, 0px);   /* raise if your theme header is sticky */
        z-index: 90;
        display: flex;
        flex-direction: row;               /* beats the old column rule at 600px */
        align-items: center;
        gap: 10px;
        margin: 0 -12px 12px;
        padding: 10px 12px;
        background: #fff;
        box-shadow: 0 6px 14px -10px rgba(15, 23, 42, .25);
    }
    .mc-jobs-page .mc-v2-toolbar .mc-search-bar {
        flex: 1 1 auto;
        min-width: 0;
    }

    /* ---------- search box: Enter key only ---------- */
    .mc-jobs-page .mc-v2-search-wrapper {
        height: 48px;
        gap: 0;
    }
    /* hide the "Search Jobs" button on mobile */
    .mc-jobs-page .mc-v2-search-wrapper #mcV2SearchSubmit {
        display: none !important;
    }
    /* the left magnifier is decoration only */
    .mc-jobs-page .mc-v2-search-wrapper > button:first-child {
        pointer-events: none;
    }
    /* clear (x) sits at the right edge now */
    .mc-jobs-page .mc-v2-search-wrapper #mcV2SearchClear {
        right: 8px !important;
    }
    .mc-jobs-page .mc-v2-search-wrapper #mcV2Keyword {
        padding: 0 40px 0 48px !important;
        font-size: 16px !important;        /* stops iOS zoom on focus */
    }

    /* ---------- filter icon button ---------- */
    body .mc-jobs-page .mc-v2-toolbar button.mc-m-filter-icon {
        position: relative;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        padding: 0 !important;
        background: #fff !important;
        color: #1769d2 !important;
        border: 1.5px solid #1769d2 !important;
        border-radius: 12px !important;
        box-shadow: none !important;
        cursor: pointer;
    }
    .mc-m-filter-icon .mc-i { width: 20px; height: 20px; }

    .mc-m-badge {
        position: absolute;
        top: -7px;
        right: -7px;
        font-style: normal;
        min-width: 20px;
        height: 20px;
        padding: 0 5px;
        border-radius: 99px;
        background: #1769d2;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        line-height: 20px;
        text-align: center;
        box-sizing: border-box;
    }
    .mc-m-badge:empty { display: none; }

    /* ---------- the desktop sidebar becomes a LEFT drawer ---------- */
    body .mc-jobs-page > aside.mc-v2-sidebar {
        position: fixed !important;
        top: 0;
        bottom: 0;
        left: 0;
        right: auto;
        width: min(86vw, 340px);
        height: 100vh;
        height: 100dvh;
        max-height: none !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        background: #fff;
        border: 0;
        border-radius: 0 20px 20px 0;
        box-shadow: 20px 0 50px rgba(15, 23, 42, .25);
        z-index: 10001;
        transform: translateX(-105%);
        visibility: hidden;
        transition: transform .3s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .3s;
    }
    body .mc-jobs-page > aside.mc-v2-sidebar.is-open {
        transform: translateX(0);
        visibility: visible;
        transition: transform .3s cubic-bezier(.2, .7, .2, 1), visibility 0s;
    }

    /* header: title + active count + close button */
    body .mc-v2-sidebar .mc-v2-fhead {
        cursor: default;
        border-radius: 0 20px 0 0;
        padding-top: calc(16px + env(safe-area-inset-top, 0px));
    }
    body .mc-v2-sidebar .mc-v2-count { margin-left: auto; }
    body .mc-v2-sidebar .mc-m-close {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        margin-left: 10px;
        padding: 0 !important;
        background: #f1f5f9 !important;
        color: #334155 !important;
        border: 0 !important;
        border-radius: 50% !important;
        box-shadow: none !important;
        cursor: pointer;
    }
    .mc-m-close .mc-i { width: 16px; height: 16px; }

    /* fill the drawer so Clear / Search jobs always sit at the bottom */
    /*body .mc-v2-sidebar .mc-v2-fbody {*/
    /*    min-height: calc(100dvh - 135px);*/
    /*}*/
    /*body .mc-v2-sidebar .mc-v2-actions {*/
    /*    position: sticky;*/
    /*    bottom: 0;*/
    /*    z-index: 3;*/
    /*    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));*/
    /*}*/





@media (max-width: 850px) {

    body .mc-jobs-page > aside.mc-v2-sidebar {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;

        height: 100dvh !important;
        max-height: 100dvh !important;
        overflow: hidden !important;

        display: flex !important;
        flex-direction: column !important;
    }

    body .mc-v2-sidebar #mcV2FilterForm {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        height: 100% !important;
        overflow: hidden !important;
    }

    body .mc-v2-sidebar #mcV2FWrap {
        display: grid !important;
        grid-template-rows: auto minmax(0, 1fr) auto !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        height: 100% !important;
        overflow: hidden !important;
    }

    body .mc-v2-sidebar .mc-v2-fhead {
        grid-row: 1;
        position: relative !important;
        flex-shrink: 0;
    }

    body .mc-v2-sidebar .mc-v2-fbody {
        grid-row: 2;
        min-height: 0 !important;
        height: auto !important;
        max-height: none !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    body .mc-v2-sidebar .mc-v2-actions {
        grid-row: 3;
        position: relative !important;
        bottom: auto !important;
        margin: 0 !important;
        flex-shrink: 0;
        background: #fff !important;
        z-index: 5;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }
}




    /* dark backdrop */
    .mc-m-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, .55);
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, visibility 0s linear .3s;
    }
    .mc-m-overlay.is-open {
        opacity: 1;
        visibility: visible;
        transition: opacity .3s ease, visibility 0s;
    }

    /* the floating bar is gone, so no extra bottom space is needed */
    .mc-jobs-page.mc-jobs-page { padding-bottom: 20px !important; }
}

/* desktop: none of this shows */
@media (min-width: 851px) {
    .mc-m-filter-icon, .mc-m-overlay, .mc-m-close { display: none !important; }
}
/* Mobile search: give the typing area the room */
@media (max-width: 850px) {

    .mc-jobs-page .mc-v2-toolbar {
        gap: 8px;
        padding: 8px 10px;
    }

    .mc-jobs-page .mc-v2-search-wrapper {
        height: 46px;
        gap: 0;
        padding: 0 4px 0 0;
    }

    /* magnifier: small fixed icon, not a padded theme button */
    .mc-jobs-page .mc-v2-search-wrapper > button:first-child {
        flex: 0 0 36px !important;
        width: 36px !important;
        min-width: 0 !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        pointer-events: none;
    }
    .mc-jobs-page .mc-v2-search-wrapper > button:first-child svg {
        width: 18px !important;
        height: 18px !important;
    }

    /* input takes all the remaining width */
    .mc-jobs-page .mc-v2-search-wrapper #mcV2Keyword {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        padding: 0 34px 0 0 !important;
        font-size: 16px !important;
        text-overflow: ellipsis;
    }

    /* clear (x) sits inside the right edge */
    .mc-jobs-page .mc-v2-search-wrapper #mcV2SearchClear {
        right: 6px !important;
        width: 28px !important;
        height: 28px !important;
    }

    /* slightly smaller filter button */
    body .mc-jobs-page .mc-v2-toolbar button.mc-m-filter-icon {
        flex: 0 0 46px;
        width: 46px;
        height: 46px;
    }
}

.e-con-full, .e-con>.e-con-inner {
    padding-block-end: 0px !important;
    padding-block-start: 4px !important;
}

.e-con {
    --container-default-padding-right: 0px !important;
    --container-default-padding-left: 0px !important;
}

#mcV2FilterForm .mc-v2-acc {
    position: relative;
}

#mcV2FilterForm .mc-v2-acc[open] > .mc-v2-cf-menu {
    position: static;
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Display approximately four options, then scroll */
#mcV2FilterForm .mc-v2-cf-options {
    max-height: 144px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
}

/* Consistent option height */
#mcV2FilterForm .mc-v2-cf-option {
    box-sizing: border-box;
    min-height: 36px;
    padding: 7px 10px;
}

/* Buttons remain after all expanded filter groups */
#mcV2FilterForm .mc-v2-actions {
    position: relative;
    bottom: auto;
}

/* MedConnect Jobs V2 - search/filter loading overlay */

.mc-job-list {
    position: relative;
}

.mc-v2-search-loader[hidden] {
    display: none !important;
}

.mc-v2-search-loader {
    position: absolute;
    inset: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 110px 16px 24px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(3px);
    border-radius: 14px;
}

.mc-v2-loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    color: #1a365d;
}

.mc-v2-loader-spinner {
    width: 38px;
    height: 38px;
    border: 3px solid #dbeafe;
    border-top-color: #1664d9;
    border-radius: 50%;
    animation: mcV2LoaderSpin 0.75s linear infinite;
}

.mc-v2-loader-content strong {
    font-size: 15px;
    font-weight: 600;
}

.mc-v2-loader-content > span:last-child {
    font-size: 13px;
    color: #64748b;
}

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

/* MedConnect branded loader */

.mc-v2-branded-spinner {
    width: 65px;
    height: 65px;
    object-fit: contain;
    display: block;
}

.mc-v2-search-loader[hidden] {
    display: none !important;
}

.mc-v2-loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.mc-v2-loader-content strong {
    font-size: 15px;
    font-weight: 600;
    color: #1a365d;
}

.mc-v2-loader-content > span {
    font-size: 13px;
    color: #64748b;
}
/* =========================================
   JOBS V2 — MOBILE FILTER LOADER
========================================= */

.mc-v2-mobile-loader[hidden] {
    display: none !important;
}

@media (max-width: 850px) {

    /* Do not override the sidebar's existing position */

    #mcV2Sidebar .mc-v2-mobile-loader:not([hidden]) {
        position: absolute;
        inset: 0;
        z-index: 9999;

        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 12px;

        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(3px);
    }

    #mcV2Sidebar .mc-v2-mobile-spinner {
        width: 34px;
        height: 34px;
        flex-shrink: 0;

        border: 3px solid #dbeafe;
        border-top-color: #1769d2;
        border-radius: 50%;

        animation: mc-v2-spin 0.75s linear infinite;
    }

    @keyframes mc-v2-spin {
        to {
            transform: rotate(360deg);
        }
    }
}

/* =========================================
   JOBS V2 — MOBILE BRANDED LOADER
========================================= */

.mc-v2-mobile-loader[hidden] {
    display: none !important;
}

@media (max-width: 850px) {

    #mcV2Sidebar .mc-v2-mobile-loader:not([hidden]) {
        position: absolute;
        inset: 0;
        z-index: 9999;

        display: flex;
        align-items: center;
        justify-content: center;

        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(2px);
    }

    #mcV2Sidebar .mc-v2-mobile-loader .mc-v2-loader-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-align: center;
    }

    #mcV2Sidebar .mc-v2-branded-spinner {
        width: 65px;
        height: auto;
        max-width: 65px;
        display: block;
    }

    #mcV2Sidebar .mc-v2-mobile-loader p {
        margin: 0;
        font-size: 14px;
        color: #334155;
    }
}

/* Hot Jobs: prevent location and salary layout issues */
.mc-v2-hot-jobs .job-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.mc-v2-hot-jobs .job-location {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.mc-v2-hot-jobs .job-location-text {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mc-v2-hot-jobs .job-salary {
    flex: 0 0 auto;
    white-space: nowrap;
}

.mc-v2-application-closed {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    cursor: default;
}

.mc-v2-application-closed {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.mc-job-modal #modalApplyBtn.mc-v2-modal-closed {
    display: none !important;
}