body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

h1 {
  text-align: center;
}

button {
  background: #333;
  color: #fff;
  padding: 8px 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: #555;
}

#dropZone {
  background: #fff;
  border: 2px dashed #aaa;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
  border-radius: 6px;
}

#dropZone.dragover {
  border-color: #333;
  background: #eee;
}

.file-item {
  background: #fff;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
}

.file-item a {
  color: #333;
  text-decoration: none;
}

.file-item button {
  margin-left: 6px;
}

.empty {
  text-align: center;
  color: #666;
  padding: 20px;
}

.toast {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 8px 12px;
  margin-top: 5px;
  border-radius: 4px;
  animation: fadeInOut 2s ease forwards;
}

#toastContainer {
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 9999;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  10%,
  90% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}

.progress-container {
  flex: 1;
  margin-left: 10px;
  background: #ddd;
  border-radius: 4px;
  height: 10px;
  overflow: hidden;
}

.progress-bar {
  background: #2196f3;
  height: 100%;
  transition: width 0.2s ease;
}

.folder-item {
  margin-left: 10px;
  font-weight: bold;
  cursor: pointer;
}

.folder-contents {
  margin-left: 20px;
}

.folder-contents.collapsed {
  display: none;
}

.file-item {
  margin-left: 20px;
}