/* Hide forward buttons at all times */
button.forward {
  display: none !important;
}

/* Hide Generate report button, except on last page of form */
.form-container:not(.last-page-before-summary) .show-on-last-form-page {
  display: none;
}

/* Tooltip container */
.html-tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.html-tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.html-tooltip:hover .tooltiptext {
  visibility: visible;
  cursor: pointer;
}

/* Position the tooltip text on top of text */
.html-tooltip .tooltiptext {
  width: 120px;
  bottom: 100%;
  left: 50%;
  margin-left: -60px; /* Use half of the width (120/2 = 60), to center the tooltip */
}

/* 2025-11-06 - Jérémy (front-end dev) - Documentation legend text wrap fix (https://startpage.dexero.com/crm_dexero/app/dexero_intranet/points_qa/dev_produits/fr/a/key/11657) */
.field-display-value {
  .text-pre-wrap {
    .text-no-wrap {
      white-space: normal !important;
    }
  }
}

/* 2026-01-15 - Jérémy (front-end dev) - Help nav item */
.theme-govt-qc .navbar.navbar-light #mainNavBarContainer #mainAppMenu .navbar-nav.secondary .nav-item .nav-link#menu-item-aide .text,
.theme-govt-qc .navbar.navbar-dark #mainNavBarContainer #mainAppMenu .navbar-nav.secondary .nav-item .nav-link#menu-item-aide .text {
  font-size: 1.2rem;
}
