body {
  font-family: system-ui, -apple-system, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

h1 {
  color: #333;
  margin-bottom: 30px;
}

.upload-area {
  border: 2px dashed #0070f3;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 30px;
  transition: background-color 0.3s;
  cursor: pointer;
}

.upload-area.drag-over {
  background-color: rgba(0, 112, 243, 0.1);
}

.upload-area p {
  margin: 0;
  color: #666;
}

.file-list {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.file-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  background: #f5f5f5;
  margin-bottom: 8px;
  border-radius: 4px;
}

.file-list .remove-file {
  color: #ff4444;
  border: none;
  background: none;
  cursor: pointer;
}

.upload-btn {
  background: #0070f3;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

.upload-btn:disabled {
  background: #ccc;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 10px;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.gallery-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.file-name {
  font-size: 14px;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delete-btn {
  color: #ff4444;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;
}

.progress-container {
  margin-top: 10px;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background-color: #eee;
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background-color: #0070f3;
  transition: width 0.3s ease;
}