body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #EFF2F4;  /* Gray background */
    text-align: center;
}

#chat-box {
    width: 500px;
    margin: 20px auto;
    background-color: #fff;  /* White background for chat box */
    border-radius: 8px;
    overflow: hidden;
    /* box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2); */
}

p {
    margin: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    max-width: 70%;
    clear: both;
}

p.user-message {
    background-color: #eaf7ff;  /* User message background */
    float: right;
    margin-right: 20px;
    /* box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2); */
    text-align: right;
    padding: 10px;
}

p.bot-message::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 16px;  /* Icon width */
    height: 16px;  /* Icon height */
    background: url('https://www.en.unitechnik.com/fileadmin/template/images/favicon.ico') no-repeat;
    background-size: contain;
    margin-right: 10px;
}

p.bot-message {
    background-color: #fff7e2;  /* Assistant message background */
    float: left;
    margin-left: 20px;
    /* box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2); */
    text-align: left;
    padding-left: 26px;  /* Make room for the icon */
    padding: 10px;
}


#user-input, #send-button {
    display: inline-block;
    vertical-align: top;
}

#user-input {
    width: 355px;
    margin-right: 20px;
    padding: 10px;
    border: none;
    border-top: 1px solid #ccc;
}

#send-button {
    width: 100px;
    padding: 10px;
    border: none;
    border-top: 1px solid #ccc;
    background-color: #E1080D;  /* Red background for send button */
    color: white;
    border-radius: 5px;
}

#loader {
    text-align: center;
}

#error-message {
    text-align: center;
    background-color: #E1080D;  /* Red background for error message */
    color: white;
    padding: 14px 20px;
    margin: 14px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
