/* Le bouton principal du chat */
#mcc-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: Arial, sans-serif;
}

#mcc-chat-button {
    width: 60px;
    height: 60px;
    background-color: #0073aa; /* Bleu WordPress */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}

#mcc-chat-button:hover {
    background-color: #005a87;
}

/* La fenêtre de chat */
#mcc-chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#mcc-chat-header {
    background-color: #0073aa;
    color: white;
    padding: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#mcc-chat-close {
    cursor: pointer;
    font-size: 20px;
}

#mcc-chat-body {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f4f4f4;
}

/* Style des messages */
.mcc-message {
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 20px;
    max-width: 80%;
    line-height: 1.4;
}

.mcc-bot-message {
    background-color: #e5e5ea;
    color: #000;
    align-self: flex-start;
}

.mcc-user-message {
    background-color: #0073aa;
    color: #fff;
    align-self: flex-end;
    margin-left: auto;
}

#mcc-chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
}

#mcc-chat-input {
    flex-grow: 1;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 10px 15px;
    outline: none;
}

#mcc-chat-send-btn {
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    margin-left: 10px;
    cursor: pointer;
}