* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #0f1115;
  color: #f0f0f0;
  margin: 0;
  padding: 40px 16px;
}

.container {
  max-width: 640px;
  margin: 0 auto;
}

h1 {
  margin-bottom: 4px;
}

.subtitle {
  color: #a0a0a0;
  margin-top: 0;
  margin-bottom: 24px;
}

form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

input[type="file"] {
  flex: 1;
  min-width: 220px;
  padding: 8px;
  background: #1a1d24;
  border: 1px solid #333;
  border-radius: 6px;
  color: #f0f0f0;
}

button {
  background: #4f8cff;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  background: #3d76e0;
}

#status {
  min-height: 20px;
  color: #8ee08e;
}

#status.error {
  color: #ff7b7b;
}

ul#file-list {
  list-style: none;
  padding: 0;
}

ul#file-list li {
  background: #1a1d24;
  border: 1px solid #2a2d34;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

ul#file-list a {
  color: #4f8cff;
  text-decoration: none;
}

ul#file-list button.delete {
  background: transparent;
  color: #ff7b7b;
  border: 1px solid #ff7b7b;
  padding: 4px 10px;
  font-size: 12px;
}

ul#file-list button.delete:hover {
  background: #ff7b7b;
  color: #1a1d24;
}
