/* 技术资料模块增强样式 */
.tech-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f3f7;
    display: flex;
    flex-direction: column;
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
    border-color: #dbeafe;
}

.tech-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.tech-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.tech-card-icon.badge-extraction { background: #dbeafe; color: #1e40af; }
.tech-card-icon.badge-processing { background: #e0e7ff; color: #4338ca; }
.tech-card-icon.badge-qc { background: #fef3c7; color: #92400e; }
.tech-card-icon.badge-transfusion { background: #fce7f3; color: #9d174d; }
.tech-card-icon.badge-storage { background: #cffafe; color: #155e75; }
.tech-card-icon.badge-safety { background: #fee2e2; color: #991b1b; }

.tech-card-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tech-card-badge.badge-extraction { background: #dbeafe; color: #1e40af; }
.tech-card-badge.badge-processing { background: #e0e7ff; color: #4338ca; }
.tech-card-badge.badge-qc { background: #fef3c7; color: #92400e; }
.tech-card-badge.badge-transfusion { background: #fce7f3; color: #9d174d; }
.tech-card-badge.badge-storage { background: #cffafe; color: #155e75; }
.tech-card-badge.badge-safety { background: #fee2e2; color: #991b1b; }

.tech-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tech-card-desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.tech-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: #f3f4f6;
    color: #4b5563;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

.tech-card-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f3f7;
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.tech-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-view-detail {
    width: 100%;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-view-detail:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-view-detail i {
    transition: transform 0.3s ease;
}

.btn-view-detail:hover i {
    transform: translateX(4px);
}
