
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #f5f5f5;
    position: relative;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f4ff 50%, #f3ecff 100%);
    box-shadow: 0 2px 8px rgba(106, 13, 173, 0.08);
    padding: 10px 0;
    position: relative;
    border-bottom: 2px solid #6a0dad;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #6a0dad;
    cursor: pointer;
}

.search-box {
    display: flex;
    width: 600px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
}

.search-btn {
    background-color: #6a0dad;
    color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
}

.qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.qrcode img {
    width: 80px;
    height: 80px;
}

/* 导航栏 */
.nav-wrapper {
    background: linear-gradient(to right, #ffffff, #faf8ff);
    box-shadow: 0 1px 4px rgba(106, 13, 173, 0.06);
    border-bottom: 1px solid #ece4f7;
}
.nav {
    display: flex;
    padding: 10px 0;
}

.nav-item {
    padding: 0 20px;
    cursor: pointer;
    font-size: 16px;
    color: #444;
    transition: color 0.2s, border-bottom 0.2s;
    border-bottom: 2px solid transparent;
    padding-bottom: 8px;
}

.nav-item:hover {
    color: #6a0dad;
}

.nav-item.active {
    color: #6a0dad;
    font-weight: bold;
    border-bottom: 2px solid #6a0dad;
}

/* 主内容区 */
.main-container {
    display: flex;
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
    gap: 20px;
}

/* 左侧行业分类 */
.industry-sidebar {
    width: 200px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 10px;
}

.industry-title {
    font-size: 14px;
    color: #6a0dad;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.industry-list {
    list-style: none;
}

.industry-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.3s;
}

.industry-item:hover {
    background-color: #f5f5f5;
}

.industry-item::after {
    content: ">";
    float: right;
    color: #ccc;
}

/* 右侧内容区 */
.content-area {
    flex: 1;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
}

.job-category {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.job-card {
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 15px;
    transition: box-shadow 0.3s;
    min-width: 0;
    overflow: hidden;
}

.job-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.job-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.job-salary {
    color: #6a0dad;
    font-weight: bold;
    margin-bottom: 5px;
}

.job-info {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.company-name {
    font-size: 12px;
    color: #333;
}

.company-size {
    font-size: 12px;
    color: #999;
}

/* 推荐职位区域 */
.recommend-section {
    margin-top: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.recommend-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.job-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.job-item {
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 15px;
    transition: box-shadow 0.3s;
}

.job-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.job-item .job-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.job-item .job-salary {
    color: #6a0dad;
    font-weight: bold;
    margin-bottom: 5px;
}

.job-item .job-info {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.job-item .company-name {
    font-size: 12px;
    color: #333;
}

.job-item .company-size {
    font-size: 12px;
    color: #999;
}
