/* 招募中心页面样式 */
.recruit-main {
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow: auto;
}

.recruit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.recruit-header h2 {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.recruit-actions {
    display: flex;
}

.recruit-actions button {
    height: 36px;
    padding: 0 15px;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    margin-left: 10px;
    border: none;
    cursor: pointer;
}

.btn-add {
    background-color: #52c41a;
}

.btn-import {
    background-color: #2fb3ff;
}

.btn-export {
    background-color: #722ed1;
}

/* 标签页样式 */
.recruit-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.recruit-tabs ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.recruit-tabs li {
    padding: 10px 20px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    position: relative;
}

.recruit-tabs li.active {
    color: #2fb3ff;
}

.recruit-tabs li.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background-color: #2fb3ff;
}

/* 数据概览卡片 */
.recruit-summary {
    display: flex;
    margin-bottom: 20px;
}

.summary-card {
    flex: 1;
    background-color: #f9f9f9;
    border-radius: 4px;
    padding: 15px;
    margin-right: 15px;
    text-align: center;
    border: 1px solid #eee;
}

.summary-card:last-child {
    margin-right: 0;
}

.summary-card:nth-child(1) {
    border-left: 3px solid #1890ff;
}

.summary-card:nth-child(2) {
    border-left: 3px solid #52c41a;
}

.summary-card:nth-child(3) {
    border-left: 3px solid #fa8c16;
}

.summary-card:nth-child(4) {
    border-left: 3px solid #f5222d;
}

.card-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.card-value {
    font-size: 24px;
    color: #333;
    font-weight: 500;
    margin-bottom: 5px;
}

.card-trend {
    font-size: 12px;
    color: #999;
}

.card-trend.up span {
    color: #52c41a;
}

.card-trend.down span {
    color: #f5222d;
}

/* 趋势图表 */
.recruit-chart {
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #eee;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.chart-header h3 {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin: 0;
}

.time-filter {
    display: flex;
}

.time-btn {
    background: none;
    border: 1px solid #ddd;
    height: 30px;
    padding: 0 12px;
    margin-left: 8px;
    border-radius: 4px;
    cursor: pointer;
    color: #666;
    font-size: 14px;
}

.time-btn.active {
    background-color: #2fb3ff;
    color: #fff;
    border-color: #2fb3ff;
}

.chart-container {
    padding: 20px;
    height: 280px;
    position: relative;
}

.chart-placeholder {
    width: 100%;
    height: 220px;
    position: relative;
    border-bottom: 1px solid #eee;
}

.chart-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #f5f5f5;
}

.chart-line:nth-child(1) {
    top: 33%;
}

.chart-line:nth-child(2) {
    top: 66%;
}

.chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 100%;
    padding: 0 40px;
}

.chart-bar {
    width: 30px;
    background-color: #1890ff;
    border-radius: 4px 4px 0 0;
}

.chart-legend {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 0 15px;
}

.legend-color {
    width: 12px;
    height: 12px;
    margin-right: 6px;
    border-radius: 2px;
}

.legend-color.blue {
    background-color: #1890ff;
}

.legend-color.orange {
    background-color: #fa8c16;
}

.legend-color.green {
    background-color: #52c41a;
}

/* 搜索和筛选 */
.recruit-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-input {
    width: 240px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 14px;
    margin-right: 10px;
}

.search-btn {
    height: 36px;
    padding: 0 15px;
    background-color: #2fb3ff;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.filter-items {
    display: flex;
}

.filter-item {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.filter-item span {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.filter-item select {
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 14px;
    color: #333;
    min-width: 120px;
}

.date-filter {
    display: inline-block;
    height: 32px;
    line-height: 32px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 14px;
    color: #333;
    min-width: 100px;
    cursor: pointer;
    background-color: #fff;
    position: relative;
}

.date-filter::after {
    content: '\25BC';
    position: absolute;
    right: 10px;
    font-size: 10px;
    color: #999;
}

/* 表格样式 */
.recruit-table {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
}

.recruit-table table {
    width: 100%;
    border-collapse: collapse;
}

.recruit-table th,
.recruit-table td {
    padding: 12px 15px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.recruit-table th {
    color: #666;
    font-weight: normal;
    background-color: #f9f9f9;
}

.recruit-table td {
    color: #333;
}

.recruit-table th:first-child,
.recruit-table td:first-child {
    width: 50px;
    text-align: center;
}

.select-all,
.select-item {
    width: 16px;
    height: 16px;
}

.status-active,
.status-completed,
.status-canceled {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 12px;
}

.status-active {
    background-color: #e6f7ff;
    color: #1890ff;
}

.status-completed {
    background-color: #f6ffed;
    color: #52c41a;
}

.status-canceled {
    background-color: #fff1f0;
    color: #f5222d;
}

.btn-view,
.btn-edit,
.btn-copy {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 5px;
    border: none;
    cursor: pointer;
    color: #fff;
}

.btn-view {
    background-color: #1890ff;
}

.btn-edit {
    background-color: #fa8c16;
}

.btn-copy {
    background-color: #722ed1;
}

.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #eee;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li {
    margin: 0 5px;
}

.pagination li a {
    display: block;
    padding: 6px 12px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.pagination li.active a {
    background-color: #2fb3ff;
    color: #fff;
    border-color: #2fb3ff;
}

.pagination li.disabled a {
    color: #ccc;
    cursor: not-allowed;
}

.pagination li:not(.active):not(.disabled):hover a {
    background-color: #f9f9f9;
}

.page-info {
    font-size: 14px;
    color: #999;
}

/* 响应式调整 */
@media screen and (max-width: 1200px) {
    .recruit-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .recruit-actions {
        margin-top: 10px;
    }
    
    .recruit-search {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-items {
        margin-top: 10px;
    }
    
    .filter-item {
        margin-left: 0;
        margin-right: 20px;
    }
    
    .recruit-summary {
        flex-wrap: wrap;
    }
    
    .summary-card {
        flex: 0 0 calc(50% - 10px);
        margin-bottom: 15px;
    }
    
    .recruit-table {
        overflow-x: auto;
    }
} 