.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;
    height:70px;
    border-radius:12px;
    object-fit:cover;
    border:1px solid #e5e7eb;
}

.job-info{
    flex:1;
}

.job-info h3{
    margin:0;
    font-size:22px;
    color:#1e293b;
    font-weight:700;
}

.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:20px;
    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%;
    }
}
.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:12px;
    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:18px;
}

/* 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;
    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;
    height:70px;
    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;
}