/* MAIN CONTAINER */
.cm-job-main-container{
    width:100%;
    position:relative;
    font-family: Helvetica Neue ;
    margin-top: 120px;
}

/* FULL WIDTH BANNER */
.cm-job-banner{
    width:100vw;
    height:400px;
    background-size:cover;
    background-position:center;
    margin-left:calc(-50vw + 50%);
    position:relative;
    z-index:1;
    font-family: sans-serif !important ;
}

/* DETAILS SECTION OVER BANNER */
.cm-job-details{
    max-width:1050px;
    margin:-40px auto 60px; /* overlay effect */
    background:#fff;
    padding:35px;
    position:relative;
    z-index:5;
    font-family: sans-serif !important ;
}

.cm-job-container{
     display:flex !important;
    gap:30px;
    width:100%;
}

.cm-job-body{
    display:flex !important;
    gap:30px;
    width:100%;
}
/* LEFT COLUMN 75% */
.cm-job-left{
    flex:1 1 75% !important ;
    min-width:0;
}

/* RIGHT COLUMN 25% */
.cm-job-right{
   flex: 3 0 323px !important;
   max-width:320px !important;
   width:421px !important;

   display:flex;
   justify-content:center;   /* horizontal center */
         /* vertical center */
}

/* Gray sidebar box stretching full height */
.cm-job-right-inner{
    border-radius:8px;
    padding:20px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center; /* Center vertically */
    gap:20px;
    width:100%;
    font-family: Helvetica Neue ;
}

/* LOGO */
.cm-job-logo{
    width:80px;
    height:80px;
    border-radius:50%;
    border:2px solid #8fd19e;
    overflow:hidden;
    padding:3px;
    background:#f1fff4;
}

/* BUTTONS */

/* BUTTONS */
/* RIGHT COLUMN ACTIONS BACKGROUND */
.cm-job-actions{
    display:flex;
    gap:10px;
    background:#f2f2f2; /* gray background */
    padding:15px;
    width: 320px !important;
    justify-content:center; /* buttons centered */
     font-family: sans-serif !important ;
}

.cm-job-actions button {
    background: #fff; /* white circular button */
    border: none;
    width: 40px;      /* width = height */
    height: 40px;     /* perfect circle */
    border-radius: 50%; /* makes it round */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px; /* icon size */
    transition: all 0.3s ease;
    font-family: sans-serif !important ;
    padding: 0; /* remove extra padding if any */
}


/* BUTTON HOVER */
.cm-job-actions button:hover{
    color:#fff;
}

.cm-job-actions button i {
    color: #777; /* dark gray / black icon */
}

/* LEFT COLUMN CONTENT */
.cm-job-title,
.cm-job-program{
    font-size:23px;
    font-weight:700;
    color:#007a09;
    margin:5px 0;
    line-height:1.0;
    font-family: sans-serif !important;
}

.cm-job-meta{
    margin-top:15px;
    margin-bottom:10px;
    font-family: sans-serif !important ;
}

.cm-job-meta div{
    line-height:1.4;
    font-size: 14px;
     font-family: sans-serif !important ;
}

/* RESPONSIVE */
@media(max-width:1024px){
    .cm-job-container{
        flex-direction:column;
    }
    .cm-job-left,
    .cm-job-right{
        flex:1 1 100%;
        max-width:100%;
        text-align:center;
        align-items:center;
    }
}

/* DESCRIPTION */
.cm-job-description{
    margin-top:30px;
    line-height:1.7;
    font-size:16px;
     font-family: sans-serif !important ;
}

/* APPLY BUTTON */
.cm-job-apply-wrap{
    margin-top:30px;
    text-align:center;
}

.cm-apply-btn{
    padding:10px 20px;
    background:#007a09;
    font-weight:700;
    color:#fff;
    text-decoration:none;
    border-radius:6px;
    display:inline-block;
    transition:all 0.3s ease;
    font-family: sans-serif !important ;
}

.cm-apply-btn:hover{
    background:#27ae60;
    color:#fff;
}

/* RESPONSIVE */
@media(max-width:1024px){
    .cm-job-details{
        margin:-60px 20px 50px;
    }
    .cm-job-title,
    .cm-job-program{
        font-size:28px;
    }
}

@media(max-width:768px){
    .cm-job-container{
        flex-direction:column;
        gap:20px;
    }
    .cm-job-left,
    .cm-job-right{
        text-align:center;
        align-items:center;
    }
}

@media(max-width:480px){
    .cm-job-title,
    .cm-job-program{
        font-size:22px;
    }
    .cm-job-meta div{
        font-size:14px;
    }
    .cm-job-actions button{
        padding:6px 12px;
        font-size:13px;
    }
    .cm-apply-btn{
        padding:10px 25px;
        font-size:14px;
    }
}

/* WP LIST TABLE */
.wp-list-table td {
    vertical-align: middle;
}
.wp-list-table a {
    font-weight: 600;
}
select {
    min-width: 180px;
    margin-right: 6px;
}


/*============Confirmation Popup============================*/
.cm-confirm-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.cm-confirm-box{
    background:#fff;
    padding:26px 30px;
    border-radius:14px;
    width:100%;
    max-width:380px;
    text-align:center;
    box-shadow:0 20px 40px rgba(0,0,0,.2);
}

.cm-confirm-box h3{
    margin:0 0 8px;
    font-size:20px;
}

.cm-confirm-box p{
    font-size:15px;
    opacity:.85;
}

.cm-confirm-actions{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-top:18px;
}

.cm-confirm-actions .cm-btn{
    padding:8px 16px;
}




/* ================= NEW LAYOUT : CONTENT + SIDEBAR ================= */

/* ===== FORCE FULL WIDTH FLEX FIX ===== */

.cm-job-body{
    display:flex !important;
    gap:30px;
    width:100%;
}

/* MAIN CONTENT */
.cm-job-content{
    flex: 1 1 75% !important;
    min-width:0;
}

/* SIDEBAR */
.cm-job-sidebar{
    flex: 0 0 320px !important;   /* FIXED REAL WIDTH */
    max-width:320px !important;
    width:320px !important;
}

/* SIDEBAR BOX GRAY BACKGROUND */
.cm-job-sidebar .cm-sidebar-box{
    background:#f2f2f2;   /* light gray */
    border:1px solid #e0e0e0;
    padding:18px;
    border-radius:8px;
    margin-bottom: 18px;
}


/* MOBILE */
@media(max-width:1024px){
    .cm-job-body{
        flex-direction:column;
    }

    .cm-job-sidebar{
        width:100% !important;
        max-width:100% !important;
    }
}