/* 改进后的参数信息样式 */

/* 内容区域默认隐藏 */
.info-content {
    display: none;
    padding: 20px;
}

/* 激活状态显示内容 */
.info-content.active {
    display: block;
}

/* 参数卡片容器 */
#parameters .info-content p {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 参数卡片样式 - 恢复卡片效果 */
.parameter-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 0;
}

.parameter-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* 参数标题样式 */
.parameter-card h3 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #3498db;
    font-weight: 600;
}

/* 参数列表样式 */
.parameter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

/* 参数项样式 */
.parameter-item {
    display: flex;
    align-items: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    transition: background 0.3s ease;
}

.parameter-item:hover {
    background: rgba(255, 255, 255, 1);
}

/* 参数图标 */
.parameter-icon {
    width: 24px;
    height: 24px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 12px;
    flex-shrink: 0;
}

/* 参数内容 */
.parameter-content {
    flex: 1;
}

/* 参数标签 */
.parameter-label {
    font-weight: 600;
    color: #2c3e50;
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
}

/* 参数值 */
.parameter-value {
    color: #555;
    font-size: 12px;
}

/* 参数图片容器 */
.parameter-images {
    margin-top: 20px;
    max-width: 100%;
}

/* 图片列表 - 垂直堆叠 */
.image-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 图片列表项 */
.image-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* 图片 - 自适应大小 */
.image-list li img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.image-list li:hover img {
    transform: scale(1.02);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .parameter-card {
        padding: 12px;
    }
    
    .parameter-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .parameter-item {
        flex-direction: row;
        align-items: center;
    }
    
    .parameter-icon {
        margin-bottom: 0;
    }
    
    .image-list {
        gap: 10px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.parameter-card {
    animation: fadeIn 0.5s ease-out forwards;
}

.parameter-card:nth-child(2) {
    animation-delay: 0.1s;
}

.parameter-card:nth-child(3) {
    animation-delay: 0.2s;
}
