/**
 * 上传重试插件样式
 * 为失败的上传项添加视觉提示
 */

/* 失败的队列项添加鼠标指针样式和悬停效果 */
#anywhere-upload-queue .queue-item.failed {
    cursor: pointer;
    position: relative;
    transition: opacity 0.2s ease;
}

/* 悬停时显示重试提示 */
#anywhere-upload-queue .queue-item.failed:hover {
    opacity: 0.9;
}

/* 为失败项添加重试图标提示（可选） */
#anywhere-upload-queue .queue-item.failed::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}

#anywhere-upload-queue .queue-item.failed:hover::after {
    opacity: 1;
    content: '↻';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* 重试时的加载状态 */
#anywhere-upload-queue .queue-item.waiting {
    opacity: 0.7;
}

/* 重试遮罩 */
#anywhere-upload-queue .queue-item.retrying {
    position: relative;
}

#anywhere-upload-queue .queue-item .retry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    z-index: 20;
}

