/* ── Layout ──────────────────────────────────────────────── */
body { background: #f4f6f9; font-size: 0.92rem; }

.bg-navy { background-color: #0d2240 !important; }
.letter-spacing-1 { letter-spacing: 0.04em; }

.card { border: none; box-shadow: 0 1px 4px rgba(0,0,0,.08); border-radius: 8px; }
.card-header { background: #fff; border-bottom: 1px solid #edf0f4; font-size: 0.88rem; }

/* ── Tables ──────────────────────────────────────────────── */
.table { font-size: 0.88rem; }
.table thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: #6c757d; }
.table-hover tbody tr:hover { background-color: #f0f4ff; }

/* ── Doc number chip ─────────────────────────────────────── */
.doc-num {
  display: inline-block;
  background: #eef1f8;
  color: #3d5a99;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 0.8em;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

/* ── Status badges ───────────────────────────────────────── */
.status-badge { font-size: 0.75em; padding: 0.3em 0.7em; border-radius: 20px; font-weight: 600; }
.status-active       { background: #d1fae5; color: #065f46; }
.status-draft        { background: #e5e7eb; color: #374151; }
.status-under-review { background: #dbeafe; color: #1e40af; }
.status-obsolete     { background: #fee2e2; color: #991b1b; }

/* Sidebar filter dots */
.status-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px;
}
.status-dot.status-active       { background: #10b981; }
.status-dot.status-draft        { background: #9ca3af; }
.status-dot.status-under-review { background: #3b82f6; }
.status-dot.status-obsolete     { background: #ef4444; }

/* ── Sidebar nav ─────────────────────────────────────────── */
.list-group-item { font-size: 0.85rem; }
.list-group-item.active {
  background-color: #0d2240;
  border-color: #0d2240;
  color: #fff;
}

/* ── Misc ────────────────────────────────────────────────── */
.font-monospace { font-family: 'SF Mono', 'Fira Code', monospace; }
