/* --- OHDB/css/infobulle.css --- */

/* Le conteneur de la modale flottante */
.tech-tooltip {
    position: fixed; /* Fixe par rapport à la fenêtre */
    display: none; /* Caché par défaut */
    top: 0;
    left: 0;
    z-index: 9999; /* Toujours au-dessus de tout */
    pointer-events: none; /* La souris passe au travers (évite le clignotement) */
    
    /* Style Once Human */
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    border: 1px solid rgba(104, 253, 214, 0.3); /* Cyan sombre */
    border-left: 3px solid #68fdd6; /* Cyan vif à gauche */
    border-radius: 4px;
    
    padding: 15px;
    max-width: 350px;
    min-width: 200px;
    
    color: #e0e0e0;
    font-family: 'h73light', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(104, 253, 214, 0.1);
    
    /* Animation d'apparition */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Classe active gérée par JS */
.tech-tooltip.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Style du contenu intérieur */
.tech-tooltip strong {
    color: #68fdd6; /* Titres en cyan */
    font-family: 'h73bold', sans-serif;
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.tech-tooltip b {
    color: #ffd700; /* Sous-titres en jaune/or */
}

.tech-tooltip span.highlight {
    color: #68fdd6;
}

/* Curseur pointer pour indiquer qu'il y a une info */
[data-tooltip-key] {
    cursor: help;
}