/* 人才招聘页面样式 */

/* 职位搜索区域 */
.job-search-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.job-search-section h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 600;
}

.search-box {
    margin-top: 15px;
}

.search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.search-field {
    flex: 1;
    min-width: 200px;
}

.search-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.search-buttons {
    display: flex;
    gap: 10px;
    align-self: flex-end;
    margin-top: 24px;
}

/* 职位筛选与排序 */
.job-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.filter-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tags span {
    color: var(--light-text);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.clear-all {
    color: var(--accent-color);
    font-size: 14px;
    margin-left: 10px;
}

.btn-clear-all {
    color: #fff;
    background: var(--accent-color, #ff5a5f);
    border: none;
    border-radius: 16px;
    padding: 4px 18px;
    font-size: 14px;
    margin-left: 10px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(255,90,95,0.08);
    outline: none;
    display: inline-block;
}
.btn-clear-all:hover, .btn-clear-all:focus {
    background: #e14c50;
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,90,95,0.18);
    text-decoration: none;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sort-options span {
    color: var(--light-text);
}

.sort-options a {
    color: var(--text-color);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.sort-options a.active {
    background-color: var(--primary-color);
    color: white;
}

.sort-options a:hover:not(.active) {
    background-color: #f0f0f0;
}

/* 职位列表 */
.job-list-section {
    margin-bottom: 30px;
}

.job-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.job-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.job-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-title h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
}

.job-salary {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-color);
}

.job-company {
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-company img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
}

.job-company span {
    font-size: 16px;
    color: var(--light-text);
}

.job-info {
    margin-bottom: 15px;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.job-tags .tag {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #f8f9fa;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    color: var(--light-text);
}

.job-tags .tag i {
    color: var(--primary-color);
}

.job-desc {
    margin-bottom: 15px;
}

.job-desc p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

.job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill {
    background-color: rgba(66, 153, 225, 0.1);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.job-date {
    font-size: 14px;
    color: var(--light-text);
}

.job-actions {
    display: flex;
    gap: 10px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 30px 0;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination a {
    background-color: #fff;
    color: var(--text-color);
    border: 1px solid #ddd;
}

.pagination a:hover:not(.disabled) {
    background-color: #f0f0f0;
}

.pagination a.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination .prev, .pagination .next {
    width: auto;
    padding: 0 10px;
}

/* 人才需求统计 */
.talent-stats {
    margin-top: 40px;
    margin-bottom: 30px;
}

.talent-stats h2 {
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.talent-stats h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.stats-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(66, 153, 225, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stats-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.stats-content {
    flex: 1;
}

.stats-content h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 500;
    color: var(--light-text);
}

.stats-number {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: var(--text-color);
}

.stats-trend {
    font-size: 14px;
    color: var(--light-text);
}

.stats-trend.up span {
    color: var(--success-color);
}

.stats-trend.down span {
    color: var(--error-color);
}

/* 响应式样式 */
@media (max-width: 992px) {
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .job-filter {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .job-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
    }
    
    .search-row {
        flex-direction: column;
    }
    
    .search-buttons {
        width: 100%;
        margin-top: 10px;
    }
    
    .search-buttons button {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .job-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .job-actions {
        width: 100%;
    }
    
    .job-actions button {
        flex: 1;
    }
} 