/* 上传区域样式 */
.upload-box {
    width: 350px;
    height: 50px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}
.upload-box.dragover {
    border-color: #2196F3;
    background: #f0f8ff;
}

/* 链接列表样式 */
.file-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}
.file-item {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.2s;
}
.file-item:hover {
    background: #eee;
}

/* 删除图标 */
.delete-btn {
    width: 18px;
    height: 18px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23666666" d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>');
    margin-left: 10px;
    cursor: pointer;
    opacity: 0.7;
}
.delete-btn:hover {
    opacity: 1;
}

/* 预览弹窗 */
.preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.preview-content {
    max-width: 90%;
    max-height: 90%;
}

.download-btn {
    width: 20px;
    height: 18px;
    margin-left: 8px;
    margin-top: 5px;
    cursor: pointer;
    background:url(../images/down_icon.png) 0 2px no-repeat;
}

.preview-link {
    cursor: pointer;
}