:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1e293b;
  --border: #e2e8f0;
  --muted: #94a3b8;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 16px;
}

header {
  text-align: center;
  margin-bottom: 40px;
}

h1 {
  font-size: 2rem;
  margin: 0 0 8px 0;
}

p.subtitle {
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.card {
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  padding: 24px;
  border: 1px solid var(--border);
}

.file-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.file-item:last-child {
  border-bottom: none;
}

.file-info {
  flex: 1;
  min-width: 0;
}

.file-info h3 {
  margin: 0 0 4px 0;
  font-size: 1rem;
}

.file-info p {
  margin: 0;
  color: #64748b;
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-outline {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 10px 18px;
}

.btn-outline:hover {
  border-color: var(--primary);
}

.note {
  margin-top: 20px;
  padding: 16px;
  background: #eff6ff;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  font-size: 0.9rem;
  color: #1e3a8a;
}

.copyright {
  margin-top: 40px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  padding: 16px 0;
}

@media (max-width: 600px) {
  .file-item {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}
