/* Job Detail Page Styles */
.job-detail-container {
    padding: 20px 0;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border: 1px solid #e0e0e0;
    padding: 25px;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.job-header-left {
    display: flex;
    gap: 25px;
    flex: 1;
}

.job-company-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border: 1px solid #f0f0f0;
    padding: 5px;
    border-radius: 4px;
}

.job-info {
    flex: 1;
}

.job-info h1 {
    font-size: 26px;
    color: #007fc7;
    margin: 0 0 8px 0;
    font-weight: 600;
    line-height: 1.2;
}

.job-company-name {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.job-meta {
    font-size: 15px;
    color: #555;
    margin-bottom: 5px;
}

.job-posted-date {
    font-size: 13px;
    color: #888;
    margin-top: 12px;
}

.job-header-right {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.btn-apply {
    background-color: #8bc34a;
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.btn-apply:hover {
    background-color: #7cb342;
    color: white;
    text-decoration: none;
}

.job-content-section {
    margin-bottom: 30px;
    text-align: left;
    padding: 0;
    border: none;
    background: transparent;
    width: 100%;
    max-width: 100%;
    padding-right: 12%;
    box-sizing: border-box;
    margin-right: auto;
}

.job-content-section h2 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #333;
    padding-bottom: 0;
    border-bottom: none;
    text-align: left;
    margin-left: 0;
}

.job-description {
    width: 100%;
    max-width: 100%;
    text-align: left;
}

.bottom-apply-container {
    display: flex;
    justify-content: center; /* Center the button container */
    margin: 40px 0 20px 0;
}

.btn-apply-bottom {
    width: 475px;
    max-width: 80%;
    min-width: 220px;
    text-align: center;
    background-color: #007fc7;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s;
}

.job-detail-container .btn-apply {
    padding: 8px 18px;
}

.btn-apply-bottom:hover {
    background-color: #004984;
    color: white;
    text-decoration: none;
}

.job-content-section p,
.job-content-section ul,
.job-content-section li,
.job-description,
.job-description p,
.job-description li {
    font-size: 16px;
    font-family: poppins3;
    line-height: 1.35;
    color: #000000;
}

.job-content-section ul {
    padding-left: 20px;
    margin: 2px 0 8px;
}

.job-content-section li {
    margin-bottom: 0;
}

.job-content-section li p {
    margin: 0;
}

.job-content-section p,
.job-description p {
    margin: 0 0 6px;
}

.job-description ul {
    margin: 2px 0 8px;
    padding-left: 20px;
}

.job-description li {
    margin-bottom: 0;
}

.job-description li p {
    margin: 0;
}

.job-description p:empty {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .job-header {
        flex-direction: column;
    }
    
    .job-header-left {
        flex-direction: column;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .job-header-right {
        width: 100%;
        margin-left: 0;
        align-items: flex-start;
    }
    
    .btn-apply {
        width: 100%;
        text-align: center;
    }

    .job-content-section {
        padding-right: 0;
    }
}
