/**
 * 审核面板 - 上传弹窗拖放区与已选文件列表（自 style.css 迁出）
 * 字体：Microsoft YaHei
 */

.file-drop-zone {
    border: 2px dashed var(--border-primary);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    text-align: center;
    background: var(--bg-tertiary);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.file-drop-zone:hover {
    border-color: var(--border-accent);
    background: var(--bg-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.file-drop-zone.drag-over {
    border-color: var(--text-accent);
    background: var(--bg-hover);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.drop-zone-content {
    pointer-events: none;
}

.drop-icon {
    font-size: 24px;
    margin-bottom: 6px;
    color: var(--text-accent);
}

.file-drop-zone p {
    color: var(--text-primary);
    font-size: 12px;
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
    margin-bottom: 4px;
    font-weight: 500;
}

.file-types {
    color: var(--text-muted);
    font-size: 10px;
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
}

.file-size-limit {
    color: var(--text-accent);
    font-size: 11px;
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
    font-weight: 500;
    margin-top: 6px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.file-size-limit::before {
    content: "📦";
    font-size: 12px;
}

.selected-files {
    margin-top: 15px;
    /* 移除高度限制和滚动条，让文件列表自然扩展，使用整个面板的大滚动条 */
}

.selected-file-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.selected-file-item:last-child {
    margin-bottom: 0;
}

.selected-file-item:hover {
    background: var(--bg-hover);
    border-color: var(--border-accent);
    transform: translateX(3px);
}

.file-icon {
    margin-right: 12px;
    font-size: 18px;
}

.file-icon.video {
    color: #e74c3c;
}

.file-icon.image {
    color: #3498db;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    color: var(--text-primary);
    font-size: 13px;
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    color: var(--text-muted);
    font-size: 11px;
    font-family: "Microsoft YaHei", "微软雅黑", "SimSun", "宋体", "Arial", sans-serif;
    margin-top: 2px;
}

.file-remove {
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: 10px;
}

.file-remove:hover {
    background: #ff5252;
    transform: scale(1.1);
}
