:root {
  --primary: #2563eb;
  --danger: #dc2626;
  --bg: #f6f7fb;
  --text: #0f172a;
  --muted: #64748b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell,
    Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
}

.container {
  margin: 24px auto;
  padding: 0 16px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 12px 16px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

h1,
h2 {
  margin: 0;
}

label {
  display: block;
  margin: 12px 0 6px;
  color: var(--muted);
  font-weight: 600;
}

input,
select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

button,
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary {
  background: #334155;
}

.btn-small {
  padding: 6px 10px;
  font-size: 14px;
}

.btn-danger {
  background: var(--danger);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.table th,
.table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
}

.table thead th {
  background: #f8fafc;
  font-weight: 700;
}

.error {
  background: #fee2e2;
  color: #991b1b;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 6px;
}
