/**
 * Styles pour le bandeau des commentaires
 */
#direct-comments-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    padding: 10px 20px;
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#direct-comments-banner a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333333;
    font-weight: 600;
    font-size: 14px;
}

/**
 * Styles améliorés pour l'indicateur "live"
 */
#direct-comments-banner .live-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #32CD32; /* Un vert plus vif */
    margin-left: 12px;
    position: relative;
    box-shadow: 0 0 2px 1px rgba(50, 205, 50, 0.5); /* Légère lueur interne */
}

/* Premier anneau pulsant */
#direct-comments-banner .live-indicator:before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background-color: rgba(50, 205, 50, 0.3);
    animation: pulse-primary 2s infinite ease-out;
}

/* Second anneau pulsant (pour plus de dynamisme) */
#direct-comments-banner .live-indicator:after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background-color: rgba(50, 205, 50, 0.5);
    animation: pulse-secondary 2s infinite ease-out;
    animation-delay: 0.5s; /* Décalage pour créer un effet cascade */
}

/* Animation pour le premier anneau */
@keyframes pulse-primary {
    0% { 
        transform: scale(0.9);
        opacity: 0.9;
    }
    50% { 
        transform: scale(1.5);
        opacity: 0.3;
    }
    100% { 
        transform: scale(0.9);
        opacity: 0;
    }
}

/* Animation pour le second anneau */
@keyframes pulse-secondary {
    0% { 
        transform: scale(0.9);
        opacity: 0.7;
    }
    70% { 
        transform: scale(1.2);
        opacity: 0.2;
    }
    100% { 
        transform: scale(0.9);
        opacity: 0;
    }
}


@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 0.4; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

#direct-comments-banner:hover {
    background-color: #f8f8f8;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    #direct-comments-banner {
        bottom: 20px;
        left: 20px;
        padding: 8px 16px;
    }
}