/* Styles de la bulle flottante */
#chatbot-bubble {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: #0073e6;
    color: white;
    font-size: 30px;
    text-align: center;
    line-height: 60px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
    z-index: 1000;
}

#chatbot-bubble:hover {
    background-color: #005bb5;
}

/* Styles du conteneur du chatbot */
#chatbot-container {
    position: fixed;
    bottom: 90px;
    left: 20px;
    width: 300px;
    max-height: 400px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    z-index: 1000;
}

#chatbot-container.open {
    display: flex;
}

/* En-tête du chatbot */
#chatbot-header {
    background: #0073e6;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-radius: 10px 10px 0 0;
}

/* Messages du chatbot */
#chatbot-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    max-height: 300px;
}

.message {
    padding: 8px 12px;
    margin: 5px;
    border-radius: 5px;
    max-width: 80%;
}

.user {
    background: #0073e6;
    color: white;
    align-self: flex-end;
}

.bot {
    background: #f1f1f1;
    color: black;
    align-self: flex-start;
}

/* Zone de saisie */
#chatbot-input {
    width: calc(100% - 20px);
    margin: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#chatbot-send {
    width: 100%;
    padding: 10px;
    background: #0073e6;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 0 0 10px 10px;
}

#chatbot-send:hover {
    background: #005bb5;
}
