/* ==========================================================================
   BULLE D'AIDE "i" — petit bouton d'information qui ouvre un popover explicatif
   au clic (ex : fonctionnement de "État à une date", calcul du montant d'une
   facture à partir d'un tarif...).
   ========================================================================== */

.info-bulle-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.info-bulle-btn {
    width: 20px;
    height: 20px;
    padding: 0;
    border: 1px solid var(--primary);
    background: none;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    font-style: italic;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1;
    cursor: pointer;
    transition: all 0.15s ease;
}

.info-bulle-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

.info-bulle-popover {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 20;
    width: 300px;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 14px 16px;
}

.info-bulle-popover p,
.info-bulle-popover ul {
    margin: 0 0 8px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text);
}

.info-bulle-popover ul {
    padding-left: 18px;
}

.info-bulle-popover p:last-child,
.info-bulle-popover ul:last-child {
    margin-bottom: 0;
}

.info-bulle-popover-close {
    float: right;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    opacity: 0.5;
    padding: 0 0 6px 6px;
    line-height: 1;
}

.info-bulle-popover-close:hover {
    opacity: 1;
}
