/* :root {
  color-scheme: light dark;
} */
/* body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: var(--bg, #fff);
  color: var(--text, #000);
} */
/* @media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --text: #e0e0e0;
    --border: #333;
    --hover: #1e1e1e;
    --progress-bg: #2a2a2a;
  }
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #fff;
    --text: #000;
    --border: #ccc;
    --hover: #f0f8ff;
    --progress-bg: #e0e0e0;
  }
} */
:root {
  --bg: #fff;
  --text: #000;
  --border: #ccc;
  --hover: #fff0f0;
  --progress-bg: #e0e0e0;
}
#drop-area,
#drop-areaReward {
  border: 2px dashed var(--border);
  margin: 10px;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
}
#drop-area.hover,
#drop-areaReward.hover {
  border-color: #602515;
  background-color: var(--hover);
}
#file-list,
#file-listReward {
  flex: 1;
  overflow-y: auto;
  min-width: 100%;
  padding: 10px;
}
.file-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  max-width: 100%;
  word-wrap: break-word;
  word-break: break-all;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--progress-bg);
}
.file-icon {
  font-size: 24px;
  margin-right: 10px;
}
.preview-img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  margin-right: 10px;
  border-radius: 4px;
}
.progress-container {
  flex: 1;
  margin-right: 10px;
  text-wrap: wrap;
}
.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}
.progress {
  height: 100%;
  width: 0;
  background: #602515;
  transition: width 0.2s ease;
}
.upload-status {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: flex-end;
  width: 80px;
  text-align: right;
  font-size: 12px;
}
#upload-btn,
#upload-btnReward {
  width: calc(100% - 20px);
  margin: 10px;
  padding: 15px;
  font-size: 16px;
  background: #602515;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
#upload-btn:hover,
#upload-btnReward:hover {
  background: #f8ae19;
}
