/* TalentTrack - Job Search Widget Styles */
.job-search-widget {
    margin-bottom: 30px;
}

.job-search-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.job-search-inputs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.job-search-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.job-search-button {
    padding: 12px 25px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.job-search-button:hover {
    background: #005a87;
}

/* Job Search Panel Styles */
.job-search-panel {
    margin-top: 30px;
}

.job-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.job-card {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.job-card .job-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.job-card .job-company {
    color: #666;
    font-weight: 500;
    margin-bottom: 8px;
}

.job-card .job-location {
    color: #888;
    font-size: 14px;
    margin-bottom: 8px;
}

.job-card .job-salary {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 15px;
}

.job-card .job-actions {
    margin-top: 15px;
}

.job-view-details {
    display: inline-block;
    padding: 8px 16px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.job-view-details:hover {
    background: #005a87;
    color: white;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.page-link {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: #f8f9fa;
    border-color: #0073aa;
}

.page-link.current {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

/* Loading Styles */
.job-loading {
    text-align: center;
    padding: 40px;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Job Detail Styles */
.job-detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.job-detail-container .job-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.job-detail-container .job-company,
.job-detail-container .job-location,
.job-detail-container .job-salary {
    margin-bottom: 15px;
    font-size: 16px;
}

.job-detail-container .job-description {
    margin-top: 30px;
}

.job-detail-container .job-description-content {
    margin-top: 15px;
    line-height: 1.6;
}

/* Job Apply Button Styles */
.job-apply-button-container {
    text-align: center;
    margin: 30px 0;
}

.job-apply-button {
    display: inline-block;
    padding: 15px 30px;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.job-apply-button:hover {
    background: #218838;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .job-search-inputs {
        flex-direction: column;
    }
    
    .job-search-input {
        min-width: auto;
    }
    
    .job-results-grid {
        grid-template-columns: 1fr;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .job-detail-container {
        padding: 15px;
    }
    
    .job-detail-container .job-title {
        font-size: 24px;
    }
}

/* Error and No Results Styles */
.error {
    color: #dc3545;
    text-align: center;
    padding: 20px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

/* TalentTrack Branding */
.talent-track-help {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    border-left: 4px solid #0073aa;
}

.talent-track-help h2 {
    color: #0073aa;
    margin-top: 0;
}

.talent-track-help h3 {
    color: #333;
    margin-top: 20px;
}

.talent-track-help ul,
.talent-track-help ol {
    margin-left: 20px;
}

.talent-track-help li {
    margin-bottom: 5px;
} 