/* 头部导航样式 */
header {
    background: linear-gradient(135deg, #018e42, #08b459);
    color: white;
    padding: 0.5rem 0;
    margin-bottom: -10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* 确保在最顶层 */
    height: 50px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease, transform 0.4s ease; /* 平滑过渡效果，特别是transform */
}

/* 滚动时header的样式 */
header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 30px;
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.search-container {
    display: flex;
    align-items: center;
    position: relative;
    height: 36px; /* 固定高度确保垂直居中 */
}

.search-input {
    width: 120px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
    height: 36px;
    box-sizing: border-box;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.search-input:focus {
    outline: none;
    width: 160px;
    background: rgba(255,255,255,0.3);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
}

.search-btn {
    position: absolute;
    right: 8px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn svg {
    transition: all 0.2s ease;
}

.search-btn:hover svg {
    transform: scale(1.1);
}

/* 清除搜索按钮 */
.clear-search {
    position: absolute;
    right: 30px;
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: none;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    top: 50%;
    transform: translateY(-50%);
}

.search-input:not(:placeholder-shown) + .clear-search {
    display: block;
}

.clear-search:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.clear-search:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .search-input {
        width: 100px;
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .search-input:focus {
        width: 130px;
    }
    
    .clear-search {
        right: 25px;
        width: 18px;
        height: 18px;
        font-size: 12px;
        line-height: 18px;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* 招聘页面样式 */
.careers-header {
    background: var(--primary-color) url('../images/careers-bg.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 80px 0;
    margin-top: 60px; /* 为固定的header留出空间 */
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-out;
}

.careers-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    opacity: 0.7;
    z-index: 1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.careers-header {
    animation: fadeIn 1s ease-out, bgMove 15s linear infinite alternate;
}

@keyframes bgMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@media (max-width: 768px) {
    .careers-header {
        animation: fadeIn 1s ease-out, bgMove 50s linear infinite alternate;
    }
}

.careers-header h1, .careers-header p {
    position: relative;
    z-index: 2;
}

.careers-header h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: fadeInDown 1s ease-out;
}

.careers-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}

.toggle-all-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    animation: fadeInUp 1s ease-out 0.5s;
    animation-fill-mode: both;
    position: relative;
    z-index: 5;
}

.toggle-all-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.toggle-all-btn:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toggle-all-btn svg {
    transition: transform 0.3s ease;
}

.toggle-all-btn.collapsed svg {
    transform: rotate(-180deg);
}

@media (max-width: 768px) {
    .toggle-all-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-list {
    max-width: 1200px;
    margin: var(--spacing-xl) auto;
    padding: 0 var(--spacing-md);
}

.no-jobs {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-medium);
    background-color: var(--background-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

/* 职位卡片样式 */
label[for="introduction"] {
    margin-bottom: -5px;
}
.job-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    transition: all 0.3s ease;
    position: relative;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-card {
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out forwards;
}


        
        /* 为每个卡片添加不同的动画延迟，实现按顺序淡入 */
        .job-card:nth-child(1) { animation-delay: 0.1s; }
        .job-card:nth-child(2) { animation-delay: 0.2s; }
        .job-card:nth-child(3) { animation-delay: 0.3s; }
        .job-card:nth-child(4) { animation-delay: 0.4s; }
        .job-card:nth-child(5) { animation-delay: 0.5s; }
        .job-card:nth-child(6) { animation-delay: 0.6s; }
        .job-card:nth-child(7) { animation-delay: 0.7s; }
        .job-card:nth-child(8) { animation-delay: 0.8s; }
        .job-card:nth-child(9) { animation-delay: 0.9s; }
        .job-card:nth-child(10) { animation-delay: 1.0s; }
        
        .job-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
            opacity: 0.8;
            transition: all 0.3s ease;
        }
        
        .job-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }
        
        .job-card:hover::before {
            opacity: 1;
            height: 4px;
        }
        
        .update-time {
            position: absolute;
            top: var(--spacing-md);
            right: var(--spacing-md);
            font-size: 0.75rem;
            color: var(--text-light);
            background-color: rgba(240, 240, 240, 0.7);
            padding: 3px 10px;
            border-radius: 12px;
            backdrop-filter: blur(2px);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 2px;
        }
        
        /* 添加一个小图标来增强视觉效果 */
        .update-time::before {
            content: '';
            display: inline-block;
            width: 10px;
            height: 10px;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center center;
            background-size: contain;
            margin-right: 2px;
        }
        
        .job-card:hover .update-time {
            background-color: rgba(240, 240, 240, 0.9);
        }
        
        .job-title {
            font-size: 1.6rem;
            color: var(--primary-color);
            margin-bottom: var(--spacing-md);
            font-weight: 700;
            position: relative;
            display: inline-flex;
            align-items: center;
            padding-bottom: 10px;
            transition: all 0.3s ease;
            text-shadow: 0 1px 1px rgba(0,0,0,0.05);
            letter-spacing: 0.5px;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .job-title::before {
            content: '✦';
            font-size: 1.2rem;
            margin-right: 8px;
            opacity: 0.8;
            color: var(--primary-color);
            -webkit-text-fill-color: var(--primary-color);
            transform: translateY(-1px);
            transition: all 0.3s ease;
        }

        .job-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
            border-radius: 3px;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }

        .job-card:hover .job-title {
            transform: translateY(-2px);
        }

        .job-card:hover .job-title::before {
            transform: translateY(-1px) rotate(180deg);
            opacity: 1;
        }

        .job-card:hover .job-title::after {
            width: 100%;
            background: linear-gradient(90deg, var(--primary-dark), var(--primary-light));
        }

        @media (max-width: 768px) {
            .job-title {
                font-size: 1.4rem;
                padding-bottom: 8px;
            }
    
            .job-title::before {
                font-size: 1rem;
                margin-right: 6px;
            }
    
            .job-title::after {
                height: 2px;
            }
        }
        
        .job-meta {
            display: flex;
            flex-wrap: wrap;
            gap: var(--spacing-md);
            margin-bottom: var(--spacing-md);
        }
        
        .meta-tag {
            display: inline-flex;
            align-items: center;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            color: white;
            white-space: nowrap;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
        .meta-tag.department {
            background: linear-gradient(135deg, #6f42c1, #8a63d2);
        }
        
        .meta-tag.location {
            background: linear-gradient(135deg, #20c997, #38d9ac);
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        
        .meta-tag.location svg {
            flex-shrink: 0;
        }
        
        .meta-tag:hover {
            transform: translateY(-1px);
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            opacity: 0.9;
        }
        
        @media (max-width: 768px) {
            .meta-tag {
                padding: 2px 6px;
                font-size: 0.8rem;
            }
            
            .update-time {
                font-size: 0.7rem;
                padding: 2px 8px;
                top: var(--spacing-sm);
                right: var(--spacing-sm);
            }
            
            .update-time::before {
                width: 8px;
                height: 8px;
            }
        }
        
        .job-desc, .job-req {
            margin-bottom: var(--spacing-lg);
            line-height: 1.6;
            color: var(--text-dark);
            position: relative;
            padding: 15px;
            border-radius: 8px;
            background-color: rgba(250, 250, 250, 0.7);
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.03);
            overflow: hidden;
        }
        
        .job-desc::after, .job-req::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                rgba(255,255,255,0) 0%, 
                rgba(255,255,255,0.2) 50%, 
                rgba(255,255,255,0) 100%);
            transition: all 0.8s ease;
            pointer-events: none;
        }
        
        .job-card:hover .job-desc,
        .job-card:hover .job-req {
            background-color: rgba(245, 255, 245, 0.8);
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
        }
        
        .job-card:hover .job-desc::after,
        .job-card:hover .job-req::after {
            left: 100%;
        }
        
        .job-desc h3, .job-req h3 {
            color: var(--primary-color);
            font-size: 0.95rem;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
            padding-bottom: 8px;
            border-bottom: 1px dashed rgba(40, 167, 69, 0.2);
            cursor: pointer;
            user-select: none;
            position: relative;
        }
        
        .section-toggle {
            display: flex;
            justify-content: space-between;
            width: 100%;
        }
        
        .toggle-icon {
            margin-left: auto;
            transition: transform 0.3s ease;
        }
        
        .section-toggle.collapsed .toggle-icon {
            transform: rotate(-90deg);
        }
        
        .section-content {
            transition: max-height 0.3s ease, opacity 0.3s ease;
            max-height: 1000px;
            opacity: 1;
            overflow: hidden;
            padding-top: 5px; /* 添加顶部内边距，使内容与标题有一定间隔 */
            padding-bottom: 5px; /* 添加底部内边距，使内容与容器底部有一定间隔 */
        }
        
        .section-toggle.collapsed + .section-content {
            max-height: 0;
            opacity: 0;
            margin-top: 0;
        }
        
        .job-desc h3 .icon-desc, .job-req h3 .icon-req {
            width: 18px;
            height: 18px;
            color: var(--primary-color);
            transition: all 0.3s ease;
        }
        
        .job-card:hover .job-desc h3 .icon-desc, 
        .job-card:hover .job-req h3 .icon-req {
            transform: scale(1.1);
        }
        
        .job-desc ul, .job-req ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .job-desc li, .job-req li {
            position: relative;
            padding-left: 28px;
            margin-bottom: 10px;
            display: flex;
            align-items: flex-start;
            transition: all 0.3s ease;
            opacity: 0.9;
            transform: translateX(0);
        }
        
        .job-desc li:last-child, .job-req li:last-child {
            margin-bottom: 0;
        }
        
        .job-desc li::before, .job-req li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 8px;
            width: 6px;
            height: 6px;
            background-color: var(--primary-color);
            border-radius: 50%;
            transition: all 0.3s ease;
        }
        
        .job-card:hover .job-desc li, 
        .job-card:hover .job-req li {
            opacity: 1;
            transform: translateX(3px);
        }
        
        .job-card:hover .job-desc li:nth-child(1), 
        .job-card:hover .job-req li:nth-child(1) {
            transition-delay: 0.05s;
        }
        
        .job-card:hover .job-desc li:nth-child(2), 
        .job-card:hover .job-req li:nth-child(2) {
            transition-delay: 0.1s;
        }
        
        .job-card:hover .job-desc li:nth-child(3), 
        .job-card:hover .job-req li:nth-child(3) {
            transition-delay: 0.15s;
        }
        
        .job-card:hover .job-desc li:nth-child(4), 
        .job-card:hover .job-req li:nth-child(4) {
            transition-delay: 0.2s;
        }
        
        .job-card:hover .job-desc li:nth-child(5), 
        .job-card:hover .job-req li:nth-child(5) {
            transition-delay: 0.25s;
        }
        
        .job-card:hover .job-desc li::before, 
        .job-card:hover .job-req li::before {
            transform: scale(1.2);
            background-color: var(--primary-dark);
        }
        
        .job-desc p, .job-req p {
            margin: 0;
            padding-left: 0;
            position: relative;
            line-height: 1.3; /* 减少行间距 */
        }
        
        /* 减少列表项的间距 */
        .job-desc li, .job-req li {
            margin-bottom: 6px; /* 从原来的10px减少到6px */
        }
        
        /* 减少段落文本的行间距 */
        .section-content p {
            line-height: 1.3;
        }
        
        .apply-btn, .call-btn {
            color: white;
            padding: var(--spacing-sm) var(--spacing-lg);
            border: none;
            border-radius: 30px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 500;
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        
        .apply-btn {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        }
        
        .call-btn {
            background: linear-gradient(135deg, #28a745, #218838);
        }
        
        .apply-btn:hover, .call-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.15);
        }
        
        .apply-btn:active, .call-btn:active {
            transform: translateY(-1px);
            box-shadow: 0 3px 6px rgba(0,0,0,0.1);
        }
        
        .apply-btn svg, .call-btn svg {
            width: 16px;
            height: 16px;
            transition: all 0.3s ease;
        }
        
        .apply-btn:hover svg, .call-btn:hover svg {
            transform: scale(1.1);
        }
        
        /* 按钮容器样式 */
        .button-container {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
            margin-top: 20px;
        }

        .call-btn svg {
            width: 16px;
            height: 16px;
        }

        @media (max-width: 768px) {
            .apply-btn, .call-btn {
                padding: 8px 12px;
                font-size: 0.9rem;
                min-width: 90px; /* 确保两个按钮宽度一致 */
            }
            
            .apply-btn svg, .call-btn svg {
                width: 14px;
                height: 14px;
            }
            
            /* 优化手机上按钮容器的样式 */
            .button-container {
                gap: 8px; /* 减小按钮间距 */
                margin-top: 15px; /* 减小顶部边距 */
            }
        }
        
        @media (max-width: 768px) {
            .job-meta {
                flex-direction: row;
                flex-wrap: wrap;
                gap: 6px;
            }
    
            .job-card {
                padding: var(--spacing-md);
            }
            
            .job-desc, .job-req {
                padding: 12px;
                margin-bottom: var(--spacing-md);
            }
            
            .job-desc h3, .job-req h3 {
                font-size: 1rem;
                margin-bottom: 10px; /* 减少标题下方间距 */
            }
            
            .job-desc h3 svg, .job-req h3 svg {
                width: 16px;
                height: 16px;
            }
            
            .job-desc li, .job-req li {
                padding-left: 20px;
                margin-bottom: 4px; /* 在移动设备上进一步减少列表项间距 */
                font-size: 0.95rem;
                line-height: 1.25; /* 移动设备上更紧凑的行间距 */
            }
            
            .job-desc li::before, .job-req li::before {
                top: 6px; /* 调整小圆点位置以适应更小的行高 */
                width: 5px;
                height: 5px;
            }
            
            /* 移动设备上减少段落文本的行间距 */
            .section-content p {
                line-height: 1.25;
            }
    
            /* 移动设备上的header样式 */
            header {
                height: 50px;
            }
    
            .logo img {
                height: 30px;
            }
    
            .login-btn button {
                padding: 6px 12px;
                font-size: 0.9rem;
            }
    
            /* 调整careers-header在移动设备上的margin-top */
            .careers-header {
                margin-top: 50px;
                padding: 60px 0;
            }
    
            .careers-header h1 {
                font-size: 2rem;
            }
    
            .careers-header p {
                font-size: 1rem;
                padding: 0 var(--spacing-md);
            }
        }
        /* 职位统计信息样式 - 美化版 */
        .job-stats-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 var(--spacing-md);
            margin-top: -10px;
            margin-bottom: -10px;
        }
        
        .job-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--spacing-lg);
            margin: var(--spacing-xl) 0;
            background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(245,255,245,0.98));
            border-radius: var(--border-radius-xl);
            box-shadow: 
                0 6px 18px rgba(28, 156, 60, 0.1),
                0 2px 4px rgba(28, 156, 60, 0.05),
                inset 0 1px 2px rgba(255,255,255,0.8);
            padding: var(--spacing-xl);
            border: 1px solid rgba(28, 156, 60, 0.1);
            position: relative;
            overflow: hidden;
        }
        
        .job-stats::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
        }
        
        .stat-item {
            display: flex;
            align-items: center;
            gap: var(--spacing-md);
            justify-content: center;
            position: relative;
            padding: var(--spacing-sm);
            transition: all 0.3s ease;
        }
        
        .stat-item:hover {
            transform: translateY(-3px);
        }
        
        .stat-icon {
            width: 56px;
            height: 56px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(145deg, var(--primary-color), var(--primary-dark));
            border-radius: 50%;
            color: white;
            flex-shrink: 0;
            box-shadow: 
                0 4px 8px rgba(28, 156, 60, 0.2),
                inset 0 1px 2px rgba(255,255,255,0.3);
            transition: all 0.3s ease;
        }
        
        .stat-item:hover .stat-icon {
            transform: scale(1.05);
            box-shadow: 
                0 6px 12px rgba(28, 156, 60, 0.3),
                inset 0 1px 2px rgba(255,255,255,0.4);
        }
        
        .stat-icon svg {
            width: 28px;
            height: 28px;
            filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
        }
        
        .stat-content {
            min-width: 0;
            display: flex;
            align-items: baseline;
            gap: 6px;
        }
        
        .stat-value {
            font-size: clamp(1.4rem, 2.2vw, 1.8rem);
            font-weight: 700;
            color: var(--primary-dark);
            line-height: 1;
            text-shadow: 0 1px 2px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }
        
        .stat-item:hover .stat-value {
            color: var(--primary-color);
        }
        
        .stat-label {
            font-size: clamp(0.9rem, 1.6vw, 1rem);
            color: var(--text-dark);
            line-height: 1;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        @media (max-width: 768px) {
            .job-stats {
                grid-template-columns: repeat(3, minmax(0, 1fr));
                gap: var(--spacing-sm);
                padding: var(--spacing-md);
                margin-top: 30px;
                margin-bottom: -15px;
            }
            
            .stat-item {
                flex-direction: column;
                text-align: center;
                gap: var(--spacing-sm);
                justify-content: center;
                align-items: center;
            }
            
            .stat-icon {
                width: 40px;
                height: 40px;
                margin-bottom: 8px;
            }
            
            .stat-icon svg {
                width: 20px;
                height: 20px;
            }
            
            .stat-content {
                width: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
            }
        }
        
        /* 返回底部按钮样式 */
        .back-to-bottom {
            position: fixed;
            bottom: 15px;
            right: 20px;
            width: 40px;
            height: 40px;
            background-color: rgba(40, 167, 69, 0.7);
            color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            z-index: 900;
        }
        
        .back-to-bottom.visible {
            opacity: 0.7;
            visibility: visible;
        }
        
        .back-to-bottom:hover {
            background-color: rgba(40, 167, 69, 0.9);
            transform: translateY(-3px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }
        
        .back-to-bottom:active {
            transform: translateY(-1px);
        }
        
        .back-to-bottom svg {
            width: 20px;
            height: 20px;
            fill: white;
        }
        
        /* 回到顶部按钮样式 */
        .back-to-top {
            position: fixed;
            bottom: 65px;
            right: 20px;
            width: 40px;
            height: 40px;
            background-color: rgba(40, 167, 69, 0.7);
            color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            z-index: 900;
        }
        
        .back-to-top.visible {
            opacity: 0.7;
            visibility: visible;
        }
        
        .back-to-top:hover {
            background-color: rgba(40, 167, 69, 0.9);
            transform: translateY(-3px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }
        
        .back-to-top:active {
            transform: translateY(-1px);
        }
        
        .back-to-top svg {
            width: 20px;
            height: 20px;
            fill: white;
        }

/* 搜索结果标题样式 - 美化版 */

.search-results-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    width: 100%;
    box-sizing: border-box;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .search-results-container {
        padding: 15px;
    }
}

/* 段落间距 */
.search-results-container p {
    margin-bottom: 15px;
}
    .search-result-title {  
        margin: 20px 0;
        padding: 16px 20px;
        background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(245,255,245,0.98));
        border-radius: var(--border-radius-lg);
        box-shadow: 
            0 4px 12px rgba(28, 156, 60, 0.1),
            0 2px 4px rgba(28, 156, 60, 0.05),
            inset 0 1px 2px rgba(255,255,255,0.8);
        border: 1px solid rgba(28, 156, 60, 0.1);
        position: relative;
        overflow: hidden;
        animation: fadeInDown 0.6s ease-out;
    }
    
    .search-result-title::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 0px;
        background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
    }
    
    .search-result-title h3 {
        margin: 0;
        font-size: 1.2rem;
        color: var(--primary-dark);
        font-weight: 600;
        position: relative;
        display: flex;
        align-items: center;
    }
    
    .search-result-title .highlight {
        color: var(--primary-color);
        font-weight: 700;
        text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    }
    
    .search-result-title .result-count {
        display: inline-flex;
        align-items: center;
        margin-left: 8px;
        padding: 2px 8px;
        background-color: var(--primary-light);
        color: white;
        border-radius: 12px;
        font-size: 0.9rem;
        font-weight: 500;
        height: 24px;
    }
    
    .search-result-title .clear-search-result {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 12px;
        padding: 2px 8px;
        background-color: rgba(255,255,255,0.9);
        color: var(--primary-color);
        border-radius: 12px;
        font-size: 0.9rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        height: 24px;
    }
    
    .search-result-title .clear-search-result:hover {
        background-color: white;
        color: var(--primary-dark);
    }
    
    .search-result-title .clear-search-result svg {
        width: 14px;
        height: 14px;
        margin-right: 4px;
    }
    
    @media (max-width: 768px) {
        .search-result-title {
            margin: 15px 0;
            padding: 12px 15px;
            margin-top: 20px;
            margin-bottom: -25px;
        }
        
        .search-result-title h3 {
            font-size: 0.95rem;
        }
        
        .search-result-title .result-count {
            font-size: 0.85rem;
            margin-left: 6px;
            height: 22px;
        }
        
        .search-result-title .clear-search-result {
            height: 22px;
        }
    }
    /* 自定义滚动条样式 */
    ::-webkit-scrollbar {
        width: 4px;
        height: 4px;
    }
    
    ::-webkit-scrollbar-track {
        background: rgba(28, 156, 60, 0.1);
    }
    
    ::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 2px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary-dark);
    }
    /* 关键词弹窗样式 - 美化版 */
