/* OCR Annotation Dashboard – custom styles */

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: #f4f6f9;
}

/* ── Stat cards ─────────────────────────────────────────── */
.stat-card .card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 1.1rem 1.25rem;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: #212529;
}

.stat-label {
  font-size: 0.78rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Tiny buttons ───────────────────────────────────────── */
.btn-xs {
  padding: 2px 8px;
  font-size: 0.78rem;
  border-radius: 4px;
  line-height: 1.5;
}

/* ── Card headers ───────────────────────────────────────── */
.card-header {
  padding: 0.8rem 1.25rem;
  font-size: 0.92rem;
  border-bottom: 1px solid #e9ecef;
}

/* ── Table tweaks ───────────────────────────────────────── */
.table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6c757d;
  font-weight: 600;
}

.table td {
  vertical-align: middle;
  font-size: 0.88rem;
}

/* ── Navbar active link underline ───────────────────────── */
.navbar .nav-link.active {
  border-bottom: 2px solid #0d6efd;
  padding-bottom: calc(0.5rem - 2px);
}

/* ── Quick range button sizing ──────────────────────────── */
.btn-xs.btn-outline-secondary,
.btn-xs.btn-primary {
  font-size: 0.75rem;
  padding: 3px 10px;
}

/* ── Progress bar in reports table ─────────────────────── */
td .progress {
  border-radius: 4px;
}

/* ── Login page ─────────────────────────────────────────── */
.card {
  border-radius: 12px;
}
