/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: rgb(242, 243, 245);
}

/* 顶部Banner样式 */
.top-banner {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
        background-image: url(./img/banner.png);
    background-size: 100% 303%;
}

.banner-image {
    display: none;
}

.banner-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.banner-title {
    font-size: 48px;
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 2px;
}

.banner-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.banner-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-white {
    padding: 10px 24px;
    background-color: white;
    color: #2d5f3f;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-white:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    padding: 10px 24px;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-outline:hover {
    background-color: white;
    color: #2d5f3f;
    transform: translateY(-2px);
}

/* 人才分类标题区域 */
.category-section {
    padding: 40px 20px;
    text-align: center;
}

.category-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.category-subtitle {
    font-size: 14px;
    color: #999;
    margin: 0;
}

/* 按钮样式 */
.btn-primary,
.btn-secondary {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #1976d2;
    color: white;
}

.btn-primary:hover {
    background-color: #1565c0;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #1976d2;
}

/* 容器样式 */
.containers {
    width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    background-color: #f5f7fa;
}

/* 内容布局 */
.content-wrapper {
    display: flex;
    gap: 20px;
    width: 1200px;
    margin: 0 auto;
}

/* 左侧过滤区域 */
.filter-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.search-box {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.search-box input {
    width: 100%;
    padding: 8px 10px 8px 32px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    font-size: 13px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35"/></svg>') no-repeat 8px center;
}

.search-box input::placeholder {
    color: #999;
}

.filter-section {
    border-bottom: 1px solid #e0e0e0;
}

.filter-section h3 {
    font-size: 14px;
    color: #333;
    padding: 10px 12px;
    margin: 0;
    background-color: #f5f7fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.filter-section h3:after {
    content: '▼';
    font-size: 10px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.filter-section.collapsed h3:after {
    transform: rotate(-90deg);
}

.filter-content {
    padding: 10px 12px;
}

.filter-group {
    margin-bottom: 10px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h4 {
    font-size: 13px;
    margin-bottom: 8px;
    color: #666;
    font-weight: 600;
}

.filter-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    cursor: pointer;
    color: #666;
    line-height: 1.4;
}

.filter-group input[type="checkbox"] {
    margin-right: 6px;
    accent-color: #1976d2;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.checkbox-grid label {
    margin-bottom: 0;
}

.filter-group input[type="text"] {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    outline: none;
}

.filter-group input[type="text"]::placeholder {
    color: #999;
}

.filter-actions {
    padding: 12px;
    display: flex;
    gap: 8px;
}

.filter-actions .btn-primary {
    flex: 1;
    padding: 8px;
    background-color: #1976d2;
    font-size: 13px;
}

.filter-actions .btn-secondary {
    flex: 1;
    padding: 8px;
    background-color: white;
    color: #666;
    border: 1px solid #ddd;
    font-size: 13px;
}

.filter-actions .btn-secondary:hover {
    background-color: #f5f5f5;
    color: #333;
}

/* 右侧主内容区域 */
.main-content {
    width: 900px;
    flex-shrink: 0;
    /* background: white; */
    /* border: 1px solid #e0e0e0; */
    
    overflow: hidden;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 6px;
}

.header-left {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.content-header h3 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.result-count {
    font-size: 13px;
    color: #1976d2;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-right > span {
    font-size: 14px;
    color: #666;
}

.sort-dropdown {
    position: relative;
}

.sort-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sort-btn:hover {
    background-color: #f5f5f5;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    z-index: 100;
}

.sort-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 10px 15px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-item.active {
    color: #1976d2;
    background-color: #e3f2fd;
}

/* 人才卡片网格 */
.talent-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.talent-card {
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 15px;
    transition: all 0.3s ease;
    border-left: none;
    border-right: none;
    border-bottom: none;
    background-color: white;
    position: relative;
    border-radius: 15px;
}

.talent-card:hover {
    background-color: #f8faff;
    border-color: #1976d2;
}

.talent-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.talent-checkbox {
    margin-top: 5px;
    accent-color: #1976d2;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e0e0;
}

.talent-info {
    flex: 1;
}

.talent-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
}

.talent-basic {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    padding: 3px 10px;
    background-color: #e3f2fd;
    color: #1976d2;
    border-radius: 12px;
    font-size: 12px;
}

.talent-details {
    margin-bottom: 12px;
    padding: 12px;
    /* background-color: #fafafa; */
    border-radius: 4px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.detail-item .label {
    font-size: 12px;
    color: #999;
}

.detail-item .value {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.detail-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
}

.status-tag {
    padding: 2px 8px;
    background-color: #e8f5e9;
    color: #4caf50;
    border-radius: 10px;
    font-size: 12px;
}

.talent-actions {
    display: flex;
    gap: 10px;
}

.talent-actions .btn-primary {
    flex: 1;
    font-size: 14px;
    padding: 8px 16px;
    background-color: #1976d2;
    border-radius: 4px;
}

.talent-actions .btn-secondary {
    flex: 1;
    font-size: 14px;
    padding: 8px 16px;
    background-color: white;
    color: #1976d2;
    border: 1px solid #1976d2;
    border-radius: 4px;
}

.talent-actions .btn-secondary:hover {
    background-color: #e3f2fd;
    color: #1976d2;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-top: 20px;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pagination p {
    font-size: 14px;
    color: #666;
}

.page-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-controls select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

.page-numbers {
    display: flex;
    gap: 5px;
    align-items: center;
}

.page-btn {
    padding: 6px 12px;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.page-btn.active {
    background-color: #1976d2;
    color: white;
    border-color: #1976d2;
}

.page-nav {
    padding: 6px 12px;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.page-nav:hover,
.page-btn:hover:not(.active) {
    background-color: #f5f5f5;
}

.page-controls span {
    font-size: 14px;
}

.page-controls input[type="text"] {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .filter-sidebar {
        width: 100%;
    }
    
    .talent-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 28px;
    }
    
    .banner-content p {
        font-size: 14px;
    }
    
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .pagination {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .page-controls {
        flex-wrap: wrap;
    }
    
    .talent-header {
        flex-direction: column;
    }
}