.keywords-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.6s ease;
}

.keywords-content {
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(245,255,245,0.98));
    border-radius: 16px;
    padding: 25px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.2),
        0 6px 12px rgba(28, 156, 60, 0.15);
    border: 1px solid rgba(28, 156, 60, 0.1);
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.keywords-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(28, 156, 60, 0.1);
    position: relative;
}

.keywords-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 30px;
}

.keywords-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    letter-spacing: 0.5px;
}

.close-keywords {
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-light);
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
}

.close-keywords:hover {
    color: var(--primary-dark);
    transform: rotate(90deg);
    background: rgb(255, 255, 255);
}

.keywords-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    padding: 5px;
}

.keyword-item {
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    border-radius: 124px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    box-shadow: 
        0 4px 8px rgba(28, 156, 60, 0.2),
        inset 0 1px 2px rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.keyword-item::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.keyword-item:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 6px 15px rgba(28, 156, 60, 0.3),
        inset 0 1px 2px rgba(255,255,255,0.4);
}

.keyword-item:hover::before {
    left: 100%;
}

.keyword-item:active {
    transform: translateY(0) scale(0.98);
}

@media (max-width: 768px) {
    .keywords-content {
        width: 80%;
        padding: 20px 10px;
    }
    
    .keywords-title {
        font-size: 1.2rem;
    }
    
    .keywords-list {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 12px;
    }
    
    .keyword-item {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
}

.modal {
    display: none; /* 初始状态为隐藏 */
    position: fixed;
    z-index: 2000; /* 确保模态框在header之上 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

/* 当显示模态框时应用这些样式 */
.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 职位申请表 */

.modal-content {
    background-color: var(--background-white);
    margin: 0 auto;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalFadeIn 0.4s ease;
    box-sizing: border-box; /* 确保padding不会增加元素的总宽度 */
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating {
    position: relative;
    margin-bottom: var(--spacing-md); /* 从spacing-xl减少到spacing-md */
}

.floating label {
    position: absolute;
    top: 50%;
    left: var(--spacing-md);
    transform: translateY(-50%);
    color: var(--text-light);
    transition: all 0.3s ease;
    pointer-events: none;
    background-color: transparent;
    padding: 0 var(--spacing-xs);
    z-index: 1;
}


.floating textarea ~ label {
    top: var(--spacing-md);
    transform: none;
}

/* 提示文字样式 */
.hint-text {
    position: absolute;
    left: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    opacity: 1;
    white-space: nowrap;
}

.floating input:focus ~ .hint-text,
.floating textarea:focus ~ .hint-text,
.floating input:not(:placeholder-shown) ~ .hint-text,
.floating textarea:not(:placeholder-shown) ~ .hint-text {
    opacity: 0;
    transform: translate(10px, -50%);
}

.floating {
    position: relative;
    margin-bottom: var(--spacing-md);
}

.floating input:focus ~ label,
.floating textarea:focus ~ label,
.floating input:not(:placeholder-shown) ~ label,
.floating textarea:not(:placeholder-shown) ~ label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.85rem;
    background-color: var(--background-white);
    color: var(--primary-color);
    font-weight: 500;
    z-index: 2;
}

/* 确保input的placeholder是透明的，这样不会干扰浮动标签 */
.floating input::placeholder {
    color: transparent;
}

/* 使textarea的placeholder可见 */
.floating textarea::placeholder {
    transform: translateY(8px);
    color: var(--text-light);
    opacity: 0.7;
}

/* 修复Safari浏览器中的浮动标签问题 */
.floating input:not(:placeholder-shown):not(:focus) ~ label {
    color: var(--text-light);
    background-color: var(--background-white);
}

.form-control {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box; /* 确保padding不会增加元素的总宽度 */
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 109, 243, 0.2);
}

textarea.form-control {
    padding-top: 118px;
    min-height: 100px;
    max-height: 300px; /* 限制最大高度 */
    resize: vertical;
    overflow-y: auto; /* 添加垂直滚动条，当内容超出时 */
    line-height: 1.5; /* 改善文本可读性 */
    word-wrap: break-word; /* 确保长单词会换行 */
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 30px;
}

.close:hover {
    background: var(--primary-dark);
    transform: rotate(90deg);
}

.form-group {
    margin-bottom: var(--spacing-md); /* 从spacing-lg减少到spacing-md */
    width: 100%; /* 确保表单组占满容器宽度 */
    box-sizing: border-box; /* 确保padding不会增加元素的总宽度 */
}



/* 为所有表单标签添加通用样式 */
.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs); /* 从spacing-sm减少到spacing-xs */
    font-weight: 500;
    color: var(--text-dark);
    width: 100%;
    box-sizing: border-box;
}

