.nav-link {
  color: #525252;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.nav-link:hover {
  color: #111;
  border-bottom-color: #111;
}
.card {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  padding: 1.25rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: #111;
  color: white;
}
.btn-primary:hover {
  background: #000;
}
.btn-secondary {
  background: white;
  color: #111;
  border-color: #d4d4d4;
}
.btn-secondary:hover {
  background: #f5f5f5;
}
.btn-danger {
  background: #dc2626;
  color: white;
}
.btn-danger:hover {
  background: #b91c1c;
}
.field {
  margin-bottom: 1rem;
}
.field label {
  display: block;
  font-size: 0.8125rem;
  color: #525252;
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d4d4d4;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  background: white;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 1px #111;
}
.tab {
  padding: 0.5rem 1rem;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: 0.875rem;
  color: #525252;
}
.tab.active {
  border-bottom-color: #111;
  color: #111;
  font-weight: 500;
}
.badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.badge-green {
  background: #dcfce7;
  color: #166534;
}
.badge-gray {
  background: #f5f5f5;
  color: #525252;
}
.badge-red {
  background: #fee2e2;
  color: #991b1b;
}
.badge-amber {
  background: #fef3c7;
  color: #92400e;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #737373;
  font-weight: 500;
  letter-spacing: 0.025em;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e5e5;
  background: #fafafa;
}
td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f5f5f5;
  font-size: 0.875rem;
}
tr.row-link {
  cursor: pointer;
}
tr.row-link:hover td {
  background: #fafafa;
}
