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;
}

/* Home page Room Board — a colour-coded tile per room (green=available,
   red=occupied, grey=maintenance) used for an at-a-glance front-desk view
   of the whole property. See views/home.ejs. */
.room-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.room-tile {
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  text-decoration: none;
  color: #fff;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.room-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  color: #fff;
}
.room-tile-available { background-color: #198754; }
.room-tile-occupied { background-color: #dc3545; }
.room-tile-maintenance { background-color: #6c757d; }
.room-tile .room-tile-number {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
}
.room-tile .room-tile-type-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  margin-top: 3px;
}
.room-tile .room-tile-guest {
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.room-tile .room-tile-meta {
  font-size: 0.72rem;
  opacity: 0.9;
}
.occupancy-bar {
  height: 10px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #e9ecef;
}
.occupancy-bar-fill {
  height: 100%;
  background-color: #dc3545;
}
