html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.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;
}

/* Top bar de l'application (Pages/Shared/_AppNavbar.cshtml). C'est le <header> qui colle, pas la
   <nav> qu'il contient : un élément sticky ne peut pas sortir de son parent, et ce parent a la
   hauteur exacte de la barre — posée sur la <nav> (avant le 2026-09-30), la règle restait donc sans
   effet et la barre défilait avec la page. */
.pm-app-header {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.preview-progress {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.375rem;
}