html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Equipment details — purchase list: keep date/amount compact so amount sits left of wide empty space */
.purchase-table {
  table-layout: fixed;
  width: 100%;
}

.purchase-table .purchase-col-date {
  width: 6.75rem;
}

.purchase-table .purchase-col-amount {
  width: 7.25rem;
}

.purchase-table th.purchase-col-bill,
.purchase-table td.purchase-col-bill {
  padding-left: 2.25rem;
}

/* Equipment details — section cards: subtle body tint per accent (Bootstrap 5 theme vars) */
.equipment-section-summary .card-body {
  background-color: rgba(var(--bs-primary-rgb), 0.04);
}

.equipment-section-edit .card-body {
  background-color: rgba(var(--bs-secondary-rgb), 0.04);
}

.equipment-section-purchase .card-body {
  background-color: rgba(var(--bs-success-rgb), 0.04);
}

.equipment-section-depreciation .card-body {
  background-color: rgba(var(--bs-info-rgb), 0.05);
}

.equipment-section-transactions .card-body {
  background-color: rgba(var(--bs-warning-rgb), 0.08);
}

.equipment-section-sales .card-body {
  background-color: rgba(var(--bs-danger-rgb), 0.04);
}

.equipment-section .card-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}