body{
    background:#f5f7fb;
}

.dreamjob-job-container{
    max-width:1100px;
    margin:40px auto;
    background:#fff;
    padding:35px;
    border-radius:18px;
    box-shadow:0 8px 30px rgba(0,0,0,.08);
}

.dreamjob-job-title{
    font-size:42px;
    font-weight:700;
    color:#0F3D33;
    margin-bottom:25px;
    line-height:1.3;
}

.dreamjob-job-details{
    width:100%;
    border-collapse:collapse;
}

.dreamjob-job-details th{
    width:260px;
    background:#f3f7f6;
    color:#0F3D33;
    font-weight:600;
}

.dreamjob-job-details th,
.dreamjob-job-details td{
    padding:16px;
    border:1px solid #e5e7eb;
}

.dreamjob-job-details tr:hover{
    background:#fafafa;
}

.button,
.button-primary{
    display:inline-block;
    padding:14px 28px;
    border-radius:10px;
    text-decoration:none;
    font-size:16px;
    font-weight:600;
    transition:.3s;
    margin-right:12px;
    margin-top:20px;
}

.button{
    background:#ffffff;
    color:#0F3D33;
    border:2px solid #0F3D33;
}

.button:hover{
    background:#0F3D33;
    color:#ffffff;
}

.button-primary{
    background:#0F3D33;
    color:#ffffff;
    border:2px solid #0F3D33;
}

.button-primary:hover{
    background:#145c4a;
    border-color:#145c4a;
}

.dreamjob-back-link{
    display:inline-block;
    margin-top:25px;
    color:#0F3D33;
    text-decoration:none;
    font-weight:600;
}

.dreamjob-back-link:hover{
    text-decoration:underline;
}

.dreamjob-section{
    margin-top:35px;
}

.dreamjob-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    margin-top:20px;
}

.dreamjob-btn{
    display:inline-block;
    padding:14px 24px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.dreamjob-btn-primary{
    background:#0F3D33;
    color:#fff;
}

.dreamjob-btn-primary:hover{
    background:#145848;
}

.dreamjob-btn-secondary{
    background:#ffffff;
    color:#0F3D33;
    border:2px solid #0F3D33;
}

.dreamjob-btn-secondary:hover{
    background:#0F3D33;
    color:#fff;
}

.dreamjob-btn-light{
    background:#f3f4f6;
    color:#333;
}

.dreamjob-btn-light:hover{
    background:#e5e7eb;
}

.dreamjob-job-container{
    max-width:1200px;
    margin:40px auto;
    padding:40px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.dreamjob-job-title{
    color:#0F3D33;
    font-size:42px;
    font-weight:700;
    margin-bottom:25px;
}

.dreamjob-job-details{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
}

.dreamjob-job-details th{
    width:260px;
    background:#f5f8f7;
    color:#0F3D33;
    font-weight:600;
}

.dreamjob-job-details th,
.dreamjob-job-details td{
    padding:18px;
    border:1px solid #e5e7eb;
}

.dreamjob-job-details tr:nth-child(even){
    background:#fafafa;
}

.dreamjob-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    margin-top:30px;
}

.dreamjob-btn{
    padding:14px 26px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.dreamjob-btn-primary{
    background:#0F3D33;
    color:#fff;
}

.dreamjob-btn-secondary{
    background:#fff;
    border:2px solid #0F3D33;
    color:#0F3D33;
}

.dreamjob-btn-light{
    color:#666;
    text-decoration:none;
}

.dreamjob-overview-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-top:20px;
}

.dreamjob-overview-grid > div{
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:20px;
    box-shadow:0 4px 12px rgba(0,0,0,.06);
    transition:.3s;
}

.dreamjob-overview-grid > div:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}

.dreamjob-overview-grid strong{
    display:block;
    color:#0F3D33;
    font-size:15px;
    margin-bottom:8px;
}

.dreamjob-section{
    margin-top:40px;
}

.dreamjob-section h2{
    color:#0F3D33;
    font-size:28px;
    margin-bottom:20px;
    border-left:5px solid #0F3D33;
    padding-left:12px;
}

.dreamjob-description{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:24px;
    line-height:1.8;
    box-shadow:0 4px 12px rgba(0,0,0,.06);
}

/* =========================================
   DREAMJOB JOB DETAILS - PREMIUM HERO
   ========================================= */

