* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0f172a;
  color: #ffffff;
}

.container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 760px;
  background: #1e293b;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

h1 {
  margin: 0 0 8px 0;
  font-size: 42px;
}

.sub {
  color: #cbd5e1;
  margin-bottom: 20px;
}

form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

input[type="file"] {
  flex: 1;
  min-width: 220px;
  padding: 12px;
  background: #334155;
  border: none;
  border-radius: 10px;
  color: white;
}

button {
  padding: 12px 18px;
  background: #2563eb;
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  opacity: 0.92;
}

.actions {
  margin-top: 12px;
}

#message {
  margin-top: 14px;
  margin-bottom: 18px;
  padding: 12px;
  border-radius: 10px;
  white-space: pre-wrap;
  min-height: 24px;
  background: #0f172a;
}

#message.success {
  color: #4ade80;
}

#message.error {
  color: #f87171;
}

.file-list {
  margin-top: 20px;
}

.file-item {
  background: #0f172a;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}

.file-item h3 {
  margin: 0 0 10px 0;
}

.links {
  margin-top: 10px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

a {
  color: #60a5fa;
  text-decoration: none;
}

.error {
  color: #f87171;
}
