/* --- LE BOUTON ROND MODERNE --- */
#gemini-launcher {
    position: fixed; bottom: 20px; right: 20px;
    background: #7b00e0; /* Votre Violet */
    color: #fff; border: none;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; padding: 0;
    cursor: pointer; z-index: 9999;
    box-shadow: 0 4px 15px rgba(123, 0, 224, 0.4); 
    transition: all 0.3s ease;
}
#gemini-launcher:hover { transform: scale(1.1) rotate(10deg); box-shadow: 0 6px 20px rgba(123, 0, 224, 0.6); }

/* --- LA FENÊTRE DU CHAT --- */
#gemini-chat-widget {
    display: none; position: fixed; bottom: 90px; right: 20px;
    width: 340px; height: 500px;
    background: #fff; border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    z-index: 9999; flex-direction: column; overflow: hidden;
    border: 1px solid #ddd;
    font-family: 'Helvetica', Arial, sans-serif;
}

#gemini-chat-header {
    background: #000; color: #fff; padding: 12px 15px;
    display: flex; justify-content: space-between; font-weight: bold; align-items: center;
    font-size: 13px;
}

#gemini-toggle-btn { background: none; border: none; color: #fff; cursor: pointer; font-size: 20px; line-height: 1; }

#gemini-chat-messages {
    flex: 1; padding: 10px; overflow-y: auto; background: #f9f9f9;
    display: flex; flex-direction: column; gap: 8px;
}

/* --- LES SUGGESTIONS (CHIPS) --- */
#gemini-suggestions {
    padding: 8px 10px; display: flex; gap: 6px; flex-wrap: wrap; background: #fff; border-top: 1px solid #eee;
}

.suggestion-chip {
    background: #f0f0f0; border: 1px solid #ddd; padding: 6px 10px;
    border-radius: 15px; font-size: 11px; cursor: pointer; color: #333;
    transition: all 0.2s; white-space: nowrap;
}

.suggestion-chip:hover { background: #7b00e0; color: #fff; border-color: #7b00e0; }

/* --- MESSAGES --- */
.message { 
    padding: 8px 12px; border-radius: 8px; font-size: 12px; max-width: 90%; line-height: 1.4; 
}
.message.bot { background: #e9ecef; color: #333; align-self: flex-start; border-bottom-left-radius: 0; }
.message.user { background: #7b00e0; color: #fff; align-self: flex-end; border-bottom-right-radius: 0; }
.message a { text-decoration: underline; font-weight: bold; }
.message.loading { font-style: italic; color: #888; background: transparent; padding: 0; margin-left: 5px;}

/* --- INPUT --- */
#gemini-chat-input {
    padding: 10px; border-top: 1px solid #eee; display: flex; background: #fff; align-items: center;
}
#gemini-user-input {
    flex: 1; border: 1px solid #ddd; padding: 8px; border-radius: 20px; outline: none; font-size: 12px;
}
#gemini-send-btn {
    background: #000; color: #fff; border: none; padding: 8px 15px; margin-left: 8px; border-radius: 20px; 
    cursor: pointer; font-weight: bold; font-size: 11px; text-transform: uppercase;
}