/* 检测项目详情页样式 */
.test-project-detail-container {
    margin: 0 auto;
    padding: 20px;
}

/* 第一栏：项目图片和基本信息 */
.project-info-section {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    background: #fff;
    padding: 30px;
}

.project-image-wrapper {
    flex-shrink: 0;
    width: 450px;
    overflow: hidden;
}

.project-image-wrapper img {
    max-width: 100%;
    border:1px solid #e6e6e6;
    border-radius: 8px;
}

.project-info-content {
    flex-grow: 1;
    margin-left: 20px;
}

.project-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.project-price {
    font-size: 22px;
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 20px;
}

.project-details {
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    padding: 0;
   /*  display: grid;
    grid-template-columns:repeat(2, 1fr); */
    gap: 10px;
}

.project-detail-item {
    display: flex;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
    color: rgb(102, 102, 102);
    min-height: 48px;
}

.project-detail-item:first-child {
    padding-top: 0;
}

.project-detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.project-detail-label {
    width: 140px;
    color: #666;
    flex-shrink: 0;
    font-weight: normal;
    line-height: 1.5;
}

.project-detail-value {
    flex-grow: 1;
    color: #333;
    word-break: break-all;
    line-height: 1.5;
}

/* 参考价格特殊样式 - 红色高亮 */
.project-detail-item .project-detail-value[style*="color:rgb(234, 21, 18)"],
.project-detail-item .project-detail-value[style*="color:#ea1512"],
.project-detail-item:has(.project-detail-label:contains("参考价格")) .project-detail-value {
    color: #ea1512 !important;
    font-weight: 500;
}

/* 服务提供商链接样式 - 蓝色 */
.project-detail-item .project-detail-value a {
    color: #296cf2 !important;
    text-decoration: none;
    transition: color 0.3s;
}

.project-detail-item .project-detail-value a:hover {
    color: #1e5fd9 !important;
    text-decoration: underline;
}

.project-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: flex-end;
}

.project-actions .action-btn {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 8px;
}

.project-actions .btn-consult {
    background: #fff;
    border:1px solid rgb(59, 130, 246);
    color: rgb(59, 130, 246);
}

.project-actions .btn-consult:hover {
    background: rgb(59, 130, 246);
    color: #fff;
}

.project-actions .btn-order {
    background: rgb(41, 108, 242);
    color: #fff;
}

.project-actions .btn-order:hover {
    background: #0d8ae0;
}

/* 第二栏：项目介绍和其他项目 */
.project-content-section {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.project-content-left {
    flex: 1;
    background: #fff;
}

.project-content-right {
    width: 350px;
    flex-shrink: 0;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.other-projects-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #1E9FFF;
}

.other-project-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
    cursor: pointer;
}

.other-project-item:hover {
    background: #f5f5f5;
    padding: 10px;
    margin: 0 -10px 20px -10px;
    border-radius: 6px;
}

.other-project-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.other-project-image {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
}

.other-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.other-project-info {
    flex-grow: 1;
}

.other-project-price {
    font-size: 18px;
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 8px;
}

.other-project-name {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}


.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.service-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    padding: 15px;
}

/* 服务详情中的表格样式 */
.service-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border: 1px solid #ddd;
}

.service-detail-content table th,
.service-detail-content table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
}

.service-detail-content table th {
    background-color: #f5f5f5;
    font-weight: bold;
    text-align: center;
}

.service-detail-content table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.service-detail-content table tr:hover {
    background-color: #f0f0f0;
}

.faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.faq-answer {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.review-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.review-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.review-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 10px;
}

.review-meta {
    font-size: 14px;
    color: #999;
}

.no-data-message {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .project-info-section {
        flex-direction: column;
    }

    .project-image-wrapper {
        width: 100%;
        height: 250px;
    }

    .project-content-section {
        flex-direction: column;
    }

    .project-content-right {
        width: 100%;
        display: none !important;
    }
}