* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: system-ui, -apple-system, sans-serif;
  background: #0f172a;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #e2e8f0;
}
.container {
  background: #1e293b;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  text-align: center;
  max-width: 480px;
  width: 90%;
}
h1 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  color: #facc15;
}
p {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #94a3b8;
}
.file-label {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}
.file-label:hover {
  background: #2563eb;
}
.file-name {
  margin: 0.8rem 0;
  font-size: 0.9rem;
  color: #cbd5e1;
  word-break: break-all;
}
button {
  background: #10b981;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  margin-top: 0.8rem;
  transition: background 0.2s;
}
button:disabled {
  background: #475569;
  cursor: not-allowed;
}
button:hover:not(:disabled) {
  background: #059669;
}
#progress {
  margin-top: 1.2rem;
  color: #38bdf8;
  font-weight: 500;
}
.error {
  color: #ef4444;
  margin-top: 0.8rem;
  background: #450a0a;
  padding: 0.5rem;
  border-radius: 8px;
}
.hidden {
  display: none;
}
#downloadLink {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.6rem 1.5rem;
  background: #f59e0b;
  color: #0f172a;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}
#downloadLink:hover {
  background: #d97706;
}