/**
 * 项目面板 - 文件属性样式
 * 文件路径：css/modules/review/operations/file-properties.css
 * 符合代码规范：<400行
 * 独立性：使用review-前缀确保样式独立
 */

/* 文件属性容器 */
.review-file-properties-container {
    padding: var(--spacing-sm);
    /* 确保滚动条在右侧显示 */
    padding-right: var(--spacing-xs);
}

/* 兼容旧类名（逐步迁移） */
.file-properties-container {
    padding: var(--spacing-sm);
    padding-right: var(--spacing-xs);
}

/* 属性加载状态 */
.review-property-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    color: var(--text-secondary);
    font-size: 13px;
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
}

/* 兼容旧类名 */
.property-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    color: var(--text-secondary);
    font-size: 13px;
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
}

/* 文件属性内容 */
.review-file-properties-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* 兼容旧类名 */
.file-properties-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* 文件属性组 */
.review-file-property-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-primary);
}

/* 兼容旧类名 */
.file-property-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-primary);
}

/* 文件属性组标题 */
.review-file-property-group-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-accent);
    margin-bottom: var(--spacing-xs);
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
    padding-bottom: var(--spacing-xs);
    border-bottom: 1px solid var(--border-secondary);
}

/* 兼容旧类名 */
.file-property-group-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-accent);
    margin-bottom: var(--spacing-xs);
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
    padding-bottom: var(--spacing-xs);
    border-bottom: 1px solid var(--border-secondary);
}

/* 文件属性项 */
.review-file-property-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.review-file-property-item:last-child {
    border-bottom: none;
}

/* 兼容旧类名 */
.file-property-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.file-property-item:last-child {
    border-bottom: none;
}

/* 文件属性标签 */
.review-file-property-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
    min-width: 80px;
    flex-shrink: 0;
}

/* 兼容旧类名 */
.file-property-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
    min-width: 80px;
    flex-shrink: 0;
}

/* 文件属性值 */
.review-file-property-value {
    font-size: 13px;
    color: var(--text-primary);
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
    text-align: right;
    word-break: break-all;
    flex: 1;
    margin-left: var(--spacing-md);
}

.review-file-property-value.highlight {
    color: var(--text-accent);
    font-weight: 600;
}

.review-file-property-value.muted {
    color: var(--text-muted);
    font-size: 11px;
}

/* 兼容旧类名 */
.file-property-value {
    font-size: 13px;
    color: var(--text-primary);
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
    text-align: right;
    word-break: break-all;
    flex: 1;
    margin-left: var(--spacing-md);
}

.file-property-value.highlight {
    color: var(--text-accent);
    font-weight: 600;
}

.file-property-value.muted {
    color: var(--text-muted);
    font-size: 11px;
}

/* 文件属性特殊样式 - 文件名 */
.review-file-property-item.file-name {
    padding: var(--spacing-sm) 0;
    flex-direction: column;
    align-items: flex-start;
}

.review-file-property-item.file-name .review-file-property-label {
    margin-bottom: 4px;
}

.review-file-property-item.file-name .review-file-property-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-word;
    word-wrap: break-word;
    white-space: normal;
    text-align: left;
    width: 100%;
    margin-left: 0;
    margin-top: 4px;
}

/* 兼容旧类名 */
.file-property-item.file-name {
    padding: var(--spacing-sm) 0;
    flex-direction: column;
    align-items: flex-start;
}

.file-property-item.file-name .file-property-label {
    margin-bottom: 4px;
}

.file-property-item.file-name .file-property-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-word;
    word-wrap: break-word;
    white-space: normal;
    text-align: left;
    width: 100%;
    margin-left: 0;
    margin-top: 4px;
}

/* 文件属性特殊样式 - 文件大小 */
.review-file-property-item.file-size .review-file-property-value {
    color: var(--text-accent);
    font-weight: 500;
}

/* 兼容旧类名 */
.file-property-item.file-size .file-property-value {
    color: var(--text-accent);
    font-weight: 500;
}

/* 文件属性特殊样式 - 时间 */
.review-file-property-item.file-time .review-file-property-value {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 兼容旧类名 */
.file-property-item.file-time .file-property-value {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 文件属性容器与属性 Tab 内容区滚动条样式（含 style 迁入的 tab-content 选择器） */
.review-file-properties-container::-webkit-scrollbar,
.file-properties-container::-webkit-scrollbar,
.tab-content#videoPropertiesContent.active::-webkit-scrollbar,
.tab-content#imagePropertiesContent.active::-webkit-scrollbar {
    width: 6px;
}

.review-file-properties-container::-webkit-scrollbar-track,
.file-properties-container::-webkit-scrollbar-track,
.tab-content#videoPropertiesContent.active::-webkit-scrollbar-track,
.tab-content#imagePropertiesContent.active::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
}

.review-file-properties-container::-webkit-scrollbar-thumb,
.file-properties-container::-webkit-scrollbar-thumb,
.tab-content#videoPropertiesContent.active::-webkit-scrollbar-thumb,
.tab-content#imagePropertiesContent.active::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    transition: background 0.2s ease;
}

.review-file-properties-container::-webkit-scrollbar-thumb:hover,
.file-properties-container::-webkit-scrollbar-thumb:hover,
.tab-content#videoPropertiesContent.active::-webkit-scrollbar-thumb:hover,
.tab-content#imagePropertiesContent.active::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Firefox 滚动条样式 */
.review-file-properties-container,
.file-properties-container,
.tab-content#videoPropertiesContent.active,
.tab-content#imagePropertiesContent.active {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) rgba(255, 255, 255, 0.03);
}

