* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.5;
}

.header {
  background: #1a1a2e;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header h1 {
  font-size: 1.25rem;
  font-weight: 600;
}

.header-actions {
  display: flex;
  gap: 0.5rem;
}

.btn {
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.875rem;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.container {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

th {
  background: #f0f0f0;
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
}

td {
  padding: 0.75rem 1rem;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
}

tr:hover {
  background: #fafafa;
}

.download-link {
  color: #2563eb;
  text-decoration: none;
}

.download-link:hover {
  text-decoration: underline;
}

#loading,
#error,
#empty-state {
  text-align: center;
  padding: 2rem;
}

#error {
  color: #dc2626;
}

#empty-state {
  color: #666;
}
