*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
  color: #222;
}

.container {
  max-width: 600px;
  margin: 60px auto;
  padding: 32px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}

h1 {
  font-size: 1.4rem;
  margin: 0 0 24px;
}

.upload-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

input[type="file"] {
  flex: 1;
}

button {
  padding: 8px 20px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  white-space: nowrap;
}

button:disabled {
  opacity: 0.4;
  cursor: default;
}

.error {
  margin-top: 16px;
  color: #c00;
  font-size: 0.9rem;
}

.file-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-list a {
  display: inline-block;
  padding: 8px 16px;
  background: #f0f7ff;
  border: 1px solid #c0d8f0;
  border-radius: 4px;
  color: #0055cc;
  text-decoration: none;
  font-size: 0.95rem;
}

.file-list a:hover {
  background: #deeeff;
}
