/* 主体内容样式 */
.job-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 20px 20px;
}

/* 筛选区域样式 */
.job-filter {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.filter-row {
    margin-bottom: 15px;
}

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

.filter-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.filter-group label {
    min-width: 70px;
    color: #666;
    font-size: 14px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 6px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background: #fff;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #6366f1;
    color: #6366f1;
}

.filter-btn.active {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
}

/* 职位列表样式 */
.job-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.job-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-2px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.job-title {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.job-salary {
    color: #ff4d4f;
    font-size: 16px;
    font-weight: 500;
}

.company-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.company-logo {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    margin-right: 12px;
    object-fit: cover;
}

.company-details h4 {
    margin: 0 0 4px;
    font-size: 15px;
    color: #333;
}

.company-details p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.job-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.job-tags span {
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

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

.job-meta {
    display: flex;
    gap: 16px;
}

.learn-more-btn {
    padding: 6px 16px;
    background-color: #6366f1;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background-color: #4f46e5;
    transform: translateY(-1px);
}

/* 联系方式弹窗样式 */
.qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.qr-card {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    max-width: 340px;
    width: 90%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: modalFadeIn 0.3s ease;
}

.contact-info-box {
    background: #f3f4f6;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
    text-align: left;
}

.contact-name, .contact-title {
    color: #374151;
    font-size: 15px;
    margin: 0 0 8px;
}

.contact-phone {
    color: #111827;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
}

.contact-tip {
    color: #6366f1;
    font-size: 13px;
    margin: 0;
}

.qr-content {
    display: flex;
    justify-content: space-around;
    gap: 24px;
    margin: 20px 0;
}

.qr-item {
    text-align: center;
}

.qr-item img {
    width: 120px;
    height: 120px;
    margin-bottom: 8px;
    border-radius: 4px;
}

.qr-card h3 {
    color: #1f2937;
    font-size: 18px;
    margin: 0 0 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.qr-tip {
    color: #6b7280;
    margin: 12px 0;
    line-height: 1.5;
}

.qr-card .close-btn {
    margin-top: 20px;
    padding: 8px 32px;
    background: #6366f1;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 15px;
}

.qr-card .close-btn:hover {
    background: #4f46e5;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式适配 */
@media (max-width: 768px) {
    .job-main {
        padding: 70px 15px 15px;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-group label {
        margin-bottom: 8px;
    }

    .filter-btn {
        padding: 4px 12px;
        font-size: 13px;
    }

    .job-card {
        padding: 15px;
    }

    .job-title {
        font-size: 16px;
    }

    .job-salary {
        font-size: 14px;
    }

    .learn-more-btn {
        padding: 4px 12px;
        font-size: 12px;
    }

    .qr-container {
        padding: 20px;
    }

    .qr-header h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .filter-options {
        gap: 6px;
    }

    .filter-btn {
        padding: 3px 10px;
        font-size: 12px;
    }

    .company-logo {
        width: 40px;
        height: 40px;
    }

    .company-details h4 {
        font-size: 14px;
    }

    .company-details p {
        font-size: 12px;
    }

    .qr-content {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .qr-item img {
        width: 140px;
        height: 140px;
    }

    .qr-item p {
        font-size: 13px;
    }

    .job-meta {
        flex-direction: column;
        gap: 4px;
    }

    .learn-more-btn {
        padding: 3px 10px;
        font-size: 12px;
    }

    .contact-phone {
        font-size: 16px;
    }
}

/* 调整单个二维码的样式 */
.qr-content.single {
    justify-content: center;
    margin: 24px 0;
}

.qr-content.single .qr-item img {
    width: 160px;
    height: 160px;
}

.qr-content.single .qr-item p {
    font-size: 15px;
    color: #374151;
    margin-top: 12px;
}
    