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;
}

.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;
}

/* ── Multilingual layout safety ───────────────────────────────────────
 * French labels are typically 20-40% longer than English. Make every
 * column in a form row a flex column so inputs always sit at the bottom
 * regardless of how many lines a label wraps to — keeps inputs in the
 * same row visually aligned. */
form .row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
form .row > [class*="col-"] > .form-label {
  word-break: break-word;
}
form .row > [class*="col-"] > .form-control,
form .row > [class*="col-"] > .form-select,
form .row > [class*="col-"] > textarea.form-control {
  margin-top: auto;
}

/* Language-toggle pill spacing in navbar */
.navbar-nav .nav-link[aria-label="English"],
.navbar-nav .nav-link[aria-label="Français"] {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}