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;
}

/* ── Dark-modal themes: outline buttons need light text/border for contrast ──
   Solar modal bg: #073642  Slate: #32383e  Cyborg: #222
   Default btn-outline-primary on these backgrounds is near-invisible.        */
body.theme-solar .btn-outline-primary,
body.theme-solar .btn-outline-secondary,
body.theme-slate .btn-outline-primary,
body.theme-slate .btn-outline-secondary,
body.theme-cyborg .btn-outline-primary,
body.theme-cyborg .btn-outline-secondary {
    --bs-btn-color: #e9ecef;
    --bs-btn-border-color: #adb5bd;
    --bs-btn-hover-bg: #495057;
    --bs-btn-hover-border-color: #adb5bd;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #495057;
    --bs-btn-active-border-color: #adb5bd;
    --bs-btn-active-color: #fff;
    color: #e9ecef;
}