/**
 * 新求人詳細ページのスタイル
 * 简洁设计版本
 */

/* 整体页面容器 */
.job-detail-page {
    box-sizing: border-box;
    width: 100%;
    margin: 0px;
    padding: 40px 60px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: all 0.3s ease;
    border-left: 4px solid #4285f4;
}

.job-detail-page:hover {
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.15);
    transform: translateY(-2px);
}

.job-detail-page::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, transparent 50%, rgba(66, 133, 244, 0.1) 50%);
    border-radius: 0 0 0 120px;
}

.job-detail-page::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #4285f4, transparent);
    opacity: 0.5;
}

/* 职位标题 */
.job-detail-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.job-detail-header h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    position: relative;
    display: inline-block;
}

.job-detail-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4285f4, #34a853, #fbbc05, #ea4335);
    border-radius: 3px;
    transform-origin: left;
    animation: shimmer 3s infinite linear;
    background-size: 200% 100%;
}

/* 社交分享按钮区域 */
.job-detail-social-share {
    margin-bottom: 30px;
    padding: 10px 0;
    text-align: center;
}

.social-share-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* 职位详细描述 */
.job-detail-description {
    display: flex;
    justify-content: center; /* 横方向中央 */
    margin-bottom: 40px;
}

.description-content {
    width: 90%;
    font-size: 16px;
    color: #333;
    white-space: pre-line;
    background-color: #ffffff;
    padding: 25px 30px;
    border-radius: 0px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
    line-height: 1.0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-top: 2px solid #faebd7;
}
.description-content::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4285f4, #34a853, #fbbc05, #ea4335);
    border-radius: 3px;
    transform-origin: left;
    animation: shimmer 3s infinite linear;
    background-size: 200% 100%;
}

.description-content:hover {
    box-shadow: 0 5px 15px rgba(52, 168, 83, 0.15);
    transform: translateY(-2px);
}

.description-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 168, 83, 0.03) 0%, transparent 100%);
    z-index: -1;
}

/* 右下角装饰元素，改用::before-corner避免与底部装饰线冲突 */
.description-content .corner-decoration {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, transparent 50%, rgba(52, 168, 83, 0.08) 50%);
    border-radius: 60px 0 0 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .job-detail-page {
        padding: 15px 10px;
    }
    
    .job-detail-header h2 {
        font-size: 20px;
    }
    
    .description-content {
        font-size: 14px;
    }
}