/* Jobs Container Layout */
.jobs-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

/* Filters Section */
.filters-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    position: sticky;
    top: 2rem;
    height: fit-content;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.filters-header h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.1);
    outline: none;
}

.filter-button {
    width: 100%;
    padding: 0.8rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-button:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

/* Jobs Content Section */
.jobs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.jobs-header h1 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 0;
}

.jobs-count {
    color: #666;
    font-weight: 500;
}

/* Job Items */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.job-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

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

.job-title {
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 600;
}

.job-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-meta i {
    color: var(--primary-color);
}

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

.job-action {
    display: flex;
    justify-content: flex-end;
}

.view-job-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-job-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Empty State */
.no-jobs {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-jobs i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

/* Pagination */
.pagination-container {
    margin-top: 2rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

.page-nav,
.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 0.5rem;
    border-radius: 6px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-num.active {
    background: var(--primary-color);
    color: white;
}

.page-nav:hover,
.page-num:hover {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .jobs-container {
        grid-template-columns: 1fr;
    }
    
    .filters-section {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .job-main-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .job-meta {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .jobs-container {
        padding: 1rem;
    }
    
    .jobs-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
