<?php
/**
 * Widget « chatbot » i18n (pied de page layout). Indépendant de `parts/chat-widget.php` et du coach premium-dashboard-v4.
 */
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
?>
<div class="chatbot-widget">
    <button class="chatbot-toggle">
        💬
        <span class="notification-dot"></span>
    </button>
    
    <div class="chatbot-window">
        <div class="chatbot-header">
            <div class="chatbot-avatar">
                <div class="avatar-img">🤖</div>
                <div class="chatbot-info">
                    <h4>Avi</h4>
                    <span>SEO Assistant</span>
                </div>
            </div>
            <button class="chatbot-close">&times;</button>
        </div>
        
        <div class="chatbot-messages">
        </div>
        
        <div class="suggestion-chips">
            <button class="chip" data-topic="reviews" data-i18n="chatbot_suggestion_reviews"><?php echo $i18n->get('chatbot_suggestion_reviews'); ?></button>
            <button class="chip" data-topic="posts" data-i18n="chatbot_suggestion_posts"><?php echo $i18n->get('chatbot_suggestion_posts'); ?></button>
            <button class="chip" data-topic="future" data-i18n="chatbot_suggestion_future"><?php echo $i18n->get('chatbot_suggestion_future'); ?></button>
            <button class="chip" data-topic="competitor" data-i18n="chatbot_suggestion_competitor"><?php echo $i18n->get('chatbot_suggestion_competitor'); ?></button>
        </div>
        
        <div class="chatbot-input">
            <input type="text" data-i18n-placeholder="chatbot_placeholder" placeholder="<?php echo $i18n->get('chatbot_placeholder'); ?>">
            <button>➤</button>
        </div>
    </div>
</div>
