:root {
    --theme-green: #017839;
}

.job-postings-container {
    min-height: 100vh;
    padding: 3rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--theme-green);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.125rem;
    color: #666;
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--theme-green);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.job-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--theme-green);
    margin: 0;
    flex: 1;
}

.job-badge {
    background: var(--theme-green);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.job-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.job-location,
.job-deadline {
    color: #666;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-theme {
    background-color: var(--theme-green);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-theme:hover {
    background-color: #015a2d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 120, 57, 0.3);
}

.no-jobs {
    text-align: center;
    padding: 4rem 2rem;
}

.no-jobs-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-jobs h3 {
    color: var(--theme-green);
    margin-bottom: 1rem;
}

.no-jobs p {
    color: #666;
}

.pagination-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

/* Job Detail Styles */
.job-detail-container {
    min-height: 100vh;
    padding: 3rem 0;
}

.job-apply-note {
    max-width: 900px;
    margin: 0 auto 2rem auto;
    padding: 1rem 1.5rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--theme-green);
    border-radius: 8px;
    color: #334155;
    font-size: 0.975rem;
}

.job-detail-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.job-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--theme-green);
    margin-bottom: 1.5rem;
}

.job-detail-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.job-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.job-section {
    margin-bottom: 3rem;
}

.section-heading {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--theme-green);
    margin-bottom: 1.5rem;
}

.job-description,
.job-requirements {
    color: #333;
    line-height: 1.8;
    font-size: 1.0625rem;
}

.job-requirements {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--theme-green);
}

.job-actions {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #5a6268;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 767.98px) {
    .page-title {
        font-size: 2rem;
    }
    
    .job-detail-title {
        font-size: 2rem;
    }
    
    .job-header {
        flex-direction: column;
    }
    
    .job-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .job-actions {
        flex-direction: column;
    }
    
    .job-actions .btn {
        width: 100%;
        text-align: center;
    }
}
