/* Style du lien avec tooltip */
a.tooltip {
    position: relative; /* Nécessaire pour positionner le tooltip par rapport au lien */
    display: inline; /* Conserve le flux normal du texte */
    text-decoration: underline; /* Souligné */
    color: red; /* Texte en rouge */
    cursor: pointer;
}
a.tooltip:visited {

    color: rgb(51, 102, 255);
 }

/* Supprimez ou commentez tout ce qui suit pour éviter le conflit : */
/*
a.tooltip::after {
    content: "";
    position: absolute;
    z-index: 1070;
    left: 0;
    bottom: 100%;
    margin-bottom: 20px;
    width: 300px;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: var(--tooltip-image);
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

a.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}
*/

/* Style du tooltip JavaScript (conservé) */
.custom-tooltip {
  background: white;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-width: 300px;
}