.gender-form-group {
    margin-top: 0px;
    margin-bottom: var(--spacing-md);
    width: 50%;
}

.gender-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--text-dark);
}

.radio-group {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-xs) 0;
    text-align: left;
}

.radio-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-md);
    transition: background-color 0.2s ease;
}

.radio-label:hover {
    background-color: var(--background-light);
}

.radio-group input[type="radio"] {
    margin-right: var(--spacing-sm);
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.radio-text {
    font-size: 1rem;
    user-select: none;
    position: relative;
    top: -3px;
}

.form-control[readonly] {
    background-color: var(--background-light);
    cursor: not-allowed;
}

/* 表单行样式 - 使多个字段显示在同一行 */
.form-row {
    display: flex;
    gap: var(--spacing-sm); /* 从spacing-md减少到spacing-sm */
    width: 100%;
    margin-bottom: var(--spacing-sm); /* 从spacing-md减少到spacing-sm */
}

.form-row .floating {
    flex: 1;
    min-width: 0; /* 防止flex项目溢出 */
    margin-bottom: 0; /* 覆盖默认的底部边距，因为form-row已经有了边距 */
}

/* 错误状态样式 */
.form-control.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    animation: fadeIn 0.3s ease;
}

/* 全局消息样式 */
.message {
    padding: 12px 16px;
    border-radius: var(--border-radius-md);
    margin-top: 15px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message-global {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 加载动画 */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        max-width: 400px;
        padding: var(--spacing-md);
        margin: 0 auto;
    }
    
    .floating {
        margin-bottom: var(--spacing-md);
    }
    
    .form-group {
        margin-bottom: var(--spacing-md);
    }
    
    .submit-btn {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .close {
        width: 24px;
        height: 24px;
        font-size: 1rem;
        line-height: 24px;
    }
    
    /* 保持姓名和年龄在同一行（2列布局） */
    .form-row {
        flex-direction: row; /* 保持水平排列 */
        gap: var(--spacing-sm); /* 减小间距 */
    }
    
    .form-row .floating {
        flex: 1; /* 均分空间 */
        min-width: 0; /* 防止溢出 */
    }
    
    /* 调整输入框内部间距，使其在小屏幕上更紧凑 */
    .form-row .form-control {
        padding: var(--spacing-sm);
        font-size: 0.95rem;
    }
    
    /* 在小屏幕上调整性别选择部分的宽度 */
    .gender-form-group {
        width: 60%;
        margin-top: 0px;
    }
    
    /* 优化小屏幕上的单选按钮组布局 */
    .radio-group {
        justify-content: space-around;
    }
}

/* 公司信息区域样式 */
.company-info {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 40px;
}

.info-section {
    flex: 1;
    background-color: var(--background-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.info-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.info-content {
    flex: 1;
    min-width: 0;
}

.info-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: 10px;
}

.info-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 3px;
}

.info-section p {
    color: var(--text-dark);
    line-height: 1.6;
}

.info-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-section li {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.info-section li svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.qrcode-container {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.qrcode-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.info-section:hover .qrcode-container {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .company-info {
        flex-direction: column;
        gap: var(--spacing-md);
        margin: var(--spacing-xl) auto;
    }
    
    .info-section {
        flex-direction: row;
        padding: var(--spacing-md);
        gap: 15px;
        align-items: flex-start;
    }
    
    .info-content {
        flex: 1;
        min-width: 0;
    }
    
    .info-section h3 {
        font-size: 0.95rem;
    }
    
    .info-section p {
        font-size: 0.85rem;
    }
    
    .qrcode-container {
        width: 90px;
        height: 90px;
        margin-top: 30px;
        flex-shrink: 0;
    }
    
    .info-section ul {
        font-size: 0.9rem;
    }
    
    .info-section li {
        margin-bottom: 6px;
    }
    
    .info-section li svg {
        width: 12px;
        height: 12px;
    }
}

/* 页脚样式 */
.site-footer {
    background-color: #1a1a1a;
    color: #f5f5f5;
    padding: 0px 0 1px;
    margin-top: 0px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
    
    .footer-section {
        width: 100%;
        min-width: 100%;
    }
    
    .social-icons {
        justify-content: flex-start;
    }
}
