body {
  background: #f4f6f9;
}

.navbar-brand {
  font-weight: 600;
}

.card-asset img {
  object-fit: cover;
  height: 140px;
  width: 100%;
  background: #e9ecef;
}

.badge-status-active {
  background: #198754;
}

.badge-status-depleted {
  background: #dc3545;
}

/* "Responsive table to cards" trick for small screens (iPhone etc.) */
@media (max-width: 767.98px) {
  .table-mobile-cards thead {
    display: none;
  }
  .table-mobile-cards,
  .table-mobile-cards tbody,
  .table-mobile-cards tr,
  .table-mobile-cards td {
    display: block;
    width: 100%;
  }
  .table-mobile-cards tr {
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.25rem 0;
    background: #fff;
  }
  .table-mobile-cards td {
    text-align: right;
    padding: 0.5rem 0.75rem;
    border: none;
    border-bottom: 1px solid #f1f1f1;
  }
  .table-mobile-cards td:last-child {
    border-bottom: none;
  }
  .table-mobile-cards td::before {
    content: attr(data-label);
    float: left;
    font-weight: 600;
    color: #555;
    margin-right: 1rem;
  }
}

/* Bigger tap targets for comfortable use on phones */
.btn-sm {
  min-width: 38px;
}
