/* Modern Job Board Styles */
.job-board-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    margin-top: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    min-height: 700px;
}

/* Job List */
.job-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    max-height: 700px;
    padding-right: 10px;
}

.job-list::-webkit-scrollbar {
    width: 6px;
}

.job-list::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 10px;
}

.job-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.job-card:hover {
    transform: translateY(-3px);
    background: #fff;
    border-color: #007bff;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
}

.job-card.active {
    background: #fff;
    border-color: #007bff;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
}

.job-card.active::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #007bff;
}

.job-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2c3e50;
    font-family: 'Sequel', sans-serif !important;
}

.job-card .job-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 12px;
}

.job-card .job-summary {
    font-size: 0.9rem;
    color: #505c66;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Preview Pane */
.job-preview {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    border: 1px solid #e9ecef;
    position: sticky;
    top: 100px;
    height: fit-content;
    max-height: 700px;
    overflow-y: auto;
}

.job-preview-content h2 {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Sequel', sans-serif !important;
}

.job-preview-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #6c757d;
}

.meta-item i {
    color: #007bff;
}

.job-description-section {
    margin-bottom: 30px;
}

.job-description-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    font-family: 'Sequel', sans-serif !important;
}

.job-description-section ul {
    list-style: none;
    padding-left: 0;
}

.job-description-section ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #505c66;
    font-size: 0.95rem;
    line-height: 1.6;
}

.job-description-section ul li::before {
    content: "\f00c";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #28a745;
    font-size: 0.8rem;
}

.apply-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-top: 40px;
}

.apply-box h4 {
    margin-bottom: 15px;
}

.apply-box p {
    margin-bottom: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .job-board-container {
        grid-template-columns: 1fr;
    }

    .job-list {
        max-height: 400px;
    }

    .job-preview {
        position: static;
        max-height: none;
    }
}