/* Style du bouton Info à droite du champ de recherche */
#btn-info-app {
    background: #e8f0fe;
    color: #0046ad;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

#btn-info-app:hover {
    background: #0046ad;
    color: #fff;
}

/* Conteneur de l'arrière-plan de la modale */
.info-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

/* Boîte de dialogue de la modale */
.info-modal-box {
    background: #fff;
    width: 100%;
    max-width: 450px;
    max-height: 80vh;
    border-radius: 16px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    animation: fadeInModal 0.2s ease-out;
}

.info-modal-header {
    padding: 16px;
    border-bottom: 1px solid #f1f3f4;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-modal-header h2 {
    margin: 0; font-size: 18px; color: #1c1e21; font-weight: 700;
}

.info-modal-close {
    background: none; border: none; font-size: 20px; color: #5f6368; cursor: pointer;
}

.info-modal-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Sections à l'intérieur */
.info-section-title {
    font-size: 12px; font-weight: 700; color: #5f6368; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 0.5px;
}

.info-link-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
}

.info-btn-link {
    display: flex; align-items: center; gap: 8px; padding: 10px; background: #f8f9fa;
    border: 1px solid #dadce0; border-radius: 8px; color: #1c1e21; text-decoration: none;
    font-size: 13px; font-weight: 500; transition: background 0.2s;
}

.info-btn-link:hover { background: #f1f3f4; }
.info-btn-link i { font-size: 16px; }

/* Couleurs spécifiques pour l’identité des réseaux */
.info-btn-link.wa-chain { border-left: 3px solid #128c7e; }
.info-btn-link.wa-group { border-left: 3px solid #25d366; }
.info-btn-link.blog-doc { border-left: 3px solid #f57d00; background: #fff8f0; }

.info-modal-footer {
    padding: 12px; background: #f8f9fa; border-top: 1px solid #f1f3f4; text-align: center; font-size: 11px; color: #5f6368;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}