/* ============================================================
   custom.css — app-specific overrides only.

   Revision 2: the design system (pt-design-system.css) now owns the
   calendar, the topbar notification bell, the page background, card
   radius, and table-header styling — so the old rules for those were
   removed from here. What's left is a single honorary colour utility,
   now bound to the brand token (--violet-500) instead of Bootstrap's
   #6f42c1. Keep this file linked AFTER Bootstrap and BEFORE the design
   system, exactly as before.
   ============================================================ */

/* Honorary colour utility — used by EJS templates as bg-/text-honorary.
   Bound to the design-system violet so it matches the honorary badge,
   avatar tint, and stat tile. */
.bg-honorary  { background-color: var(--violet-500) !important; }
.text-honorary { color: var(--violet-500) !important; }

/* Color the Associates count number to match the info tile icon */
.pta-stat--info .pta-stat__value { color: var(--azure-600); }

/* Allow nav items to wrap on narrow phones so labels don't clip */
@media (max-width: 480px) {
  .pta-nav__item { white-space: normal; }
}

/* OCR status mini-log shown inside the scanning modal */
.pta-minilog {
  font-family: 'Courier New', Courier, monospace;
  font-size: .76rem;
  line-height: 1.55;
  background: #f4f5f7;
  border: 1px solid #dee2e6;
  border-radius: .375rem;
  padding: .45rem .7rem;
  max-height: 130px;
  min-height: 2.5rem;
  overflow-y: auto;
}
.pta-minilog__line { display: flex; align-items: flex-start; gap: .45rem; }
.pta-minilog__icon { flex-shrink: 0; width: 1.1em; text-align: center; }
.pta-minilog__line--ok    { color: #1a6e30; }
.pta-minilog__line--warn  { color: #7a4f00; }
.pta-minilog__line--error { color: #842029; }
.pta-minilog__line--info  { color: #444; }
