#file-list {
  margin-top: 20px;
  width: 70%;
  margin: 0 auto;
}

.file-item {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);

}

.file-item span {
  margin-left: 10px;
}

.file-item button {
  margin-left: auto;
  border: none;
  background: none;
  color: red;
  cursor: pointer;
  font-size: 18px;
  padding: 5px 10px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  #file-list {
    width: 95%;
    margin-top: 15px;
  }
  
  .file-item {
    flex-wrap: wrap;
    padding: 12px 10px;
  }
  
  .file-item span {
    margin-left: 5px;
    font-size: 13px;
  }
  
  .file-item button {
    font-size: 20px;
    padding: 8px 12px;
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  #file-list {
    width: 100%;
  }
  
  .file-item {
    padding: 10px 8px;
  }
  
  .file-item span {
    font-size: 12px;
    margin-left: 3px;
  }
  
  .file-item span:first-child {
    flex: 1;
    word-break: break-word;
  }
  
  .file-item button {
    font-size: 22px;
    padding: 10px 14px;
  }
}
