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

  /* Vertical scrollbar stable for page judder prevention */
  overflow-y: auto;
  scrollbar-gutter: stable; 
}

body {
  margin-bottom: 60px;
}

 /* Vertical scrollbar stable for page judder prevention */
/* Fallback for browsers that don’t support scrollbar-gutter */
@supports not (scrollbar-gutter: stable) {
  html { overflow-y: scroll; }
}

 /* Vertical scrollbar stable for page judder prevention */
/* Tell Bootstrap not to add extra padding when modal opens */
body.modal-open { padding-right: 0 !important; }
body.modal-open .fixed-top,
body.modal-open .sticky-top { padding-right: 0 !important; }

/* Dark text for our form labels */
::placeholder {
    color: #212529 !important; /* Bootstrap’s default text color */
    opacity: 1 !important;     /* prevent fading */
}

/* Custom Vertical Divider for Navbar */
.nav-divider {
    border-right: 1px solid #dee2e6;
    padding-right: 0.5rem;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
}

/* Fix for mobile view: change vertical line to a horizontal separator */
@media (max-width: 575.98px) {
    .nav-divider {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
        padding-right: 0;
        margin-right: 0;
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
    }
}