/* Styles pour le conteneur de citation */
.citation-container {
position:relative;
display: block;
text-align: right;
margin-top: 5px;
margin-bottom: 20px !important;

}

/* Style pour le bouton toggle */
.citation-toggle {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: #f8f9fa;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.citation-toggle:hover {
    background-color: #e2e8f0;
}

.microscope-icon {
    height: 20px;
    width: auto;
	margin-left:10px;
    margin-right: 10px;
}

.citation-toggle-text {
    font-size: 14px;
    color: #4a5568;
}

/* Style pour le contenu de la citation (masqué par défaut) */
.citation-content {
    display: none;
    position: absolute;
    z-index: 999;
    right: 0; /* Aligne à droite */
    top: 100%; /* Position juste en dessous du bouton */
    margin-top: 5px;
    width: 700px;
    max-width: 95vw;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.citation-inner {
    display: flex;
    flex-direction: column;
}

/* Style pour le texte de la citation */
.citation-text {
    position: relative;
    margin-bottom: 15px;
}

.guillemets-icon {
    height: 24px;
    width: auto;
margin-left:10px;
margin-top:10px;
    position: absolute;
    top: 0;
    left: 0;
}

.citation-text blockquote {
    margin: 0 0 0 35px;
    padding: 0 0 0 15px;
    border-left: 0px solid #cbd5e0;
    font-style: italic;
    color: #4a5568;
    line-height: 1.6;
}

/* Style pour les informations de source */
.citation-source {
    display: flex;
    align-items: center;
padding-left:10px !important;
padding-right:10px !important;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;

}

.citation-author {
    font-weight: bold;
    color: #2d3748;
}

.citation-publication {
    font-style: italic;
    color: #4a5568;
    text-align: justify;

}

.citation-date {
    color: #718096;
}

.citation-logo {
	
min-width: 90%;
max-width: 90%;
}

.citation-logo img {
    width: 100%;
}

/* Style pour la citation ouverte */
.citation-container.active .citation-toggle {
    background-color: #e2e8f0;
}

/* Responsive */
@media (min-width: 768px) {
    .citation-content {
        width: 80%;
 	min-width: 500px;
    }
    
    .citation-inner {
        flex-direction: row;
    }
    
    .citation-text {
        flex: 1;
        margin-bottom: 0;
        margin-right: 20px;
    }
    
    .citation-source {
        width: 200px;
        flex-direction: column;
        align-items: flex-start;
        border-top: none;
        border-left: 0px solid #e2e8f0;
        padding: 0 0 0 15px;
        margin: 0;
    }
}