:root {
--app-bg: #f5f7fb;
  --text-muted: #667085;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--app-bg);
  color: #111827;
}

.soft-shadow-sm {
  box-shadow: 0 4px 18px rgba(16, 24, 40, 0.06);
}

.nav-card .nav-link {
  color: #344054;
  border-radius: 0.75rem;
  padding: 0.6rem 0.8rem;
  font-weight: 500;
}

.nav-card .nav-link:hover {
  background-color: #eef2ff;
  color: #1d4ed8;
}

.nav-card .nav-link.active {
  background-color: #dbeafe;
  color: #1d4ed8;
}

.card {
  border: 1px solid #eaecf0;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.06);
}

.table {
  --bs-table-bg: transparent;
}

.table thead th {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.table tbody tr:hover {
  background: #f8fafc;
}

pre {
  margin: 0;
  white-space: pre-wrap;
  font-size: 0.8125rem;
}

.badge-soft {
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
}

.badge-queued {
  background-color: #e4e7ec;
  color: #344054;
}

.badge-running {
  background-color: #dbeafe;
  color: #1d4ed8;
}

.badge-success {
  background-color: #dcfce7;
  color: #166534;
}

.badge-partial {
  background-color: #fef3c7;
  color: #92400e;
}

.badge-failed {
  background-color: #fee2e2;
  color: #991b1b;
}

.table-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem 0.5rem !important;
}

.form-label {
  font-weight: 500;
}

details > summary {
  cursor: pointer;
  color: #1d4ed8;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="file"],
textarea,
select {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #fff;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.2);
}
