body {
  background-color: #f4f6f9;
}
.card-header {
  font-weight: 600;
}
table input.form-control, table select.form-select {
  min-width: 100px;
}

/* Used on report pages (and anywhere else with a .no-print element) so the
   navbar, filter form, and action buttons disappear when printing, leaving
   just the report title and results table. */
@media print {
  .no-print {
    display: none !important;
  }
  body {
    background-color: #fff;
  }
}

/* Opposite of .no-print: hidden on screen, shown only when printing. Used
   for "print everything that matches the filter" tables on reports that
   are paginated on screen (e.g. the Member Report) — the on-screen table
   only shows the current page, but this one holds every matching row. */
.print-only {
  display: none;
}
@media print {
  .print-only {
    display: block !important;
  }
}

/* Small "(i)" info icon used next to a form label instead of a long
   helper-text paragraph underneath the field — keeps forms compact and
   readable on mobile. Full explanation shows as a tooltip on tap/hover. */
.field-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #6c757d;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  cursor: help;
  margin-left: 4px;
  vertical-align: middle;
}

/* Member Tree report: highlights a row that matches the search box, and
   makes sure it's visible even when its parent nodes are printed/expanded. */
.tree-highlight {
  background-color: #fff3cd;
  border-radius: 4px;
}
.tree-toggle {
  line-height: 1;
}

/* Home page: "Last 5 Job Cards" rows are clickable (open that job card) —
   hover highlight makes that discoverable. */
.recent-job-card-row:hover {
  background-color: #f1f3f5;
}

/* Job Card item rows: "clubbed" items (several Parts/Labour lines sharing
   one Qty/Rate/Amount) get a left-accent border so a group is easy to pick
   out at a glance, both on the entry form and on Job Card / Bill print. */
.item-row-grouped td:first-child,
tr.clubbed-row td:first-child {
  border-left: 3px solid #0d6efd !important;
}
.item-clubbed-note {
  margin-top: 2px;
}
.clubbed-group-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #0d6efd;
  background-color: #e7f1ff;
  border-radius: 3px;
  padding: 0 5px;
  margin-left: 6px;
  vertical-align: middle;
}
