﻿#for_upload {
    margin: 0 5%;
    padding: 5% 5%;
    border-radius: 3px;
    display: block;
    font-size: 30px;
    background: rgba(0,130,218,0.1);
    border: 1px solid rgba(0,130,218,0.3);
    color: rgba(0,130,218,0.8);
    transition: all 0.3s ease; /* 缩短过渡时间 */
    transform: translateY(0); /* 为transform变化做准备 */
}

    #for_upload:hover {
        cursor: pointer;
        transform: translateY(-0px); /* 添加轻微上浮效果 */
        box-shadow: 0 4px 8px rgba(0,130,218,0.2); /* 添加阴影增强效果 */
    }


/*******************************************/
/* 定义upload_container容器的样式 */
#itemCollection {
padding: 3% 5%;
}

/* 定义每个文件对应的小图和进度条的容器样式 */
    #itemCollection .item {
        display: grid;
        align-items: center;
        border-radius: 3px;
        grid-template-columns: 150px auto 80px;
        background: rgba(0,130,218,0.08);
        border: 1px solid rgba(0,130,218,0.3);
        color: rgba(0,130,218,0.5);
        padding: 25px 20px 25px 20px;
        margin: 5px 0 25px 0;
        transition: all 0.3s ease; /* 缩短过渡时间 */
        transform: translateY(0); /* 为transform变化做准备 */
    }

#itemCollection .item:hover {
    transform: translateY(-0px); /* 添加轻微上浮效果 */
    box-shadow: 0 4px 8px rgba(0,130,218,0.2); /* 添加阴影增强效果 */
}
/* 定义图片样式 */
#itemCollection .item .left {
    text-align:center;
}


/*  音视频 */
#itemCollection .item .left img {
max-width: 60px;
max-height:60px;
}

#itemCollection .item .left img.icon {
    
}

#itemCollection .item .left video {
max-width: 200px;
max-height: 120px;
min-width: 150px;
min-height: 100px;
}

#itemCollection .item .middle {
text-align: left;
}
/* 定义进度条样式 */
#itemCollection .item .middle .progress {
display:none;
width: 100%;
height: 10px;
border-radius: 5px;
background-color: #e0e0e0;
overflow: hidden;
position: relative;
}

#itemCollection .item .middle .progress::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 66%;
height:100%;
background: linear-gradient(90deg, RGBA(100,180,250,0), #64b5f6,#64b5f6,#64b5f6,#64b5f6,#64b5f6,#64b5f6, #64b5f6, RGBA(100,180,250,0));
animation: move 15s linear infinite;
}
 /* 从左到右的动画 */
@keyframes move {
    0% {
        transform: translateX(-100%); /* 开始于容器左侧外部 */
    }
    100% {
        transform: translateX(calc(100% + 50%)); /* 结束于容器右侧外部 */
    }
}




/* 定义进度条样式 2 */

.loading-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(33, 150, 243, 0.3);
    border-radius: 50%;
    border-top-color: #2196f3;
    animation: spin 1s ease-in-out infinite;
}

        
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}



#itemCollection .item .middle .title {
font-size: 17px;
min-width: 50px;
border: 1px solid transparent;
display: inline;
overflow: hidden;
text-overflow: ellipsis;
font-weight:bold;
color: rgba(0,130,218,1);
}

#itemCollection .item .middle .title:hover {
}

#itemCollection .item .middle .Editing {
background: #fff;
overflow: visible;
text-Overflow: clip;
z-index: 1000;
}

#itemCollection .item .middle .sizePageCount {
    line-height: 200%;
    padding-top: 10px ;
}


#itemCollection .item .middle .divOption {
    line-height: 250%;
    padding-top: 10px;
    color: rgba(0,130,218,0.8);
}

#itemCollection .item .middle input.password {
    border: 1px solid rgba(255,0,0,0.8);
    color: #f88;
    border-radius: 5px;
    width: 150px;
    height: 22px;
    margin: 5px;
    background: #FFF;
}

#itemCollection .item .middle input.pageRange {
    border: 1px solid rgba(0,130,218,0.8);
    color: rgba(0,130,218,1);
    background: #FFF;
    border-radius: 5px;
    width: 170px;
    height: 22px;
    margin: 0 10px 0 7px;
    padding-left: 7px;
}
#itemCollection .item .middle input.pageRange:focus{
     outline: none;
}


#itemCollection .item .middle input.pageRange::placeholder {
color: rgba(0,130,218,0.6);
font-style: italic;
}



#itemCollection .item .middle select.ocr {
    border: 1px solid rgba(0,130,218,0.8);
    border-radius: 5px;
    width: 170px;
    height: 22px;
    margin: 0 10px 0 5px;
    background: #FFF;
    padding-left: 2px;
}

#itemCollection .item .middle input.submit {
    border: 1px solid rgba(255,0,0,0.7);
    background: rgba(255,0,0,0.1);
    color: rgba(255,0,0,0.9);
    border-radius: 3px;
    cursor: pointer;
    height: 22px;
}



#itemCollection .item .middle input.error {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="red" width="16" height="16"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>') no-repeat 7px center;
    padding-left: 30px; /* 调整 padding 留出图标空间 */
    width:80px;
}

#itemCollection .item .middle .errorPageRangeEl{
    color:red;
    margin:15px;
    background:rgba(255,0,0,0.08);
}
#itemCollection .item .middle .errorPageRangeEl ul{
    padding:10px 10px 10px 25px;
    margin:10px;
}
#itemCollection .item .middle .status {
    font-size: 16px;
    padding: 5px 0;
}


/* 定义删除按钮样式 */
#itemCollection .item .operate {
display: flex;
justify-content: space-between;
align-items: center;
}

#itemCollection .item .operate .delete-button {
background-color: #f69;
color: #FFF;
border: none;
border-radius: 5px;
padding: 2px 10px;
cursor: pointer;
text-align: center;
font-size: 14px;
}

#itemCollection .item .operate .sort_area {
display: flex;
flex-direction: column;
gap: 30px 0;
}

#itemCollection .item .operate .sort_area .sort-button {
color: #888;
text-align: center;
line-height: 20px;
cursor: pointer;
border-radius: 100%;
padding: 0;
width: 25px;
height: 25px;
font-size: 12px;
border: 1px solid #EEE;
background-color: #F5F5F5;
}



#itemCollection .item .operate .sort_area .sort-button:hover {
border-color: #F88;
background-color: #Fdd;
color: #F00;
}
