body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#chat-container {
    display: flex;
    flex-direction: column;
    width: 700px;
    height: 500px;
    border: 1px solid #a09b9b;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(138, 199, 255, 0.3);
    overflow: hidden;
}

#chat {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    gap: 10px;
}

h1{
    margin-left: 1.5vw;
}

.message-user, .answer {
    display: flex;
    align-items: center;
    max-width: 70%;
    padding: 5px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.message-user {
    flex-direction: row-reverse;
    margin-left: auto;
    background-color: #0084ff;
    color: white;
}

.answer {
    flex-direction: row;
    margin-right: auto;
    margin-left: 0.5vw;
    background-color: #e5e5ea;
    color: black;
}

.message-user img, .answer img {
    border-radius: 50%;
    width: 45px;
    height: 45px;
}

.message-user img {
    margin-left: 10px;
    margin-right: 0;
}

.answer img {
    margin-right: 10px;
    margin-left: 0;
}

.bubble {
    padding: 10px 15px;
    border-radius: 15px;
    word-wrap: break-word;
}

#input-area {
    display: flex;
    border-top: 1px solid #ccc;
    padding: 10px;
    background-color: #f9f9f9;
}

#messageInput {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 10px 15px;
    outline: none;
    font-size: 16px;
}

#messageInput:focus{
    border: 1px solid rgb(0, 132, 255);
}

#sendButton {
    margin-left: 10px;
    border: none;
    background-color: rgb(0, 132, 255);
    color: white;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.5s;
}

#sendButton:hover {
    background-color: #006bbf;
}