.img-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  background: #eee;
  flex: 0 0 auto;
}

.test-banner {
  background: #b00020;
  color: #fff;
  text-align: center;
  font-weight: 600;
  padding: 2px 0;
  letter-spacing: 0.04em;
}

body {
  padding-bottom: 2rem;
}

/* Location multi-select: flow checkboxes into as many columns as fit. */
.location-columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.15rem 1rem;
}
.location-columns .form-check {
  margin-bottom: 0;
}

/* ── Tab strips ──────────────────────────────────────────────────────────── */
/* Active tab shows a solid blue fill instead of the default white folder tab.
   Applies to both the main and the secondary (.nav-tabs-sm) strips. */
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  background-color: var(--bs-primary, #0d6efd) !important;
  border-color: var(--bs-primary, #0d6efd) !important;
  color: #fff !important;
}

/* Tighter tabs: ~half the default padding between the label and the tab edges
   (Bootstrap default is 0.5rem / 1rem). */
.nav-tabs .nav-link {
  --bs-nav-link-padding-y: 0.25rem;
  --bs-nav-link-padding-x: 0.5rem;
}

/* Secondary tab strip (e.g. inside Projet): identical to the main tabs but two
   points smaller (main ≈ 12pt / 1rem → secondary ≈ 10pt / 0.833rem). */
.nav-tabs-sm .nav-link {
  font-size: 0.833rem;
  --bs-nav-link-padding-y: 0.18rem;
  --bs-nav-link-padding-x: 0.5rem;
}

/* ── Buttons ─────────────────────────────────────────────────────────────────
   Central, app-wide button style so every button looks and feels the same.
   Colour variants (primary/success/secondary/outline-light…) still convey
   meaning, but shape, weight, padding and sizing are unified here rather than
   tuned per button. */
.btn {
  --bs-btn-border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.btn-sm {
  --bs-btn-border-radius: 6px;
}

/* ── Login: Benjel logo watermark + internal-use notice ─────────────────── */
.login-watermark {
  position: fixed;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(70vw, 520px);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.login-logo-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 5vh;
}
.login-logo {
  max-width: 220px;
  max-height: 80px;
  width: auto;
}
.login-card {
  position: relative;
  z-index: 1;
}
.login-notice {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e3e3e3;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #555;
}
.login-notice strong {
  color: #b00020;
}
