
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
            --primary-color: #4a6fa5;
            --secondary-color: #6b8cbc;
            --success-color: #28a745;
            --error-color: #dc3545;
            --warning-color: #ffc107;
            --light-gray: #e8e8e8;
            --dark-gray: #343a40;
            --border-radius: 8px;
            --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

/* Validation Publier suggestion */  
/* Conteneur principal */
.suggestion-publish-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* En-tête */
.publish-header {
    background: linear-gradient(135deg, #e3f2fd, #fff);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 32px;
    border-left: 6px solid #17a2b8;
    box-shadow: 0 8px 24px rgba(23, 162, 184, 0.08);
}

.status-badge.publish-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #17a2b8;
    color: white;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.25);
}

.publish-title {
    margin: 16px 0 12px 0;
    font-size: 24px;
    font-weight: 600;
    color: #212529;
}

.suggestion-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid #eef2f6;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.meta-icon {
    font-size: 16px;
    color: #17a2b8;
}

.meta-label {
    font-size: 14px;
    color: #6c757d;
    min-width: 80px;
}

.meta-value {
    font-size: 15px;
    font-weight: 500;
    color: #212529;
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Grille d'informations */
.info-grid-publish {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.info-card-publish {
    background: white;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 16px;
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
}

.info-card-publish:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.info-card-publish .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card-publish.author-card .card-icon {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1976d2;
}

.info-card-publish.target-card .card-icon {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #388e3c;
}

.info-card-publish.context-card .card-icon {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #f57c00;
}

.info-card-publish .card-icon .icon {
    font-size: 24px;
}

.info-card-publish .card-content {
    flex: 1;
}

.info-card-publish h3 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-name {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.author-id {
    font-size: 12px;
    color: #6c757d;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 12px;
}

.target-title {
    margin: 0 0 8px 0;
    font-size: 15px;
    font-weight: 500;
    color: #212529;
    line-height: 1.4;
}

.target-details {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.detail-badge {
    font-size: 12px;
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 20px;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.context-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.context-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.context-label {
    font-size: 13px;
    color: #6c757d;
    min-width: 60px;
}

.context-value {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
}

/* Contenu de la suggestion */
.suggestion-content-card {
    background: white;
    border-radius: 20px;
    margin-bottom: 32px;
    border: 1px solid #eef2f6;
    overflow: hidden;
}

.content-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(to right, #f8f9fc, white);
    border-bottom: 1px solid #eef2f6;
}

.content-header .header-icon {
    width: 48px;
    height: 48px;
    background: #e9ecef;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-header .header-icon .icon {
    font-size: 24px;
    color: #17a2b8;
}

.content-header .header-text h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}

.content-header .header-text p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
}

.content-body {
    padding: 24px;
    background: #fafbfc;
}

.suggestion-text-container {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    line-height: 1.8;
    color: #212529;
    font-size: 15px;
}

.suggestion-text-container p {
    margin: 0 0 16px 0;
}

.suggestion-text-container p:last-child {
    margin-bottom: 0;
}

/* Section de confirmation */
.confirmation-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 12px 32px rgba(23, 162, 184, 0.08);
    border: 1px solid #eef2f6;
}

.confirmation-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f3f5;
}

.confirmation-header .header-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmation-header .header-icon .icon {
    font-size: 28px;
    color: #28a745;
}

.confirmation-header .header-text h3 {
    margin: 0 0 4px 0;
    font-size: 20px;
    font-weight: 700;
    color: #212529;
}

.confirmation-header .header-text p {
    margin: 0;
    font-size: 15px;
    color: #6c757d;
}

/* Grille des conséquences */
.consequences-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.consequence-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8f9fc;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.consequence-icon {
    font-size: 20px;
}

.consequence-text {
    font-size: 14px;
    font-weight: 500;
    color: #495057;
}

/* Boutons d'action */
.action-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.btn-agora {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-agora.btn-secondary {
    background: #e9ecef;
    color: #495057;
}

.btn-agora.btn-secondary:hover {
    background: #dee2e6;
    transform: translateY(-2px);
}

.btn-agora.btn-publish {
    background: #17a2b8;
    color: white;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.25);
}

.btn-agora.btn-publish:hover {
    background: #138496;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(23, 162, 184, 0.35);
}

.btn-icon {
    font-size: 16px;
}

.action-arrow {
    transition: transform 0.2s ease;
}

.btn-agora:hover .action-arrow {
    transform: translateX(4px);
}

/* Note légale */
.legal-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fff3cd;
    border-radius: 12px;
    border-left: 4px solid #ffc107;
}

.note-icon {
    font-size: 18px;
    color: #856404;
}

.note-text {
    font-size: 14px;
    color: #856404;
    line-height: 1.5;
}

/* Carte d'information complémentaire */
.info-extra-card {
    background: linear-gradient(135deg, #f8f9fc, #fff);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e9ecef;
}

.extra-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.extra-icon {
    font-size: 20px;
    color: #17a2b8;
}

.extra-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.extra-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.extra-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #495057;
}

.extra-list li:before {
    content: "•";
    color: #17a2b8;
    font-weight: bold;
    font-size: 18px;
}

/* Message d'erreur */
.error-message {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #f8d7da;
    border-radius: 12px;
    border-left: 4px solid #dc3545;
}

.error-icon {
    font-size: 24px;
}

.error-message span {
    font-size: 16px;
    color: #721c24;
}

