* {
    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;
    background-color: #f5f5f5;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-container {
    width: 1000px;
    max-height: 90vh;
    background-color: #ffffff;
    border-radius: 8px;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* 头部 */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e8e8e8;
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 500;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.close-btn:hover {
    color: #333;
}

/* 个人信息卡片 */
.profile-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-bottom: 1px solid #e8e8e8;
}

.profile-left {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info h3 {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.profile-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 12px;
    background-color: #e6f4ff;
    color: #1890ff;
    border-radius: 4px;
    font-size: 13px;
}

.contact-btn {
    padding: 10px 32px;
    background-color: #1890ff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-btn:hover {
    background-color: #40a9ff;
}

/* 标签页 */
.tabs {
    display: flex;
    padding: 0 30px;
    border-bottom: 1px solid #e8e8e8;
    gap: 40px;
}

.tab {
    padding: 16px 0;
    background: none;
    border: none;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.tab:hover {
    color: #1890ff;
}

.tab.active {
    color: #1890ff;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #1890ff;
}

/* 详细信息 */
.details-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 30px;
    border-bottom: 1px solid #e8e8e8;
}

.details-column h4 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    margin-bottom: 16px;
    font-size: 14px;
}

.info-row .label {
    color: #999;
    width: 100px;
    flex-shrink: 0;
}

.info-row .value {
    color: #333;
}

/* 核心技能 */
.skills-section {
    padding: 30px;
    border-bottom: 1px solid #e8e8e8;
}

.skills-section h4 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
}

.skills-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.skill-tag {
    padding: 8px 20px;
    background-color: #d4f4dd;
    color: #52c41a;
    border-radius: 6px;
    font-size: 14px;
}

/* 相似人才推荐 */
.recommendations-section {
    padding: 30px;
}

.recommendations-section h4 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.recommendation-card {
    background-color: #f7f9fc;
    padding: 24px;
    border-radius: 8px;
    text-align: center;
}

.rec-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.recommendation-card h5 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.rec-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.rec-tag {
    display: inline-block;
    padding: 3px 10px;
    background-color: #e6f4ff;
    color: #1890ff;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 10px;
}

.similarity {
    font-size: 13px;
    color: #1890ff;
    margin-top: 8px;
}

/* 滚动条样式 */
.modal-container::-webkit-scrollbar {
    width: 6px;
}

.modal-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.modal-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
