/* 数据查看页面样式 */
.data-view-container {
    max-width: 100%;
    margin: 0 auto;
}

.data-view-container .card-body {
    padding: 24px;
}

/* 状态徽章 */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.status-complete {
    background-color: #E8F5E9;
    color: #2E7D32;
    
    width:50px;
}

.status-badge.status-incomplete {
    background-color: #FFF3E0;
    color: #E65100;
        width:60px;
}

/* 复核状态徽章 */
.review-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    
}

.review-badge.review-completed {
    background-color: #E3F2FD;
    color: #1976D2;
    width: 50px;
         width:60px;
}

.review-badge.review-pending {
    background-color: #FFFDE7;
    color: #F57F17;
    width: 50px;
         width:60px;
}

/* 文件列表 */
.file-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.file-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px;
    background-color: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    width: 110px;
    height: 110px;
}

.file-item:hover {
    background-color: #e0e0e0;
}

.file-item i {
    color: var(--primary-color);
    font-size: 32px;
}

.file-item span {
    font-size: 12px;
    color: var(--text-primary);
    text-align: center;
    word-break: break-all;
}

/* 媒体预览 */
.media-preview {
    flex: 1;
    padding: 8px;
    background-color: #f5f5f5;
    border-radius: 4px;
}

.preview-image {
    max-width: 100%;
    max-height: 300px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.preview-image:hover {
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.preview-video {
    width: 100%;
    max-height: 300px;
    border-radius: 4px;
}

.preview-audio {
    width: 100%;
}

/* 铭牌相似度进度条 */
.similarity-bar {
    width: 300px;
    height: 24px;
    background-color: #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.similarity-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    border-radius: 12px;
}

.similarity-fill span {
    color: white;
    font-size: 12px;
    font-weight: 500;
}

/* 图片预览模态框 */
#imagePreviewModal .modal-body {
    padding: 0;
    text-align: center;
}

#imagePreviewModal #previewImage {
    max-width: 100%;
    max-height: 70vh;
}

/* 任务序号 */
.task序号 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

/* 调整detail-item宽度 */
.data-view-container .detail-item {
    display: flex;
    margin-bottom: 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.data-view-container .detail-item label {
    width: 140px;
    font-weight: 500;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.data-view-container .detail-item span {
    flex: 1;
    color: var(--text-primary);
    font-size: 14px;
}

/* 图片预览模态框 */
#imagePreviewModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

#imagePreviewModal.show {
    display: flex;
}

#imagePreviewModal .modal-content {
    background-color: #fefefe;
    margin: 0;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 80vw;
    max-height: 90vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#imagePreviewModal .modal-header {
    padding: 16px 20px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#imagePreviewModal .modal-header h2 {
    margin: 0;
    font-size: 18px;
}

#imagePreviewModal .close-btn {
    color: white;
    font-size: 28px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
}

#imagePreviewModal .close-btn:hover {
    color: #f0f0f0;
}

#imagePreviewModal .modal-body {
    padding: 0;
    overflow: auto;
    flex: 1;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#imagePreviewModal #previewImage {
    max-width: 100%;
    max-height: 100%;
}
