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;
  background: #f5f7fb;
}

.pwa-install-button {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 1100;
  padding: .7rem 1rem;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: #12844d;
  box-shadow: 0 8px 22px rgba(18, 132, 77, .32);
  font-weight: 700;
}

.pwa-install-button:hover { background: #0d6b3d; }
.pwa-install-button:disabled { opacity: .65; }

@media (max-width: 575.98px) {
  .pwa-install-button { right: 12px; bottom: 14px; font-size: .88rem; }
}

.history-hero { padding: 2rem; border-radius: 1.25rem; background: linear-gradient(135deg, #12233f, #216c84); color: #fff; }
.history-hero h1 { font-weight: 700; }
.history-eyebrow { font-size: .75rem; letter-spacing: .12em; font-weight: 700; color: #8de4e1; }
.history-filter { border-radius: 1rem; }
.history-filter .card-body { padding: 1.5rem; }
.summary-card { height: 100%; padding: 1.25rem; border: 1px solid #e8edf5; border-radius: 1rem; background: #fff; box-shadow: 0 .25rem 1rem rgba(22, 41, 70, .05); }
.summary-card span, .summary-card small { display: block; color: #68778d; }
.summary-card strong { display: block; margin-top: .25rem; font-size: 1.2rem; color: #172a46; }
.history-table thead th { padding: 1rem; border: 0; color: #fff; background: #172a46; white-space: nowrap; }
.history-table tbody td { padding: .9rem 1rem; border-color: #edf1f6; }
.history-product-image, .history-product-placeholder { width: 42px; height: 42px; border-radius: .7rem; object-fit: cover; background: #e9f6f5; display: inline-grid; place-items: center; }
@media (max-width: 575.98px) { .history-hero { padding: 1.35rem; } .history-hero h1 { font-size: 1.6rem; } }

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
