/* Job Listing Styles */
.job-listing-container {
    max-width: 1320px !important;
    margin: 20px auto;
   
}

/* Filter Styles */
.job-filters {
    margin-bottom: 30px;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid #e9ecef !important;
    flex-wrap: wrap;
}

.filter-item {
    flex: 1;
    min-width: 200px;
}

.job-filter-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    background: #f8f9fa;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.job-filter-select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.job-filter-select option {
    padding: 8px;
}

.view-job-btn {
    flex-shrink: 0;
    
}

.view-job-button {
    background-color: #E1BB82 !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px;
    border-radius: 20px !important;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.view-job-button:hover {
    background-color: #b8986f;
}

/* Job Results */
.job-results {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Job Item */
.job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}



.job-content {
    display:flex !important;
    min-width: 0;
}

.job-title {
    margin-bottom: 10px;
}

.job-title h3 {
    margin: 0;
    color: #c8a882;
    font-size: 18px;
    font-weight: 600;
}

.job-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.job-detail-item {
    display: flex;
    align-items: center;
}

.job-detail-item strong {
    color: #333;
    margin-right: 4px;
}

.job-detail-separator {
    color: #ddd;
    font-weight: bold;
}

.job-action {
    flex-shrink: 0;
    margin-left: 20px;
}

.view-job-link {
    display: inline-block;
    background-color: #1e3a8a;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 0px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.view-job-link:hover {
    background-color: #1e40af;
    text-decoration: none;
    color: white;
}

/* No jobs message */
.no-jobs {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Loading state */
.job-results.loading {
    opacity: 0.6;
    pointer-events: none;
}

.job-results.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .job-listing-container {
        margin: 10px;
        padding: 0 10px;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .filter-item {
        min-width: 100%;
    }
    
    .job-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px;
    }
    
    .job-action {
        width: 100%;
        margin-left: 0;
       
    }
    
    .view-job-link {
        display: block;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    .job-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .job-detail-separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .job-title h3 {
        font-size: 16px;
    }
    
    .job-filter-select {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .view-job-button {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .view-job-link {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Single Job Page Styles */
.single-job .entry-content {
    max-width: 800px;
    margin: 0 auto;
}

.job-meta-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #c8a882;
}

.job-meta-info h4 {
    margin-top: 0;
    color: #333;
}

.job-meta-item {
    margin: 10px 0;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.job-meta-item:last-child {
    border-bottom: none;
}

.job-meta-label {
    font-weight: 600;
    color: #555;
    display: inline-block;
    min-width: 120px;
}

.job-meta-value {
    color: #333;
}