.dreamjob-header{
    background:linear-gradient(135deg,#0F3D33,#185C4D);
    padding:40px 45px;
    border-radius:20px;
    margin-bottom:35px;
    box-shadow:0 12px 30px rgba(15,61,51,.18);
}

.dreamjob-header .dreamjob-job-title{
    color:#ffffff;
    font-size:42px;
    line-height:1.2;
    font-weight:700;
    margin:0 0 22px;
}

.dreamjob-job-meta{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.dreamjob-badge{
    display:inline-flex;
    align-items:center;
    padding:9px 15px;
    border-radius:30px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.25);
    color:#ffffff;
    font-size:14px;
    font-weight:500;
   
}

.dreamjob-badge.organization{
    background:rgba(255,255,255,.16);
}

.dreamjob-badge.employment{
    background:rgba(255,255,255,.12);
}

.dreamjob-badge.location{
    background:rgba(255,255,255,.12);
}



/* Job Overview Cards */
.dreamjob-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.dreamjob-overview-grid > div {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    min-height: 90px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
}

.dreamjob-overview-grid > div:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.dreamjob-overview-grid strong {
    display: block;
    color: #0f3d33;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Eligibility & Details */
.dreamjob-section {
    margin-top: 40px;
}

.dreamjob-section h2 {
    color: #0f3d33;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px;
    padding-left: 14px;
    border-left: 4px solid #0f3d33;
}

.dreamjob-section .dreamjob-overview-grid {
    margin-top: 0;
}

/* Job Description & Qualification */

.dreamjob-description {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
    margin-top: 15px;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.8;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.dreamjob-description p {
    margin: 0 0 14px;
}

.dreamjob-description p:last-child {
    margin-bottom: 0;
}

.dreamjob-description ul,
.dreamjob-description ol {
    margin: 12px 0;
    padding-left: 25px;
}

.dreamjob-description li {
    margin-bottom: 8px;
}

/* Important Links */

.dreamjob-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
}

.dreamjob-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 10px;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.dreamjob-btn-primary {
    background: #0f3d33;
    color: #ffffff !important;
}

.dreamjob-btn-primary:hover {
    background: #0b2f28;
    transform: translateY(-2px);
}

.dreamjob-btn-secondary {
    background: #ffffff;
    color: #0f3d33 !important;
    border: 1px solid #0f3d33;
}

.dreamjob-btn-secondary:hover {
    background: #f3f7f5;
    transform: translateY(-2px);
}

.dreamjob-btn-light {
    background: #f3f4f6;
    color: #374151 !important;
    border: 1px solid #d1d5db;
}

.dreamjob-btn-light:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

/* Responsive Job Details */

@media (max-width: 900px) {

    .dreamjob-overview-grid {
        grid-template-columns: 1fr !important;
        width: 100%;
    }

    .dreamjob-overview-grid > div {
        width: 100%;
        box-sizing: border-box;
    }

    .dreamjob-job-details {
        width: 100%;
        box-sizing: border-box;
    }

}

@media (max-width: 600px) {

    .dreamjob-job-details {
        padding: 0 15px;
    }

    .dreamjob-job-title {
        font-size: 30px;
        line-height: 1.25;
    }

    .dreamjob-overview-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .dreamjob-overview-grid > div {
        padding: 16px;
        min-height: auto;
        width: 100%;
        box-sizing: border-box;
    }

    .dreamjob-section {
        margin-top: 30px;
    }

    .dreamjob-section h2 {
        font-size: 23px;
    }

    .dreamjob-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .dreamjob-btn {
        width: 100%;
        box-sizing: border-box;
    }

}

/* Mobile Job Details Header Fix */

@media (max-width: 600px) {

    .dreamjob-job-details .dreamjob-header {
        width: 100%;
        box-sizing: border-box;
        text-align: left;
    }

    .dreamjob-job-details .dreamjob-job-title {
        font-size: 30px;
        line-height: 1.25;
        margin: 0 0 18px;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .dreamjob-job-details .dreamjob-job-meta {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
    }

   .dreamjob-job-details .dreamjob-badge {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-height: 58px;
    box-sizing: border-box;
    padding: 14px 18px;
    border-radius: 14px;
    white-space: normal;
    overflow-wrap: break-word;
}

}