
        
        #chatbot, #choixIA {
            position: fixed;
            bottom: 20px;
            right: 70px;
            width: 400px;
            max-width: 90vw;
            border: none;
            border-radius: 20px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.15);
            padding: 20px;
            font-family: sans-serif;
            display: flex;
            flex-direction: column;
            background-color: #ffffff;
            box-sizing: border-box;
            transition: background 0.75s ease-in-out, opacity 0.75s;
        }

        #chathistorique {
            height: 300px;
            overflow-y: scroll;
            margin-bottom: 10px;
            width: 100%;
            display: flex;
            flex-direction: column;
        }

        #chathistorique span {
            padding: 5px 10px;
            margin-bottom: 5px;
            border-radius: 5px;
            display: block;
            width: 46%;
        }

        #chathistorique span:nth-child(odd) {
            background-color: #007bff; /* User messages */
            color: white;
            align-self: flex-end;
            border-radius: 20px 20px 5px 20px; 
        }

        #chathistorique span:nth-child(even) {
            background-color: #f1f1f1; /* Chatbot messages */
            color: #333;
            align-self: flex-start;
            border-radius: 20px 20px 20px 5px; 
    }

        .appear {
            opacity: 1;
        }
        .disapear {
            opacity: 0;
            transition: 0.75s;
            max-height: 0px;
        }

        #choixIA h3 {
            text-align: center;
            margin-top: 0;
            color: #333;
        }

        #choixIAList img {
            max-height: 100px;
            max-width: 100px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid transparent;
            transition: border-color 0.3s;
        }
        #choixIAList {
            display: flex;
            justify-content: space-around;
            cursor: pointer;
        }

        #choixIAList span:hover img {
            border-color: #007bff;
        }




#container-imageIA {
    position: absolute; /* Se positionne par rapport au conteneur #chatbot */
    right: -110px;
    bottom: 20px; /* Aligné avec le bas de la fenêtre de chat */
    width: 196px;
    height: 196px;
    z-index: 13;
}
#container-imageIA img {
    height: 196px;
    width: 196px;
}


#chatbot textarea {
    width: calc(100% - 10px);
    height: 125px;
    resize: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 10px;
}

#chatbot button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#chatbot button:hover {
    background-color: #0056b3;
}

body {
    background-color: transparent;
}

#helpButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    border: none;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s, opacity 0.75s;
}

#helpButton:hover {
    transform: scale(1.1);
}

#chatbotHeader {
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    padding-bottom: 15px;
}

#resetButton {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e0e0e0;
    color: #555;
    border: none;
    border-radius: 5px;
    padding: 4px 8px;
    font-size: 0.8em;
    cursor: pointer;
    transition: background-color 0.3s;
}

#resetButton:hover {
    background: #d1d1d1;
}

.system-message {
    align-self: center;
    background-color: #fffbe6;
    color: #8a6d3b;
    border: 1px solid #ffeeba;
    text-align: center;
    font-style: italic;
    width: 90%; /* Pour qu'il prenne presque toute la largeur */
}