/* 人才搜索区域样式 */

.talent-search {
    background: #FFFFFF;
    padding: 80px 0;
    height: 700px;
}

.talent-search .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 标题 */
.talent-search .search-title {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 40px;
    color: #17181A;
    text-align: center;
    margin: 0 0 48px 0;
}

/* 搜索框包装器 */
.search-box-wrapper {
    width: 940px;
    height: 180px;
    border-radius: 8px;
    mix-blend-mode: normal;
    background-image: url('../../images/backgrounds/search-input-bg.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 26px;
    padding-left: 36px;
    padding-right: 36px;
    padding-bottom: 48px;
    margin: 0 auto 48px auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 搜索框主体 */
.search-box {
    background: #FFFFFF;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #DCDFF1;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: #FFFFFF;
}

/* 输入项通用样式 */
.input-item {
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}

.input-item .icon {
    flex-shrink: 0;
}

/* 位置选择框 */
.location-select {
    width: 220px;
}

.search-select {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    color: #17181A;
    background: transparent;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1.5L6 6.5L11 1.5" stroke="%23999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 24px;
}

.search-select option {
    color: #17181A;
}

.search-select::-ms-expand {
    display: none;
}

/* 分隔线 */
.input-divider {
    width: 1px;
    height: 60px;
    background: #E0E0E0;
}

/* 关键词输入框 */
.keyword-input {
    flex: 1;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    color: #17181A;
    background: transparent;
}

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

/* 搜索按钮 */
.search-btn {
    background: #3457DC;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    padding: 0 32px;
    height: 44px;
    margin: 8px;
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #4A6EEE;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(91, 127, 255, 0.3);
}

.search-btn:active {
    transform: translateY(0);
}

/* 筛选标签 */
.filter-tags {
    display: flex;
    gap: 12px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: 116px;
    height: 32px;
    border-radius: 4px;
    background: #FFFFFF;
    mix-blend-mode: normal;
    border: none;
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    justify-content: center;
    padding: 0;
}

.filter-tag .check-icon {
    display: block;
    width: 20px;
    height: 20px;
    overflow: hidden;
    mix-blend-mode: normal;
    opacity: 1;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.filter-tag.active {
    background: #FFFFFF;
    color: #666;
}

.filter-tag:hover:not(.active) {
    background: #F5F5F5;
}

/* 候选人网格 */
.candidate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 候选人卡片 */
.candidate-card {
    width: 385px;
    height: 232px;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid #DCDFF1;
    mix-blend-mode: normal;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.candidate-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #3457DC;
}

/* 卡片头部 */
.card-header {
    width: 385px;
    height: 96px;
    border-radius: 8px 8px 0 0;
    background: #FFFFFF;
    border-bottom: 1px solid #DCDFF1;
    mix-blend-mode: normal;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    flex-shrink: 0;
}

.candidate-avatar {
    width: 56px;
    height: 56px;
    object-fit: cover;
    flex-shrink: 0;
}

.candidate-info {
    flex: 1;
    min-width: 0;
}

.candidate-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.candidate-name {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #17181A;
}

.open-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: #EBF5FF;
    border-radius: 12px;
    font-size: 12px;
    color: #3457DC;
    font-weight: 400;
}

.candidate-title {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    color: #999;
    line-height: 1.4;
}

/* 卡片内容 */
.card-content {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 16px 20px 20px 20px;
    flex: 1;
}

.card-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.card-icon svg {
    width: 16px;
    height: 16px;
}

.card-description {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #7C7D81;
}