/* Responsive */
@media (max-width: 992px) {
    .info-grid-publish {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .suggestion-publish-container {
        padding: 16px;
    }
    
    .info-grid-publish {
        grid-template-columns: 1fr;
    }
    
    .consequences-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-agora {
        width: 100%;
        justify-content: center;
    }
    
    .suggestion-meta .meta-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .meta-label {
        min-width: auto;
    }
    
    .confirmation-header {
        flex-direction: column;
        text-align: center;
    }
}

/* generateValidationView dataDraft */   
/* Bandeau latéral - Draft */
.card-sidebar.draft {
    background: linear-gradient(135deg, #6c757d, #adb5bd);
}

/* Badge - Draft */
.item-badge.draft {
    background: #f16161f7;
    color: white;
    box-shadow: 0 2px 6px rgba(108, 117, 125, 0.3);
}

.item-badge.draft .badge-icon {
    font-size: 14px;
}

/* Animation au survol pour les drafts */
.validation-card.draft-card:hover {
    box-shadow: 0 12px 24px rgba(108, 117, 125, 0.15);
    border-color: rgba(108, 117, 125, 0.2);
    transform: translateY(-2px);
}

/* Badges de draft */
.draft-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.draft-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
}

.draft-badge.version {
    background: #e9ecef;
    border-color: #ced4da;
}

.draft-badge.status {
    background: #e3f2fd;
    border-color: #90caf9;
    color: #1976d2;
}

.draft-badge .badge-icon {
    font-size: 12px;
}

/* Grille simple pour les drafts */
.info-grid.single-row {
    grid-template-columns: 1fr;
    margin-bottom: 16px;
}

.info-card.highlight {
    background: linear-gradient(135deg, #e9ecef, #f8f9fa);
    border: 1px solid #dee2e6;
}

/* Aperçu du draft */
.draft-preview {
    margin: 16px 0;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px dashed #ced4da;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.preview-icon {
    font-size: 14px;
    color: #6c757d;
}

.preview-label {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-content {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    max-height: 80px;
    overflow: hidden;
    position: relative;
}

.preview-content:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #f8f9fa);
}

/* Métadonnées du draft */
.draft-metadata {
    display: flex;
    gap: 16px;
    margin: 12px 0;
    padding: 8px 12px;
    background: #f8f9fc;
    border-radius: 8px;
}

.metadata-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6c757d;
}

.metadata-icon {
    font-size: 14px;
}

/* Barre de progression */
.progress-section {
    margin: 16px 0 8px 0;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.progress-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-value {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
}

.progress-bar {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6c757d, #adb5bd);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Action spécifique pour les drafts */
.view-action.draft {
    color: #6c757d;
    background: rgba(108, 117, 125, 0.12);
}

.view-action.draft:hover {
    background: #6c757d;
    color: white;
}

.view-action.draft .action-icon {
    font-size: 16px;
    margin-right: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .draft-badges {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .draft-metadata {
        flex-direction: column;
        gap: 8px;
    }
    
    .preview-content {
        max-height: 60px;
    }
}

/* Animation d'entrée pour les drafts */
@keyframes slideInDraft {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.draft-item {
    animation: slideInDraft 0.3s ease;
}

/* generateValidationView dataSuggestionFalse */        
/* Bandeau latéral - À publier */
.card-sidebar.publish {
    background: linear-gradient(135deg, #17a2b8, #6cb2eb);
}

/* Badge - À publier */
.item-badge.publish {
    background: #17a2b8;
    color: white;
    box-shadow: 0 2px 6px rgba(23, 162, 184, 0.3);
}

.item-badge.publish .badge-icon {
    font-size: 14px;
}

/* Animation au survol pour les cartes à publier */
.validation-card.publish-card:hover {
    box-shadow: 0 12px 24px rgba(23, 162, 184, 0.15);
    border-color: rgba(23, 162, 184, 0.2);
}

/* Informations sur l'auteur */
.author-info {
    margin-bottom: 16px;
    padding: 12px 16px;
    background: linear-gradient(to right, #e3f2fd, #f8f9fc);
    border-radius: 10px;
    border-left: 3px solid #17a2b8;
}

.author-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-icon {
    font-size: 16px;
    color: #17a2b8;
}

.author-label {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

.author-value {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    background: white;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #dee2e6;
}

/* Statut de publication */
.publish-status {
    margin: 16px 0 12px 0;
    padding: 16px;
    background: linear-gradient(135deg, #d1ecf1, #e3f2fd);
    border-radius: 12px;
    border: 1px solid #bee5eb;
}

.status-message {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.status-icon {
    font-size: 18px;
    color: #17a2b8;
}

.status-text {
    font-size: 15px;
    font-weight: 600;
    color: #0c5460;
}

.publish-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
}

.hint-icon {
    font-size: 14px;
    color: #17a2b8;
}

.hint-text {
    font-size: 13px;
    color: #117a8b;
    font-style: italic;
}

/* Action spécifique pour "À publier" */
.view-action.publish {
    color: #17a2b8;
    background: rgba(23, 162, 184, 0.12);
}

.view-action.publish:hover {
    background: #17a2b8;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .author-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .author-value {
        width: 100%;
        text-align: center;
    }
    
    .status-message {
        flex-direction: column;
        text-align: center;
    }
    
    .publish-hint {
        flex-direction: column;
        text-align: center;
    }
}

/* Conteneur principal pour le désistement */
.annonce-desiste {
    font-size: x-large;
    border: 1px solid goldenrod;
    text-align: center;
    background: cadetblue;
    padding: 5px;
}
.desistement-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* En-tête */
.desistement-header {
    background: linear-gradient(135deg, #fff3e0, #fff);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    border-left: 6px solid #fd7e14;
    box-shadow: 0 8px 24px rgba(253, 126, 20, 0.08);
}

.status-badge.desistement-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #fd7e14;
    color: white;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(253, 126, 20, 0.25);
}

.badge-icon {
    font-size: 18px;
}

.desistement-title {
    margin: 16px 0 0 0;
    font-size: 24px;
    font-weight: 600;
    color: #212529;
}

/* Carte d'explication */
.explanation-card {
    display: flex;
    gap: 20px;
    background: #f8f9fc;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid #eef2f6;
}

.explanation-icon {
    width: 48px;
    height: 48px;
    background: #fd7e14;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.explanation-icon .icon {
    font-size: 24px;
    color: white;
}

.explanation-content {
    flex: 1;
}

.explanation-content h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}

.explanation-content p {
    margin: 0 0 16px 0;
    font-size: 15px;
    color: #495057;
    line-height: 1.6;
}

.explanation-content ul {
    margin: 0 0 20px 0;
    padding-left: 20px;
}

.explanation-content li {
    margin-bottom: 8px;
    color: #495057;
}

.notification-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.info-icon {
    font-size: 20px;
}

/* Carte de proposition actuelle */
.current-proposition-card {
    background: white;
    border-radius: 16px;
    margin-bottom: 32px;
    border: 1px solid #eef2f6;
    overflow: hidden;
}

.current-proposition-card .card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(to right, #f8f9fc, white);
    border-bottom: 1px solid #eef2f6;
}

.current-proposition-card .header-icon {
    width: 48px;
    height: 48px;
    background: #e9ecef;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.current-proposition-card .header-icon .icon {
    font-size: 24px;
}

.current-proposition-card .header-text {
    flex: 1;
}

.current-proposition-card .header-text h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.proposition-ref {
    font-size: 13px;
    color: #6c757d;
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #dee2e6;
}

.current-proposition-card .card-content {
    padding: 20px;
}

.proposition-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.info-label {
    min-width: 100px;
    font-size: 14px;
    color: #6c757d;
}

.info-value {
    font-size: 15px;
    font-weight: 500;
    color: #212529;
}

/* Aucune proposition */
.no-propositions-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    border: 1px solid #eef2f6;
}

.no-propositions-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.no-propositions-content h3 {
    margin: 0 0 16px 0;
    font-size: 20px;
    font-weight: 600;
    color: #212529;
}

.no-propositions-content p {
    margin: 0 0 12px 0;
    color: #6c757d;
}

.no-propositions-content ul {
    display: inline-block;
    text-align: left;
    margin: 16px 0;
    color: #6c757d;
}

.no-propositions-actions {
    margin-top: 24px;
}

/* Formulaire */
.desistement-form-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f6;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f3f5;
}

.form-icon {
    width: 48px;
    height: 48px;
    background: #e9ecef;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-icon .icon {
    font-size: 24px;
}

.form-header-text h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}

.form-header-text p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
}

/* Groupe de formulaire */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #495057;
}

.label-icon {
    font-size: 16px;
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 15px;
    color: #212529;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-select:hover {
    border-color: #fd7e14;
}

.form-select:focus {
    outline: none;
    border-color: #fd7e14;
    box-shadow: 0 0 0 3px rgba(253, 126, 20, 0.1);
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 13px;
    color: #6c757d;
}

.hint-icon {
    font-size: 14px;
}

/* Aperçu de sélection */
.selection-preview {
    background: #f8f9fc;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid #dee2e6;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

.preview-icon {
    font-size: 16px;
}

.preview-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preview-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.preview-label {
    min-width: 60px;
    font-size: 13px;
    color: #6c757d;
}

.preview-value {
    font-size: 14px;
    font-weight: 500;
    color: #212529;
}

/* Actions du formulaire */
.form-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px solid #f1f3f5;
}

.btn-agora {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-agora.btn-secondary {
    background: #e9ecef;
    color: #495057;
}

.btn-agora.btn-secondary:hover {
    background: #dee2e6;
    transform: translateY(-2px);
}

.btn-agora.btn-desistement {
    background: #fd7e14;
    color: white;
    box-shadow: 0 4px 12px rgba(253, 126, 20, 0.2);
}

.btn-agora.btn-desistement:hover {
    background: #e96b00;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(253, 126, 20, 0.3);
}

.btn-icon {
    font-size: 16px;
}

.action-arrow {
    transition: transform 0.2s ease;
}

.btn-agora:hover .action-arrow {
    transform: translateX(4px);
}

/* Carte d'information */
.desistement-info-card {
    background: linear-gradient(to right, #fff9e6, #fff);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #ffe0b2;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.info-card-icon {
    font-size: 24px;
}

.info-card-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #e65100;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #495057;
}

.list-icon {
    font-size: 16px;
    min-width: 24px;
}

/* Message d'erreur */
.error-message {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #f8d7da;
    border-radius: 12px;
    border-left: 4px solid #dc3545;
}

.error-icon {
    font-size: 24px;
}

.error-message span {
    font-size: 16px;
    color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
    .desistement-container {
        padding: 16px;
    }
    
    .explanation-card {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-agora {
        width: 100%;
        justify-content: center;
    }
    
    .info-row {
        flex-direction: column;
        gap: 4px;
    }
    
    .info-label {
        min-width: auto;
    }
}

/* Conteneur principal - Validation nouveau draft sur proposition où j'ai une suggestion*/
.suggestion-validation-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* En-tête de validation */
.validation-header {
    background: linear-gradient(135deg, #e8f5e9, #fff);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    border-left: 6px solid #28a745;
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.08);
}

.status-badge.validation-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #28a745;
    color: white;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
}

.validation-title {
    margin: 16px 0 12px 0;
    font-size: 24px;
    font-weight: 600;
    color: #212529;
}

.proposition-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid #eef2f6;
}

.info-label {
    font-size: 14px;
    color: #6c757d;
}

.info-value {
    font-size: 16px;
    font-weight: 700;
    color: #28a745;
}

/* Message contextuel */
.context-message-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, #cce5ff, #e7f3ff);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid #b8daff;
}

.context-icon {
    width: 48px;
    height: 48px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.context-icon-symbol {
    font-size: 24px;
    color: white;
}

.context-content h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #004085;
}

.context-content p {
    margin: 0;
    font-size: 15px;
    color: #004085;
    line-height: 1.6;
}

/* Mini badges */
.mini-badge.new {
    background: #28a745;
    color: white;
}

.mini-badge.original {
    background: #6c757d;
    color: white;
}

/* Pied d'iframe */
.iframe-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 13px;
    color: #6c757d;
}

.footer-icon {
    font-size: 14px;
}

/* Conseil de comparaison */
.comparison-tip-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff3cd;
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 32px;
    border-left: 4px solid #ffc107;
}

.tip-icon {
    font-size: 24px;
}

.tip-content {
    font-size: 15px;
    color: #856404;
    line-height: 1.5;
}

/* Section décision de validation */
.validation-decision-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f6;
}

.validation-decision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.validation-option {
    background: #f8f9fc;
    border-radius: 20px;
    border: 2px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.validation-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

/* Variantes de couleur */
.validation-option.satisfied:hover {
    border-color: #28a745;
    background: linear-gradient(to bottom, #f8f9fc, #f1f8e9);
}

.validation-option.postponed:hover {
    border-color: #ffc107;
    background: linear-gradient(to bottom, #f8f9fc, #fff9e6);
}

.validation-option.deleted:hover {
    border-color: #dc3545;
    background: linear-gradient(to bottom, #f8f9fc, #fff5f5);
}

.validation-option-header {
    padding: 20px;
    background: white;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.validation-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.validation-icon.satisfied {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #28a745;
}

.validation-icon.postponed {
    background: linear-gradient(135deg, #fff3cd, #ffe69c);
    color: #ffc107;
}

.validation-icon.deleted {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #dc3545;
}

.validation-icon-symbol {
    font-size: 24px;
}

.validation-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.validation-badge.satisfied {
    background: #28a745;
    color: white;
}

.validation-badge.postponed {
    background: #ffc107;
    color: #212529;
}

.validation-badge.deleted {
    background: #dc3545;
    color: white;
}

.validation-option-content {
    padding: 20px;
    flex: 1;
}

.validation-option-content h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 700;
    color: #212529;
    line-height: 1.4;
}

.validation-option-content p {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
}

/* Messages spécifiques */
.success-message {
    margin-top: 16px;
    padding: 12px;
    background: #d4edda;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #155724;
    border-left: 3px solid #28a745;
}

.warning-message {
    margin-top: 16px;
    padding: 12px;
    background: #fff3cd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #856404;
    border-left: 3px solid #ffc107;
}

.error-message {
    margin-top: 16px;
    padding: 12px;
    background: #f8d7da;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #721c24;
    border-left: 3px solid #dc3545;
}

.message-icon {
    font-size: 16px;
}

.validation-option-footer {
    padding: 16px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.validation-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #28a745;
    transition: all 0.2s ease;
}

.validation-action.postponed {
    color: #ffc107;
}

.validation-action.deleted {
    color: #dc3545;
}

.validation-action .action-arrow {
    transition: transform 0.2s ease;
}

.validation-option:hover .validation-action {
    gap: 12px;
}

.validation-option:hover .action-arrow {
    transform: translateX(4px);
}

/* Rappel de validation */
.validation-reminder {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 24px;
    margin-top: 24px;
    border: 1px solid #e9ecef;
}

.reminder-content {
    display: flex;
    gap: 16px;
}

.reminder-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.reminder-text {
    font-size: 14px;
    color: #495057;
    line-height: 1.6;
}

.reminder-text ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.reminder-text li {
    margin-bottom: 4px;
}

/* Section d'aide */
.help-section {
    margin-top: 32px;
}

.help-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #e9ecef;
    border-radius: 12px;
    flex-wrap: wrap;
}

.help-icon {
    font-size: 24px;
    background: #6c757d;
    color: white;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.help-content {
    flex: 1;
    min-width: 250px;
}

.help-content h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.help-content p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
}

.help-button {
    padding: 10px 20px;
    background: white;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
}

.help-button:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.help-button.suggestion:hover {
    background: #9c27b0;
    border-color: #9c27b0;
}

/* Responsive */
@media (max-width: 1200px) {
    .validation-decision-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .validation-decision-grid {
        grid-template-columns: 1fr;
    }
    
    .help-card {
        flex-direction: column;
        text-align: center;
    }
    
    .reminder-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .suggestion-validation-container {
        padding: 16px;
    }
    
    .validation-header {
        padding: 20px;
    }
    
    .validation-title {
        font-size: 20px;
    }
    
    .validation-option-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .context-message-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Conteneur principal - Modération */
.suggestion-moderation-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* En-tête de modération */
.moderation-header {
    background: linear-gradient(135deg, #f3e5f5, #fff);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 32px;
    border-left: 6px solid #9c27b0;
    box-shadow: 0 8px 24px rgba(156, 39, 176, 0.08);
}

.status-badge.moderation-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #9c27b0;
    color: white;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.25);
}

.moderation-title {
    margin: 16px 0 12px 0;
    font-size: 24px;
    font-weight: 600;
    color: #212529;
}

.proposition-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid #eef2f6;
}

.title-label {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.title-value {
    font-size: 16px;
    font-weight: 600;
    color: #9c27b0;
}

/* Mini badges */
.mini-badge.proposal {
    background: #6c757d;
    color: white;
}

.mini-badge.pending {
    background: #ffc107;
    color: #212529;
}

/* Section commentaire */
.comment-section-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f6;
}

.comment-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f3f5;
}

.header-icon-wrapper {
    width: 48px;
    height: 48px;
    background: #e9ecef;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment-main-icon {
    font-size: 24px;
}

.comment-section-header h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}

.comment-section-header p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
}

/* Formulaire de commentaire */
.comment-form {
    max-width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
}

.label-icon {
    font-size: 16px;
}

.comment-textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.2s ease;
}

.comment-textarea:focus {
    outline: none;
    border-color: #9c27b0;
    box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
}

.comment-textarea::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 13px;
    color: #6c757d;
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 8px;
}

.hint-icon {
    font-size: 14px;
}

/* Section décision */
.decision-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f6;
}

.decision-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f1f3f5;
}

.decision-icon-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.decision-main-icon {
    font-size: 28px;
}

.decision-header-text h3 {
    margin: 0 0 4px 0;
    font-size: 22px;
    font-weight: 700;
    color: #212529;
}

.decision-header-text p {
    margin: 0;
    font-size: 15px;
    color: #6c757d;
}

/* Grille des décisions */
.decision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.decision-option {
    background: #f8f9fc;
    border-radius: 20px;
    border: 2px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.decision-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

/* Variantes de couleur au survol */
.decision-option.accept:hover {
    border-color: #28a745;
    background: linear-gradient(to bottom, #f8f9fc, #f1f8e9);
}

.decision-option.reject:hover {
    border-color: #dc3545;
    background: linear-gradient(to bottom, #f8f9fc, #fff5f5);
}

.decision-option.off-topic:hover {
    border-color: #ffc107;
    background: linear-gradient(to bottom, #f8f9fc, #fff9e6);
}

.decision-option-header {
    padding: 20px;
    background: white;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.decision-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.decision-icon.accept {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #28a745;
}

.decision-icon.reject {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #dc3545;
}

.decision-icon.off-topic {
    background: linear-gradient(135deg, #fff3cd, #ffe69c);
    color: #ff9800;
}

.decision-icon-symbol {
    font-size: 24px;
}

.decision-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.decision-badge.accept {
    background: #28a745;
    color: white;
}

.decision-badge.reject {
    background: #dc3545;
    color: white;
}

.decision-badge.off-topic {
    background: #ffc107;
    color: #212529;
}

.decision-option-content {
    padding: 20px;
    flex: 1;
}

.decision-option-content h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 700;
    color: #212529;
    line-height: 1.4;
}

.decision-option-content p {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
}

.decision-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.feature-icon {
    font-size: 14px;
    color: #6c757d;
}

.feature-text {
    color: #495057;
}

.decision-option-footer {
    padding: 16px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.decision-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #28a745;
    transition: all 0.2s ease;
}

.decision-action.reject {
    color: #dc3545;
}

.decision-action.off-topic {
    color: #ff9800;
}

.decision-action .action-arrow {
    transition: transform 0.2s ease;
}

.decision-option:hover .decision-action {
    gap: 12px;
}

.decision-option:hover .action-arrow {
    transform: translateX(4px);
}

/* Rappel */
.decision-reminder {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: #fff3e0;
    border-radius: 12px;
    margin-top: 24px;
    border-left: 4px solid #ff9800;
}

.reminder-icon {
    font-size: 20px;
}

.reminder-text {
    font-size: 14px;
    color: #e65100;
    line-height: 1.5;
}

.reminder-text strong {
    font-weight: 700;
}

/* Responsive */
@media (max-width: 1200px) {
    .decision-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .decision-grid {
        grid-template-columns: 1fr;
    }
    
    .moderation-header {
        padding: 20px;
    }
    
    .moderation-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .suggestion-moderation-container {
        padding: 16px;
    }
    
    .decision-option-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .comment-section-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .decision-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/* Conteneur principal - Suggestion acceptée */
.suggestion-accepted-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* En-tête - Accepté */
.accepted-header {
    background: linear-gradient(135deg, #f1f8e9, #fff);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border-left: 6px solid #28a745;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.08);
}

.status-badge.accepted-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #28a745;
    color: white;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
}

.accepted-title {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #212529;
    line-height: 1.4;
}

/* Commentaire de l'auteur */
.author-comment-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(to right, #e8f4fd, #f0f9ff);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #b8e0ff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.08);
}

.comment-icon {
    width: 48px;
    height: 48px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.comment-icon-symbol {
    font-size: 24px;
    color: white;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.comment-label {
    font-size: 14px;
    font-weight: 600;
    color: #007bff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(0, 123, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.comment-author {
    font-size: 13px;
    color: #6c757d;
    background: white;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #dee2e6;
}

.comment-text {
    font-size: 16px;
    color: #212529;
    line-height: 1.6;
    font-style: italic;
    background: white;
    padding: 16px;
    border-radius: 12px;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Message de félicitations */
.congrats-message-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #d4edda, #fff);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid #c3e6cb;
}

.congrats-icon {
    font-size: 48px;
    background: #28a745;
    color: white;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(40, 167, 69, 0.2);
}

.congrats-content {
    flex: 1;
}

.congrats-content h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    color: #28a745;
}

.congrats-content p {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #212529;
}

.congrats-subtitle {
    font-size: 15px;
    color: #6c757d;
    font-style: italic;
}

/* Mini badge dans l'en-tête de la suggestion */
.header-badge {
    margin-left: auto;
}

.mini-badge.accepted {
    display: inline-block;
    padding: 4px 12px;
    background: #28a745;
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Timeline */
.timeline-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f6;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f3f5;
}

.timeline-icon {
    font-size: 24px;
    background: #e9ecef;
    padding: 8px;
    border-radius: 12px;
    color: #495057;
}

.timeline-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #212529;
}

.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    padding-left: 20px;
}

.timeline-step:not(:last-child):before {
    content: '';
    position: absolute;
    left: 30px;
    top: 40px;
    bottom: -20px;
    width: 2px;
    background: #e9ecef;
}

.step-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-step.completed .step-marker {
    background: #28a745;
    color: white;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
}

.timeline-step.active .step-marker {
    background: #007bff;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
    animation: pulse 2s infinite;
}

.timeline-step.pending .step-marker {
    background: #e9ecef;
    color: #6c757d;
    border: 2px solid #ced4da;
}

.step-icon {
    font-size: 18px;
}

.step-content {
    flex: 1;
    padding-top: 4px;
}

.step-content h4 {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.step-content p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

/* Icônes d'action supplémentaires */
.action-icon-wrapper.follow {
    background: linear-gradient(135deg, #fff3cd, #ffe69c);
    color: #856404;
}

.action-icon-wrapper.view {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
}

/* Responsive pour la timeline */
@media (max-width: 768px) {
    .author-comment-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .congrats-message-card {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-step:not(:last-child):before {
        left: 20px;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* generateSuggestionRejeteeView */
.suggestion-rejected-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* En-tête */
.rejected-header {
    background: linear-gradient(135deg, #fff5f5, #fff);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border-left: 6px solid #dc3545;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.08);
}

.header-status {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.status-badge.rejected-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #dc3545;
    color: white;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.25);
}

.badge-icon {
    font-size: 18px;
}

.suggestion-ref {
    font-size: 16px;
    font-weight: 600;
    color: #6c757d;
    background: #f8f9fa;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #e9ecef;
}

.rejected-title {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #212529;
    line-height: 1.4;
}

/* Message d'information */
.info-message-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff8e7;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 32px;
    border: 1px solid #ffe0b2;
}

.info-icon {
    font-size: 24px;
    background: #ff9800;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-content {
    flex: 1;
}

.info-content p {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #212529;
}

.info-subtitle {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Grille des contenus */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.content-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.content-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(to right, #f8f9fc, white);
    border-bottom: 1px solid #eef2f6;
}

.header-icon {
    width: 48px;
    height: 48px;
    background: #e9ecef;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icon .icon {
    font-size: 24px;
}

.header-text {
    flex: 1;
}

.header-text h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}

.header-ref {
    font-size: 13px;
    color: #6c757d;
    background: white;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #dee2e6;
}

.content-body {
    padding: 20px;
}

.iframe-container {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

.proposal-iframe,
.suggestion-iframe {
    width: 100%;
    height: 350px;
    border: none;
    background: white;
}

.proposal-card .content-header {
    border-left: 4px solid #0d6efd;
}

.suggestion-card .content-header {
    border-left: 4px solid #9c27b0;
}

/* Section d'actions */
.actions-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f6;
}

.actions-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f3f5;
}

.actions-icon {
    font-size: 24px;
    background: #e9ecef;
    padding: 8px;
    border-radius: 12px;
}

.actions-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #212529;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.action-option {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #f8f9fc;
    border-radius: 16px;
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
}

.action-option:hover {
    background: white;
    border-color: #0d6efd;
    box-shadow: 0 8px 16px rgba(13, 110, 253, 0.1);
    transform: translateY(-2px);
}

.action-option.delete:hover {
    border-color: #dc3545;
    box-shadow: 0 8px 16px rgba(220, 53, 69, 0.1);
}

.action-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.action-icon-wrapper.new {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1976d2;
}

.action-icon-wrapper.keep {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #388e3c;
}

.action-icon-wrapper.delete {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    color: #d32f2f;
}

.action-icon {
    font-size: 24px;
}

.action-details {
    flex: 1;
}

.action-details h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.action-details p {
    margin: 0 0 12px 0;
    font-size: 13px;
    color: #6c757d;
    line-height: 1.5;
}

.action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #0d6efd;
    padding: 6px 0;
    transition: all 0.2s ease;
}

.action-link.delete {
    color: #dc3545;
}

.action-link:hover .action-arrow {
    transform: translateX(4px);
}

.action-arrow {
    transition: transform 0.2s ease;
}

/* Responsive */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .header-status {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .rejected-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .suggestion-rejected-container {
        padding: 16px;
    }
    
    .action-option {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-message-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* generateValidationView */
.validation-item {
    margin-bottom: 24px;
    animation: fadeIn 0.3s ease;
}

.titre-validation {
    background: linear-gradient(135deg, #353ddc, #6ba9ff);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.9em;
    margin: 15px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;  
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Carte de validation */
.validation {
    display: block;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);

}

.validation-card {
    display: flex;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
}

.validation-card:hover {
    box-shadow: 0 12px 24px rgba(220, 53, 69, 0.12);
    transform: translateY(-2px);
    border-color: rgba(220, 53, 69, 0.2);
}

/* Bandeau latéral */
.card-sidebar {
    width: 6px;
    flex-shrink: 0;
}

.card-sidebar.rejected {
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
}

.card-sidebar.accepted {
    background: linear-gradient(135deg, #25d725, #22f044);
}

/* Contenu principal */
.card-content {
    flex: 1;
    padding: 20px;
}

/* En-tête */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Badge de statut */
.item-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    background: #dc3545;
    color: white;
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

.badge-icon {
    font-size: 14px;
}

/* ID */
.item-id {
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #e9ecef;
}

/* Date */
.item-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6c757d;
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 20px;
}

.date-icon {
    font-size: 14px;
}

/* Titre */
.item-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f3f5;
}

.title-icon {
    font-size: 20px;
    color: #6c757d;
}

.item-title h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #212529;
    line-height: 1.4;
    flex: 1;
}

/* Grille d'informations */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fc;
    border-radius: 12px;
    border: 1px solid #eef2f6;
    transition: all 0.2s ease;
}

.info-card:hover {
    background: #ffffff;
    border-color: #dc3545;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.08);
}

.info-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 18px;
}

.info-icon.draft {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1976d2;
}

.info-icon.subject {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    color: #7b1fa2;
}

.info-icon.response {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #388e3c;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 11px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 16px;
    font-weight: 700;
    color: #212529;
    margin-top: 2px;
}

/* Boîte de rejet */
.rejection-box {
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(to right, #fff5f5, #fff);
    border-radius: 12px;
    border-left: 4px solid #dc3545;
}

.rejection-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.rejection-icon {
    font-size: 16px;
}

.rejection-title {
    font-size: 13px;
    font-weight: 600;
    color: #dc3545;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rejection-message {
    font-size: 14px;
    color: #495057;
    line-height: 1.5;
    padding-left: 24px;
    font-style: italic;
}

/* Pied de carte */
.card-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e9ecef;
    display: flex;
    justify-content: flex-end;
}

.view-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #dc3545;
    background: rgba(220, 53, 69, 0.08);
    border-radius: 30px;
    transition: all 0.2s ease;
}

.view-action:hover {
    background: #dc3545;
    color: white;
    gap: 12px;
}

.action-arrow {
    transition: transform 0.2s ease;
}

.view-action:hover .action-arrow {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .card-content {
        padding: 16px;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .item-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Bandeau latéral - À modérer */
.card-sidebar.moderate {
    background: linear-gradient(135deg, #9c27b0, #ba68c8);
}

/* Badge - À modérer */
.item-badge.moderate {
    background: #9c27b0;
    color: white;
    box-shadow: 0 2px 6px rgba(156, 39, 176, 0.3);
}

.item-badge.accepted {
    background: #0ceb40;
    color: white;
    box-shadow: 0 2px 6px rgba(156, 39, 176, 0.3);
}

/* Animation au survol pour les cartes à modérer */
.validation-card.moderate-card:hover {
    box-shadow: 0 12px 24px rgba(156, 39, 176, 0.15);
    border-color: rgba(156, 39, 176, 0.2);
}

/* Informations de modération */
.moderation-info {
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(to right, #f3e5f5, #fff);
    border-radius: 12px;
    border-left: 4px solid #9c27b0;
}

.moderation-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.moderation-row:last-child {
    margin-bottom: 0;
}

.moderation-icon {
    font-size: 16px;
    color: #7b1fa2;
    min-width: 24px;
}

.moderation-label {
    font-size: 13px;
    color: #6c757d;
    min-width: 100px;
}

.moderation-value {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    background: white;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Actions de modération */
.moderation-actions {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.moderation-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff3e0;
    border-radius: 30px;
    font-size: 13px;
    color: #e65100;
    flex: 1;
}

.tip-icon {
    font-size: 16px;
}

/* Action spécifique pour "À modérer" */
.view-action.moderate {
    color: #9c27b0;
    background: rgba(156, 39, 176, 0.12);
}

.view-action.moderate:hover {
    background: #9c27b0;
    color: white;
}

/* Responsive pour les sections de modération */
@media (max-width: 768px) {
    .moderation-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .moderation-label {
        min-width: auto;
    }
    
    .moderation-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .moderation-tip {
        justify-content: center;
    }
}
/* fin section generateValidationView */

.btn-agora {
    color: #ffffff;
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-size: 17px;
    line-height: 20.4px;
    text-decoration-line: none;
    border-radius: 8px;
    margin: 5px;
    padding: 14px 30px;
    background: #2a5ee4;
}

.status-message {
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
    color: #ffffff;
    font-weight: bold;
    transition: all 0.3s ease;
}

.status-message.success {
    background-color: #28a745; /* Vert */
}

.status-message.error {
    background-color: #dc3545; /* Rouge */
}

#boutonPublier:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    opacity: 0.6;
}

.supprimer-btn {
    cursor: pointer;
    border: 1px solid grey;
    background: lightblue;
    align-items: center;
    padding: 5px;
    max-width: fit-content;
    max-height: fit-content;
    border-radius: 15px;
    margin-left: 5px;
    margin-right: 5px;
}

.publier-btn {
    cursor: pointer;
    border: 1px solid grey;
    border-radius: 15px;
    background: lightsalmon;
    align-items: center;
    padding: 5px;
    max-width: fit-content;
    max-height: fit-content;
    margin-left: 5px;
    margin-right: 5px;
}

.modifier-btn {
    cursor: pointer;
    border: 1px solid grey;
    border-radius: 15px;
    background: lightgreen;
    align-items: center;
    padding: 5px;
    max-width: fit-content;
    max-height: fit-content;
    margin-left: 5px;
    margin-right: 5px;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb .crumb {
    cursor: pointer;
    color: #4a5568;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 25px 6px 15px;
    background-color: #f7fafc;
    border: 1px solid #e2e8f0;
    position: relative;
    transition: background-color 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    height: 32px;
    margin-right: 20px;
}

/* Création des flèches avec clip-path (plus moderne) */
.breadcrumb .crumb:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -12px;
    top: -1px;
    width: 24px;
    height: 32px;
    background-color: #f7fafc;
    border-top: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transform: rotate(180deg);
    z-index: 2;
    transition: background-color 0.2s ease;
}

.breadcrumb .crumb::before {
    content: '';
    position: absolute;
    right: -13px;
    top: -1px;
    width: 26px;
    height: 32px;
    background-color: inherit;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transform: rotate(180deg);
    z-index: 1;
}

/* Dernier élément (page actuelle) */
.breadcrumb .crumb:last-child {
    background-color: #4299e1;
    color: white;
    border-color: #3182ce;
    margin-right: 0;
}

/* Hover effect */
.breadcrumb .crumb:hover {
    background-color: #4299e1;
    color: white;
}

.breadcrumb .crumb:hover::after {
    background-color: #4299e1;
}

/* Les séparateurs ">" */
.breadcrumb span:not(.crumb) {
    color: #a0aec0;
    margin: 0 8px 0 -12px;
    z-index: 3;
    position: relative;
}

body {
    margin: 0;
    padding: 10px;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

header {
    display: flex;
    align-items: center;
    background: white;
    padding: 2px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 5px;
    justify-content: space-between;
}

.logo-container {
    flex: 0 0 20%;
    padding-right: 10px;
    border-right: 1px solid #e0e0e0;
}

.logo {
    width: 100%;
    max-width: 350px;
}

.logo img {
    width: 80%;
    height: auto;
    display: block;
}

.gallerie-icones {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
}

.content-header {
    background: white;
    padding: 2px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    /* min-height: 500px; */
}

.icone-menu {
    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2px;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative; */
    max-width: 50px;
}

.icone-menu img {
    width: 50px;
}

.icone-orga img {
    width: 300px;
}

.icone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2px;
    border-radius: 12px;
    /* transition: all 0.3s ease; */
    cursor: pointer;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
}

.icone-fixe {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;    
}

.icone:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.icone img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.icone-fixe img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.icone span {
    font-size: 12px;
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}

.icone-menu span {
    font-size: 12px;
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}

.badge {
    position: absolute;
    top: 0px;
    right: 25px;
    background: #dc3545;
    color: white;
    border-radius: 4%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    padding-top: 4px;
}

.badge-prod {
    position: relative;
    top: 0px;
    right: 0px;
    background: #dc3545;
    color: white;
    border-radius: 4%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.badge-menu {
    position: relative;
    top: 38px;
    right: 0px;
    background: #dc3545;
    color: white;
    border-radius: 4%;
    width: 24px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Fil d'actu défilant */
.fil-actu-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 5px;
    overflow: hidden;
    position: relative;
}

.fil-actu-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 4px 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.fil-actu-header h2 {
    margin: 0;
    font-size: 1.2em;
}

.live-indicator {
    background: #dc3545;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.question-form-container {
    max-width: 800px;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.question-form .form-group {
    margin-bottom: 20px;
}

.question-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Pour le timer du changement de mot de passe  */
.timer-container {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.timer {
    font-size: 2.5em;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    margin-bottom: 5px;
    /* transition: all 0.3s ease; */
}

.time {
    display: inline-block;
    min-width: 40px;
    text-align: center;
}

.timer-label {
    font-size: 0.9em;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animation de pulsation pour les dernières minutes */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive */


.input-email {
    width: 50%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.input-passwd {
    width: 50%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.form-passwd {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.message {
    text-align: center;
}

.form-email {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.password-strength {
            margin-top: 5px;
            height: 10px;
            border-radius: 5px;
            background-color: #053668;
            overflow: hidden;
        }

.password-strength-bar {
    height: 100%;
    width: 100%;
    transition: width 0.3s, background-color 0.3s;
}

.password-strength-weak {
    background-color: var(--error-color);
    width: 33%;
}

.password-strength-medium {
    background-color: var(--warning-color);
    width: 66%;
}

.password-strength-strong {
    background-color: var(--success-color);
    width: 100%;
}

.question-form input[type="text"],
.question-form input[type="url"],
.question-form select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.question-form .char-count {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.reponse-form-container {
    max-width: 800px;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.reponse-form .form-group {
    margin-bottom: 20px;
}

.reponse-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.reponse-form input[type="text"],
.reponse-form input[type="url"],
.reponse-form select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.reponse-form .char-count {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-save {
    background-color: #6c757d;
    color: white;
}

.btn-publish {
    background-color: #007bff;
    color: white;
}

.btn:hover {
    opacity: 0.8;
}

.btn-cadre {
    padding: 4px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 5px;
    margin-top: 5px; 
    background-color: #b30000;  
    text-align: center;
    color: ivory;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-cadre-question {
    padding: 4px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-color: #b30000;  
    text-align: center;
    color: ivory;
    text-align: center;
}

.btn-cadre-statut {
    padding: 6px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-color: #b30000;  
    text-align: center;
    color: ivory;
    text-align: center;
    text-transform: uppercase;
}

.btn-creation {
    font-size: 0.8em;
    padding: 4px 4px;
    border-radius: 12px;
    font-weight: 600;
    background-color: #4299e1;
    color: ivory; 
    width: 100px;
    text-align: center;   
    margin-top: 2px;
}

.actu-time {
    font-size: 0.8em;
    padding: 4px 4px;
    border-radius: 12px;
    margin-right: 5px;
    font-weight: 600;
    background-color: #0056b3;
    color: ivory;
}

.actu-statut-admission {
    background: #008ffc;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.9em;
    margin-right: 5px;
    font-weight: 600;
    width: fit-content;
    text-transform: uppercase;
    align-content: center;
    height: fit-content;
}

.actu-statut-discussion {
    background: #fc7800;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.9em;
    margin-right: 5px;
    font-weight: 600;
    width: fit-content;
    text-transform: uppercase;
    align-content: center;
    height: fit-content;
}

.actu-statut-voting {
    background: #00fc50;
    color: rgb(23, 21, 21);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.9em;
    margin-right: 5px;
    font-weight: 600;
    width: fit-content;
    text-transform: uppercase;
    align-content: center;
    height: fit-content;    
}

.actu-statut-verification {
    background: #664392;
    color: rgb(251, 254, 254);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.9em;
    margin-right: 5px;
    font-weight: 600;
    width: fit-content;
    text-transform: uppercase;
    align-content: center;
    height: fit-content;    
}

.actu-statut-finished_without_winner {
    background: #0d031a;
    color: rgb(251, 254, 254);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.9em;
    margin-right: 5px;
    font-weight: 600;
    width: fit-content;
    text-transform: uppercase;
    align-content: center;
    height: fit-content;    
}

.actu-statut-canceled_question_not_accepted {
    background: #0d031a;
    color: rgb(251, 254, 254);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.9em;
    margin-right: 5px;
    font-weight: 600;
    width: fit-content;
    text-transform: uppercase;
    align-content: center;
    height: fit-content;    
}

.actu-statut-finished_with_winner {
    background: #09cc06;
    color: rgb(255, 255, 255);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.9em;
    margin-right: 5px;
    font-weight: 600;
    width: fit-content;
    text-transform: uppercase;
    align-content: center;
    height: fit-content;    
}

.vote-link {
    color: #1c1f1d !important;
    font-weight: 600 !important;
    border: 2px solid #4CAF50 !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    cursor: pointer;

    background: rgb(111, 237, 79);
    align-items: center;
    padding: 5px;
    max-width: fit-content;
    max-height: fit-content;
    border-radius: 15px;
    margin-left: 5px;
    margin-right: 5px;
}

.vote-link:hover {
    background-color: #4CAF50 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3) !important;
}

#fil-actu-wrapper {
  position: relative;
  overflow-x: auto; /* permet le scroll manuel horizontal */
  white-space: nowrap; /* force les éléments sur une seule ligne */
  width: 100%;
  height: 50px;
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
}

/* Style des items */
.fil-actu-content {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 0 25px;
  animation: defilement 60s linear infinite;
}

.actu-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 50px;
  white-space: nowrap;
  font-size: 1.1em;
  font-family: Arial, sans-serif;
}

.actu-doc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 50px;
  font-size: 1.1em;
  font-family: Arial, sans-serif;
}

.sujet-content {
    display: flex;
    flex-direction: column;
    padding: 5px;
    flex-wrap: wrap;
    border-bottom: 1px solid sandybrown;
}

.sujet-item {
    display: flex;
    justify-content: space-evenly;
    justify-items: center;
    flex-wrap: wrap;
    padding-top: 2px;
    padding-bottom: 2px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 5px;
}

.sujet-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


.doc-item {
    display: flex;
    justify-items: center;
    flex-wrap: wrap;
    padding-top: 2px;
    padding-bottom: 2px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 5px;
}

.sujet-titre {
    display: flex;
    justify-content: space-evenly;
    justify-items: center;
    padding-top: 2px;
    padding-bottom: 2px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);

}

.question-titre, .reponse-titre {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.titre-content {
    background: #007bff;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.9em;
    margin-right: 15px;
    font-weight: 600;    
}

.sujet-info-left {
    flex-direction: row;

}

.domaine-titre{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.domaine-titre-left {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: -webkit-fill-available;
}

.domaine-stats-right{
    display: grid;
    gap: 5px;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);    
}

.question-titre-left {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: -webkit-fill-available;
}

.question-info-left, .reponse-info-left {
    flex: 1;
    flex-direction: column;
}

.question-info-left-owner {
    flex: 1;
    flex-direction: column;
    border: 5px groove #f39c12;
    border-radius: 15px;
}

.reponse-info-left-owner {
    flex: 1;
    flex-direction: column;
    border: 5px solid #f39c12;
    border-radius: 15px;
}

.sujet-stats-right, .question-stats-right, .reponse-stats-right {
    display: grid;
    gap: 5px;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9em;
    color: #666;
    cursor: default;
    margin-left: 5px;
}

.stat-item[onclick] {
    cursor: pointer;
}

.actu-owner {
    display: inline;
    font-weight: bold;
    font-size: 1.1em;
    padding: 5px;
    color: #333;
}

.actu-evenement {
    display: flex;
    flex-wrap: wrap;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;
    color: #333;
}

.actu-evenement-fil {
    font-size: 1em;
    color: #333;
}

.actu-titre-evenement {
    font-weight: bold;
    font-size: 1.2em;
    margin: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    justify-items: center;
    /* background-color: #fc7800; */
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    width: 98%;
    /* height: -webkit-fill-available; */
    border: 3px solid green;
}

.actu-titre-evenement:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 3px solid rgb(4, 213, 4);
}

.actu-espace {
    width: fit-content;
    align-items: center;
    border: 1px solid #ffa726;
    font-size: 1.2em;
    margin: 0 auto 20px auto;
    background: #fff3e0;
    color: #bf360c;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 167, 38, 0.2);
    padding: 14px 32px;
    font-weight: 500;
    text-align: center;
    position: relative;
}

.actu-espace::before,
.actu-espace::after {
    content: '◆';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ff9800;
    font-size: 0.8em;
}

.actu-espace::before {
    left: 15px;
}

.actu-espace::after {
    right: 15px;
}

.actu-groupe {
    display: flex;
    justify-content: space-between;
    border-bottom: groove;
    background-color: beige;
}

.actu-btn {
    display: flex;
    justify-content: end;
}

.actu-member {
    display: flex;
    font-style: italic;
    margin-left: 5px;
    padding-left: 5px;
    padding-right: 10px;    
    margin-top: 5px;
}

.actu-fichier {
    display: flex;
    margin-left: 5px;
    padding-left: 5px;
    padding-right: 10px;    
    margin-top: 5px;
    align-items: center;
}

.actu-fichier-titre{
    text-align: center;
    font-weight: 600;
}

.actu-fichier-action{
    text-align: right;
    font-weight: 600;
}

/* Icônes de base */
.icon-doc, .icon-link, .icon-quest, .icon-member, 
.icon-rep, .icon-interest, .icon-subscribed, .icon-follow {
    font-style: normal;
    margin-left: 5px;
}

/* Animation du défilement automatique */
@keyframes defilement {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* défile sur la moitié (puis recommence) */
}

/* Contenu principal - PC: 30% sidebar / 70% contenu */
.main-content {
    display: grid;
    grid-template-columns: 25% 75%;
    gap: 5px;
}

/* .main-content {
    display: flex;
    gap: 5px;
} */

sidebar {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.content-main {
    background: white;
    padding: 5px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    /* min-height: 500px; */
}

/* Styles pour la section nouveautés */
.nouveautes-section {
    margin: 10px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.article-card {
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e8ed;
    /* transition: all 0.3s ease; */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.titre-info {
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e8ed;
    /* transition: all 0.3s ease; */
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 10px;
    text-align: justify;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.article-header {
    margin-bottom: 5px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 5px;
}

.article-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.article-date {
    font-size: 0.85em;
    color: #7f8c8d;
    font-weight: 500;
}

.article-content {
    flex: 1;
    margin-bottom: 5px;
}

.article-content p {
    color: #5d6d7e;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0;
    /* display: -webkit-box; */
    /* -webkit-box-orient: vertical; */
    overflow: hidden;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.article-category {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
}

.article-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
}

.article-btn:hover {
    background: #2980b9;
}

/* Responsive */

footer {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    margin-top: 25px;
}

/* Responsive */

/* Ajout pour profil */

    .user-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--secondary-color);
        margin: 0 auto 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
    }

.form-container {
        padding: 5px;
    }

.form-section {
        margin-bottom: 10px;
        border: 1px solid grey;
        border-radius: 8px;
        overflow: hidden;
    }

.section-header {
        padding: 5px 10px;
        border-bottom: 1px solid grey;
        font-weight: 600;
        color: var(--primary-color);
        display: flex;
        align-items: center;
    }

.section-header i {
        margin-right: 5px;
        font-size: 1.2rem;
    }

.form-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 10px;
        padding: 10px;
    }

.form-group {
        margin-bottom: 5px;
    }

label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: #555;
    }

.form-control {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #4a6fa5;
        border-radius: 6px;
        background-color: #f8f9fa;
        font-size: 1rem;
        transition: all 0.3s;
    }

.form-control:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.2);
        background-color: white;
    }

.status-badge {
        display: inline-block;
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 500;
    }

.status-active {
        background-color: rgba(40, 167, 69, 0.1);
        color: var(--success-color);
    }

.status-inactive {
        background-color: rgba(220, 53, 69, 0.1);
        color: #dc3545;
    }

.checkbox-group {
        display: flex;
        align-items: center;
    }

.checkbox-group input {
        margin-right: 5px;
    }

.form-actions {
        display: flex;
        justify-content: flex-end;
        gap: 5px;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #4a6fa5;
    }

.btn {
        padding: 6px 15px;
        border: none;
        border-radius: 6px;
        font-size: 1rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s;
    }

.btn-primary {
        background-color: var(--primary-color);
        color: white;
    }

.btn-primary:hover {
        background-color: #3a5a8a;
    }

.btn-secondary {
        background-color: #6c757d;
        color: white;
    }

.btn-secondary:hover {
        background-color: #5a6268;
    }

.empty-field {
        color: #999;
        font-style: italic;
    }

/* Ajout pour le vote  */
    .reponse-item.dragging {
        opacity: 0.5;
    }

.reponse-item.drop-before {
        border-top: 2px solid #007bff;
        margin-top: 2px;
    }

.reponse-item.drop-after {
        border-bottom: 2px solid #007bff;
        margin-bottom: 2px;
    }

.drag-over {
        background-color: rgba(0, 123, 255, 0.1);
        border: 2px dashed #007bff;
    }

.vote-container {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        background: white;
        border: 2px solid #333;
        border-radius: 10px;
        z-index: 1000;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        display: flex;
        flex-direction: column;
    }

.vote-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background: #f5f5f5;
        border-bottom: 1px solid #ddd;
    }

.close-vote-btn {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        padding: 0;
        width: 30px;
        height: 30px;
    }

.vote-content {
        display: flex;
        flex: 1;
        padding: 20px;
        gap: 20px;
    }

.reponses-list {
        flex: 1;
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 15px;
    }

.reponses-list h3 {
        margin-top: 0;
    }

.reponses-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
        min-height: 200px;
    }

.vote-areas {
        flex: 2;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

.vote-positive, .vote-negative {
        flex: 1;
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 15px;
    }

.vote-positive {
        border-color: #4CAF50;
    }

.vote-negative {
        border-color: #f44336;
    }

.vote-container-area {
        min-height: 150px;
        border: 2px dashed #ccc;
        border-radius: 5px;
        padding: 10px;
        /* transition: all 0.3s ease; */
    }

.drag-over {
        border-color: #2196F3;
        background-color: #f0f8ff;
    }

.reponse-item {
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        background: white;
        cursor: move;
        /* transition: all 0.3s ease; */
    }

.reponse-item:hover {
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

.reponse-item.dragging {
        opacity: 0.5;
    }

.reponse-content {
        font-weight: bold;
        margin-bottom: 5px;
    }

.reponse-title {
        font-size: 0.9em;
        color: #666;
    }

.vote-actions {
        padding: 15px 20px;
        background: #f5f5f5;
        border-top: 1px solid #ddd;
        display: flex;
        gap: 10px;
        justify-content: flex-end;
    }

.validate-vote-btn, .cancel-vote-btn {
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-weight: bold;
    }

.validate-vote-btn {
        background: #4CAF50;
        color: white;
    }

.cancel-vote-btn {
        background: #f44336;
        color: white;
    }

/* Ajout pour le menu admin  */
.admin-menu {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 300px;
    margin-left: 25%;
}

.admin-menu h3 {
    margin: 0 0 15px 0;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    padding: 12px 15px;
    margin: 5px 0;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    cursor: pointer;
    /* transition: all 0.3s ease; */
}

.menu-item:hover {
    background-color: #007bff;
    color: white;
    transform: translateX(5px);
}

.menu-item.active {
    background-color: #007bff;
    color: white;
    border-color: #0056b3;
}

/* Ajout pour le menu admin SCENARIO */

.scenarios-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.scenario-header {
    background: #2c3e50;
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.filters {
    background: #ecf0f1;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-weight: bold;
    font-size: 12px;
    color: #7f8c8d;
}

.filter-group select {
    padding: 8px;
    border: 1px solid #bdc3c7;
    border-radius: 4px;
    background: white;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.scenario-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.scenario-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.scenario-header-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ecf0f1;
}

.scenario-id {
    background: #3498db;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.scenario-type {
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.scenario-type.troll { background: #e67e22; }
.scenario-type.illegal { background: #c0392b; }
.scenario-type.rumeur { background: #8e44ad; }

.scenario-status {
    background: #27ae60;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.scenario-status.confirme { background: #27ae60; }
.scenario-status.attente { background: #f39c12; }
.scenario-status.infirme { background: #e74c3c; }

.scenario-motif {
    font-weight: bold;
    margin: 10px 0;
    color: #2c3e50;
    font-size: 14px;
}

.punishments {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}

.punishment-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #dee2e6;
}

.punishment-level:last-child {
    border-bottom: none;
}

.punishment-name {
    font-weight: bold;
    color: #495057;
    font-size: 12px;
}

.punishment-days {
    background: #6c757d;
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 11px;
}

.punishment-verrou { background: #dc3545; }
.punishment-readonly { background: #fd7e14; }

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    font-size: 14px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.stat-label {
    font-size: 12px;
    color: #7f8c8d;
}

/***************************** Formulaire de recherche ***************************/
.form-recherche {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-fichier {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px groove gray;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-valider {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.btn-valider:hover {
    background: #0056b3;
}

.btn-reset {
    background: #6c757d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.btn-reset:hover {
    background: #545b62;
}

.resultat-requete {
    background: #e9ecef;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
}

.resultat-requete code {
    background: white;
    padding: 10px;
    border-radius: 4px;
    display: block;
    white-space: pre-wrap;
    word-break: break-all;
}

/*********************** Gestion des signalements **********************/
.signalement-table {
    width: 50%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.signalement-table th {
    background-color: #3498db;
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.signalement-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
}

.signalement-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.signalement-table tr:hover {
    background-color: #e8f4fc;
}

.badge {
    display: inline-block;
    padding-top: 4px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.badge-troll {
    background-color: #d6ed23;
    padding-top: 4px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: rgb(233, 28, 28);
}

.badge-rumeur {
    background-color: #f39c12;
    padding-top: 4px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

.badge-spam {
    background-color: #f236cc;
    padding-top: 4px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

.badge-illegal {
    background-color: #c0392b;
    padding-top: 4px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

.badge-attente {
    background-color: #f39c12;
    padding-top: 4px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

.badge-confirme {
    background-color: #27ae60;
    padding-top: 4px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

.badge-infirme {
    background-color: #7f8c8d;
    padding-top: 4px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

.action-buttons {
    display: flex;
    gap: 5px;
}

.btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s;
}

.btn-edit {
    background-color: #3498db;
    color: white;
}

.btn-delete {
    background-color: #e74c3c;
    color: white;
}

.btn:hover {
    opacity: 0.9;
}

.explication {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.explication:hover {
    white-space: normal;
    overflow: visible;
}

.menu-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    background: linear-gradient(to right, #2c3e50, #4a6491);
    padding: 0 20px;
    border-bottom: 3px solid #3498db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.icone-menu {
    width: 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 5px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.icone-menu:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.icone-menu img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-bottom: 8px;
    filter: none;
}

.icone-menu span {
    color: white;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.icone-orga {
    width: 300px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.icone-orga img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* Style spécifique pour le logout */
#logout {
    background: rgba(231, 76, 60, 0.2);
}

#logout:hover {
    background: rgba(231, 76, 60, 0.4);
}

/* Responsive pour les petits écrans */


/* Animation pour les icônes */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.icone-menu:active {
    animation: pulse 0.2s ease;
}

/* Amélioration de l'accessibilité */
.icone-menu:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Séparateurs optionnels entre les icônes */
.icone-menu:not(:last-child) {
    margin-right: 5px;
}

.icone-orga {
    margin: 0 20px;
}

/**************************** Liste des abonnements aux sujet generateAbonnementSujet ********************/
.sujet-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

/* Carte sujet */
.sujet-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
    /* cursor: pointer; */
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
}

.sujet-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

/* En-tête de la carte */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f2f5;
}

.sujet-path {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.theme-name {
    color: #6c757d;
    font-weight: 500;
}

.separator {
    color: #adb5bd;
    margin: 0 6px;
}

.sujet-name {
    color: #343a40;
    font-weight: 600;
    display: block;
    margin-top: 4px;
    font-size: 16px;
}

/* Statut abonnement */
.abonnement-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin-left: 10px;
}

.abonnement-status.subscribed {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

.abonnement-status.not-subscribed {
    background: linear-gradient(135deg, #6c757d, #adb5bd);
    color: white;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.2);
}

.abonnement-status:hover {
    transform: scale(1.05);
}

/* Description */
.card-description {
    flex: 1;
    margin-bottom: 20px;
    font-size: 14px;
    color: #495057;
    line-height: 1.5;
    /* display: -webkit-box; */
    /* -webkit-box-orient: vertical; */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Statistiques */
.card-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: auto;
}

.stat-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.stat-item:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.stat-item[onclick]:hover {
    cursor: pointer;
    background: #e3f2fd;
    border-color: #007bff;
}

.stat-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    background: white;
    border-radius: 6px;
    padding: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stat-icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    font-weight: 600;
}

/* Responsive */

/**************************** Liste des intérêts aux questions generateInteretQuestion ********************/
.questions-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

/* Carte question */
.question-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
    /* cursor: pointer; */
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px;
    position: relative;
}

.question-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

/* En-tête */
.question-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f2f5;
}

.question-meta {
    flex: 1;
}

.question-author {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.author-icon {
    font-size: 14px;
    margin-right: 6px;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

.question-id {
    font-size: 12px;
    color: #6c757d;
    font-family: monospace;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* Statut */
.question-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    margin-left: 10px;
}

.status-0 {
    background: linear-gradient(135deg, #6c757d, #adb5bd);
    color: white;
}

.status-1 {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: #212529;
}

.status-2 {
    background: linear-gradient(135deg, #17a2b8, #20c997);
    color: white;
}

.status-3 {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.status-4 {
    background: linear-gradient(135deg, #007bff, #6610f2);
    color: white;
}

.status-5 {
    background: linear-gradient(135deg, #6f42c1, #e83e8c);
    color: white;
}

/* Contenu */
.question-content {
    flex: 1;
    margin-bottom: 20px;
}

.question-title {
    font-size: 16px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
    line-height: 1.4;
    /* display: -webkit-box; */
    /* -webkit-line-clamp: 2; */
    /* -webkit-box-orient: vertical; */
    overflow: hidden;
    text-overflow: ellipsis;
}

.question-description {
    font-size: 14px;
    color: #495057;
    line-height: 1.5;
    /* display: -webkit-box; */
    /* -webkit-line-clamp: 3; */
    /* -webkit-box-orient: vertical; */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Actions */
.question-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-action {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f8f9fa;
    color: #495057;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-delete:hover {
    background: #dc3545;
    color: white;
}

.btn-edit:hover {
    background: #007bff;
    color: white;
}

.btn-publish:hover {
    background: #28a745;
    color: white;
}

.btn-icon {
    font-size: 14px;
}

.btn-text {
    white-space: nowrap;
}

/* Statistiques */
.question-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: auto;
}

/* Styles communs avec les cartes sujet */
.stat-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

/* Responsive */

/**************************** Liste des supports aux réponses generateSupporterReponse ********************/
/* Conteneur réponses */
.reponses-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

/* Carte réponse */
.reponse-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
}

.reponse-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.error-card {
    border-color: #dc3545;
    background: linear-gradient(135deg, #fff5f5, #ffffff);
}

.error-card:hover {
    border-color: #dc3545;
}

/* En-tête */
.reponse-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f2f5;
}

.reponse-title-section {
    flex: 1;
}

.reponse-title {
    font-size: 16px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 8px;
    line-height: 1.4;
    /* display: -webkit-box; */
    /* -webkit-line-clamp: 2; */
    /* -webkit-box-orient: vertical; */
    overflow: hidden;
    text-overflow: ellipsis;
}

.reponse-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.reponse-id {
    font-size: 12px;
    color: #6c757d;
    font-family: monospace;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 4px;
}

.publication-status {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 12px;
}

.publication-status.published {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.publication-status.draft {
    background: linear-gradient(135deg, #6c757d, #adb5bd);
    color: white;
}

/* Lien brouillon */
.draft-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    margin-left: 10px;
}

.draft-link:hover {
    background: #e3f2fd;
    border-color: #007bff;
    transform: translateY(-2px);
}

.draft-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.draft-text {
    font-size: 11px;
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
}

/* Contenu */
.reponse-content {
    flex: 1;
    margin-bottom: 15px;
}

.reponse-description {
    font-size: 14px;
    color: #495057;
    line-height: 1.5;
    /* display: -webkit-box; */
    /* -webkit-line-clamp: 3; */
    /* -webkit-box-orient: vertical; */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dates */
.reponse-dates {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f2f5;
}

.date-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.date-label {
    color: #6c757d;
    font-weight: 600;
    min-width: 70px;
}

.date-value {
    color: #495057;
    font-family: monospace;
}

/* Signalements */
.reponse-signalements {
    margin-right: 15px;
    border-bottom: 1px solid #f0f2f5;
}

.signalements-title {
    font-size: 12px;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.signalements-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    width: fit-content;
}

.signalement-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    min-width: 60px;
}

.signalement-item.active {
    background: #fff5f5;
    border: 1px solid #ff6b6b;
}

.signalement-item.inactive {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    opacity: 0.6;
}

.signalement-icon {
    font-size: 18px;
}

.signalement-item.active .signalement-icon {
    filter: drop-shadow(0 2px 4px rgba(255, 107, 107, 0.3));
}

.signalement-label {
    font-size: 10px;
    color: #495057;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.signalement-item.active .signalement-label {
    color: #dc3545;
}

/* IDs */
.reponse-ids {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f2f5;
}

.id-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.id-label {
    color: #6c757d;
    font-weight: 600;
}

.id-value {
    color: #495057;
    font-family: monospace;
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Statistiques (mêmes classes que précédemment) */
.reponse-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: auto;
}

/* Carte pas de données */
.no-data-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px dashed #dee2e6;
    text-align: center;
    grid-column: 1 / -1;
}

.no-data-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.no-data-title {
    font-size: 18px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 8px;
}

.no-data-message {
    font-size: 14px;
    color: #adb5bd;
}

.error-message {
    color: #dc3545;
    font-style: italic;
}

/* Responsive */

/* Display Vote en cours */

.votes-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.statut-vote-todo{
    font-weight: 600;
    text-align: center;
    width: 80px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    background: rgb(247, 66, 66);
    border-radius: 6px;
    padding: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.statut-vote-done{
    font-weight: 600;
    text-align: center;
    width: 80px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    background: rgb(37, 214, 10);
    border-radius: 6px;
    padding: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Mes opinions*/
/* ========== OPINIONS - STYLES ========== */

/* Header */
.opinion-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.opinion-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.opinion-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
}

/* Container */
.opinion-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Opinion Card */
.opinion-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
}

.opinion-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Card Header */
.opinion-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

/* Badges */
.opinion-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.opinion-badge-indispensable {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.opinion-badge-acceptable {
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
    color: white;
}

.opinion-badge-discutable {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: #212529;
}

.opinion-badge-inadmissible {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    color: white;
}

.opinion-status {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.opinion-fulfilled {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.opinion-pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Card Body */
.opinion-card-body {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.opinion-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
}

.opinion-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.opinion-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #dee2e6;
}

.opinion-item:last-child {
    border-bottom: none;
}

.opinion-item-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.opinion-item-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    font-family: 'Courier New', monospace;
}

.opinion-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: right;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Card Footer */
.opinion-card-footer {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Buttons */
.opinion-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.opinion-btn-edit {
    background: #6c757d;
    color: white;
}

.opinion-btn-edit:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.opinion-btn-details {
    background: #007bff;
    color: white;
}

.opinion-btn-details:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.opinion-btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

.opinion-btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
}

/* Empty State */
.opinion-empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.opinion-empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.opinion-empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.opinion-empty-text {
    color: #6c757d;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Summary & Filters */
.opinion-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 2px solid #e9ecef;
    margin-top: 1rem;
}

.opinion-count {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 600;
}

.opinion-filters {
    display: flex;
    gap: 0.5rem;
}

.opinion-filter-btn {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    border: 1px solid #dee2e6;
    background: white;
    color: #495057;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.opinion-filter-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.opinion-filter-btn.active {
    background: #007bff;
    color: white;
    border-color: #3300ff;
}

/* Responsive */


/* Animation pour l'apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

to {
        opacity: 1;
        transform: translateY(0);
    }

}

.opinion-card {
    animation: fadeInUp 0.4s ease-out;
}

.main-content {
    display: flex;
    min-height: 100vh;
    transition: all 0.3s ease;
}

/* Sidebar par défaut */
sidebar {
    width: 250px; /* Largeur par défaut */
    min-width: 250px;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

/* Quand la sidebar est réduite */
sidebar.sidebar-collapsed {
    width: 50px !important;
    min-width: 50px !important;
}

/* Contenu principal qui s'adapte */
#content-main {
    flex: 1; /* Prend tout l'espace restant */
    transition: all 0.3s ease;
    padding: 20px;
    overflow-x: hidden;
}

/* Quand sidebar est réduite, on peut agrandir le padding si besoin */
sidebar.sidebar-collapsed ~ #content-main {
    margin-left: 0;
}

/* Nouveau design pour Mes demandes */

.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eaeaea;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.page-subtitle {
    color: #7f8c8d;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.questions-container {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
}

.question-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
    overflow: hidden;
}

.question-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.question-card-owner {
    border-left: 4px solid #3498db;
}

.question-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem 1.25rem 0.75rem;
    background: #f8f9fa;
}

.question-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.question-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar {
    background: #e3f2fd;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.author-name {
    font-weight: 500;
    color: #2c3e50;
}

.question-uid {
    font-size: 0.75rem;
    color: #7f8c8d;
    background: #f1f3f4;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', monospace;
}

.question-status {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* Classes de statut */
.status-draft {
    background: #fef3c7;
    color: #92400e;
}

.status-draft .status-dot {
    background: #f59e0b;
}

.status-pending {
    background: #e0e7ff;
    color: #3730a3;
}

.status-pending .status-dot {
    background: #4f46e5;
}

.status-active {
    background: #d1fae5;
    color: #065f46;
}

.status-active .status-dot {
    background: #10b981;
}

.status-closed {
    background: #f3f4f6;
    color: #374151;
}

.status-closed .status-dot {
    background: #6b7280;
}

.status-archived {
    background: #fce7f3;
    color: #831843;
}

.status-archived .status-dot {
    background: #db2777;
}

.status-default {
    background: #f3f4f6;
    color: #374151;
}

.status-default .status-dot {
    background: #6b7280;
}

.question-card-body {
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.question-card-body:hover {
    background-color: #fafbfc;
}

.question-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.question-description {
    color: #4a5568;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    /* display: -webkit-box; */
    /* -webkit-line-clamp: 2; */
    /* -webkit-box-orient: vertical; */
    overflow: hidden;
}

.question-card-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid #eaeaea;
    background: #fafbfc;
}

/* .question-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
} */

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.stat-item:hover {
    background-color: #edf2f7;
}

.stat-icon {
    font-size: 1.25rem;
}

.stat-count {
    font-weight: 600;
    font-size: 1rem;
    color: #2d3748;
}

.stat-label {
    font-size: 0.75rem;
    color: #718096;
}

.question-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
}

.btn-icon {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    transform: scale(1.1);
}

.btn-danger {
    color: #dc2626;
    background: #fee2e2;
}

.btn-danger:hover {
    background: #fecaca;
}

.btn-warning {
    color: #d97706;
    background: #fef3c7;
}

.btn-warning:hover {
    background: #fde68a;
}

.btn-success {
    color: #059669;
    background: #d1fae5;
}

.btn-success:hover {
    background: #a7f3d0;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
}

.empty-state p {
    color: #718096;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background: #2980b9;
}

/* Responsive */


/* Styles spécifiques aux suggestions */
.suggestion-type {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.type-proposition {
    background: #e0e7ff;
    color: #3730a3;
}

.type-demande {
    background: #fce7f3;
    color: #831843;
}

.type-generale {
    background: #f3f4f6;
    color: #374151;
}

.suggestion-refs {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin: 1rem 0;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
}

.ref-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ref-label {
    font-weight: 500;
    color: #4b5563;
    font-size: 0.875rem;
}

.ref-value {
    font-weight: 600;
    color: #1f2937;
    background: #e5e7eb;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
}

.suggestion-description {
    margin-top: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
}

.suggestion-description p {
    margin: 0;
    color: #4b5563;
    line-height: 1.5;
}

.suggestion-status {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Status spécifiques pour les suggestions */
.status-approved {
    background: #d1fae5;
    color: #065f46;
}

.status-approved .status-dot {
    background: #10b981;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.status-rejected .status-dot {
    background: #ef4444;
}

/* Styles pour les infobulles auteurs */
.author-tooltip {
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.tooltip-content {
    min-width: 150px;
}

.tooltip-actions button {
    margin-top: 5px;
    background: #3498db;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.tooltip-actions button:hover {
    background: #2980b9;
}

/* Styles pour la date dans le corps de la carte */
.question-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #718096;
}

.date-icon {
    font-size: 0.875rem;
}

.date-text {
    font-weight: 500;
}

/* Styles spécifiques pour les suggestions en fait c'est generatereponseContentview */
.suggestions-container {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.suggestion-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
    overflow: hidden;
}

.suggestion-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.suggestion-card-owner {
    border-left: 4px solid #3498db;
}

.suggestion-published {
    border-top: 3px solid #10b981;
}

.suggestion-draft {
    border-top: 3px solid #f59e0b;
}

.suggestion-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem 1.25rem 0.75rem;
    background: #f8f9fa;
}

.suggestion-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.suggestion-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.suggestion-uid {
    font-size: 0.75rem;
    color: #7f8c8d;
    background: #f1f3f4;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', monospace;
}

.status-published {
    background: #d1fae5;
    color: #065f46;
}

.status-published .status-dot {
    background: #10b981;
}

.status-draft {
    background: #fef3c7;
    color: #92400e;
}

.suggestion-card-body {
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.suggestion-card-body:hover {
    background-color: #fafbfc;
}

.suggestion-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0.5rem 0;
    line-height: 1.4;
}

.suggestion-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #718096;
}

.suggestion-description {
    margin: 0.75rem 0;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 6px;
    border-left: 3px solid #6366f1;
}

.suggestion-description p {
    margin: 0;
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.5;
}

.suggestion-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.suggestion-card-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid #eaeaea;
    background: #fafbfc;
}

.suggestion-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.suggestion-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
}

/* Responsive */

/* styles-propositions.css */
/* Styles spécifiques pour les propositions */

.propositions-wrapper {
    width: 100%;
}

.propositions-container {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    margin-top: 1.5rem;
}

.proposition-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.proposition-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.proposition-card-owner {
    border-left: 4px solid #3498db;
}

.proposition-published {
    border-top: 3px solid #10b981;
}

.proposition-draft {
    border-top: 3px solid #f59e0b;
}

.proposition-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem 1.25rem 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.proposition-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.proposition-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.proposition-author .author-avatar {
    background: rgba(255, 255, 255, 0.2);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.proposition-author .author-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.proposition-uid {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', monospace;
    backdrop-filter: blur(10px);
}

.proposition-status {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.9);
}

.status-published {
    color: #065f46;
}

.status-draft {
    color: #92400e;
}

.proposition-card-body {
    padding: 1.5rem 1.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
    flex-grow: 1;
}

.proposition-card-body:hover {
    background-color: #fafbfc;
}

.proposition-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #718096;
    margin-bottom: 0.75rem;
}

.proposition-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.proposition-description {
    margin: 1rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #f6f7f9 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 4px solid #6366f1;
}

.proposition-description p {
    margin: 0;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
}

.proposition-url {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.url-icon {
    font-size: 0.875rem;
    color: #6366f1;
}

.url-link {
    font-size: 0.875rem;
    color: #3182ce;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.url-link:hover {
    text-decoration: underline;
    color: #2c5282;
}

.proposition-card-footer {
    padding: 1.25rem;
    border-top: 1px solid #eaeaea;
    background: #fafbfc;
}

.proposition-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.proposition-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem;
    border-radius: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.proposition-stats .stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e0;
}

.proposition-stats .stat-item[style*="cursor: pointer"]:hover {
    background: #edf2f7;
}

.proposition-stats .stat-icon {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.proposition-stats .stat-count {
    font-weight: 700;
    font-size: 1.125rem;
    color: #2d3748;
}

.proposition-stats .stat-label {
    font-size: 0.75rem;
    color: #718096;
    text-align: center;
}

.proposition-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.proposition-actions .btn-icon {
    padding: 0.625rem;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
}

.proposition-actions .btn-icon:hover {
    transform: scale(1.1);
}

.question-date {
    font-size: 0.875rem;
    color: #718096;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 2px solid #e2e8f0;
}

/* Responsive */

/* Animation pour les nouvelles propositions */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

.proposition-card {
    animation: slideIn 0.3s ease-out;
}

/* Style pour le texte supprimé */
.supprime {
            text-decoration: line-through;
            background-color: #ffeaea;
            color: #c62828;
            padding: 0 2px;
            border-radius: 2px;
        }

/* Style pour le texte modifié */
.ajoute {
    background-color: #fff3e0;
    color: #ef6c00;
    padding: 0 2px;
    border-radius: 2px;
    border-bottom: 2px dotted #ff9800;
}

/* Style pour les commentaires des sujets */
.theme-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.theme-tag {
    background: #f0f7ff;
    border: 1px solid #4a90e2;
    border-radius: 20px;
    padding: 8px 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.theme-detail {
    background: #f9f9f9;
    border-left: 4px solid #4a90e2;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
}

.theme-detail h4 {
    margin-top: 0;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight {
    background-color: #fffacd;
    padding: 2px 5px;
    font-weight: 600;
}

.theme-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.theme-tag {
    background: #fff0f0;
    border: 1px solid #c62828;
    border-radius: 20px;
    padding: 8px 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.theme-detail {
    background: #f9f9f9;
    border-left: 4px solid #c62828;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
}

.highlight {
    background-color: #ffebee;
    padding: 2px 5px;
    font-weight: 600;
    border-left: 3px solid #c62828;
}

/* ===== MEDIA QUERIES CONSERVÉES (structure intacte) ===== */

@media (max-width: 768px) {
    .timer {
        font-size: 2em;
    }
    
    .timer-container {
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .article-card {
        padding: 15px;
    }
}

@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    sidebar {
        order: 2;
    }
    
    .content-main {
        order: 1;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .logo-container {
        flex: none;
        width: 100%;
        padding-right: 0;
        padding-bottom: 20px;
        border-right: none;
        border-bottom: 3px solid #e0e0e0;
        margin-bottom: 20px;
    }
    
    .gallerie-icones {
        padding-left: 0;
        grid-template-columns: repeat(10, 1fr);
    }
    
    /* .icone {
        min-height: 90px;
        padding: 12px;
    } */
    
    .icone img {
        width: 35px;
        height: 35px;
    }
    
    .badge {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .gallerie-icones {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
    
    .fil-actu {
        height: 50px;
    }
    
    .actu-item {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
        .form-grid {
            grid-template-columns: 1fr;
        }
        
        .form-actions {
            flex-direction: column;
        }
        
        .btn {
            width: 100%;
        }
    }

@media (max-width: 768px) {
    .scenario-grid {
        grid-template-columns: 1fr;
    }
    
    .filters {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .menu-bar {
        height: 80px;
        padding: 0 10px;
    }
    
    .icone-menu {
        width: 45px;
        padding: 8px 4px;
    }
    
    .icone-menu img {
        width: 28px;
        height: 28px;
    }
    
    .icone-menu span {
        font-size: 10px;
    }
    
    .icone-orga {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .sujet-grid-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px 0;
    }
    
    .sujet-card {
        padding: 16px;
    }
    
    .card-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-value {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .card-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .abonnement-status {
        align-self: flex-start;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .questions-grid-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px 0;
    }
    
    .question-card {
        padding: 16px;
    }
    
    .question-actions {
        gap: 6px;
    }
    
    .btn-action {
        padding: 6px 10px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .question-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .question-status {
        align-self: flex-start;
        margin-left: 0;
    }
    
    .question-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reponses-grid-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px 0;
    }
    
    .reponse-card {
        padding: 16px;
    }
    
    .reponse-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .draft-link {
        align-self: flex-start;
        margin-left: 0;
    }
    
    .signalements-icons {
        justify-content: center;
    }
    
    .reponse-ids {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .reponse-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .reponse-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .opinion-card-body {
        grid-template-columns: 1fr;
    }
    
    .opinion-card-footer {
        flex-direction: column;
    }
    
    .opinion-btn {
        width: 100%;
        justify-content: center;
    }
    
    .opinion-summary {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .opinion-filters {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .questions-container {
        grid-template-columns: 1fr;
    }
    
    .question-stats {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .stat-item {
        flex: 1;
        min-width: calc(50% - 0.5rem);
    }
}

@media (max-width: 768px) {
    .suggestions-container {
        grid-template-columns: 1fr;
    }
    
    .suggestion-stats {
        justify-content: flex-start;
    }
    
    .stat-item {
        min-width: calc(50% - 0.5rem);
    }
}

@media (max-width: 768px) {
    .propositions-container {
        grid-template-columns: 1fr;
    }
    
    .proposition-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .proposition-card-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .proposition-status {
        align-self: flex-start;
    }
    
    .question-date {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 0.5rem;
        display: block;
    }
}

@media (max-width: 480px) {
    .proposition-stats {
        grid-template-columns: 1fr;
    }
    
    .proposition-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
}