body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

.chat-container {
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    background-color: #fff;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}

.chat-output {
    flex-grow: 1;
    overflow-y: auto;
    width: 100%;
    padding: 20px 40px 70px 40px;
    max-height: 500px;
}

.chat-output p {
    margin: 10px 0;
}

.container-user-message {
    width: 100%;
    float: left;
}

.user-message {
    padding: 10px;
    float: right;
    color: #000;
    border-radius: 10px 0px 10px 10px;
    color: #fff;
    background-color: #028fac;
}

.user-message::before {
    margin-top: -10px;
    padding: 0px;
    display: block !important;
    float: right;
    content: '';
    width: 0px !important;
    margin-right: -22px;
    border: 20px solid;
    border-top-left-radius: 5px;
    border-color: #028fac transparent transparent transparent;
}


.container-bot-message {
    width: 100%;
}

.bot-message {
    font-weight: normal;
    display: inline-block;
    color: #333;
    background-color: #ddd;
    text-align: left;
    border-radius: 0px 10px 10px 10px;
    padding: 10px;
    color: #000;
    white-space: pre-wrap;
}

.bot-message::before {
    margin-top: -10px;
    padding: 0px;
    display: block !important;
    float: left;
    content: '';
    width: 0px !important;
    margin-left: -22px;
    border: 20px solid;
    border-color: #ddd transparent transparent transparent;
}


/* @keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.bot-message::after {
    content: '';
    width: 15px;
    height: 15px;
    border: 1px solid #000;
    background-color: #000;
    margin-left: 5px;
    animation: blink 1s infinite;
} */


/* .bot-message br {
    display: none;
} */

.chat-message-gpt {
    bottom: 0;
    margin: auto;
    width: 600px;
    background-color: #fff;
    box-shadow: 0px -4px 6px 2px rgba(173, 173, 173, 0.23);
    -webkit-box-shadow: 0px -4px 6px 2px rgba(173, 173, 173, 0.23);
    -moz-box-shadow: 0px -4px 6px 2px rgba(173, 173, 173, 0.23);
    position: fixed;
    padding: 20px;
}

.chat-message-gpt form {
    border-radius: 10px;
    background-color: #eee;
}

.chat-message-gpt table {
    z-index: 9999;
    width: 100%;
}

.chat-message-gpt table textarea {
    resize: none;
    height: 40px;
    padding: 10px 10px 0px 10px !important;
    max-height: 200px;
    width: 100%;
    border: none;
    background-color: #eee;
    border-radius: 10px;
    outline: none;
}

.chat-message-gpt table textarea::-webkit-scrollbar {
    width: 5px;
}

.chat-message-gpt table textarea::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: #fff;

}

.chat-message-gpt table textarea::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 5px;
}

.chat-message-gpt table textarea::-webkit-scrollbar-thumb:hover {
    background-color: #ccc;
}


.chat-message-gpt table button {
    width: 45px;
    margin-left: 5px;
    margin-right: -15px;
    height: 45px;
    border-radius: 50%;
    outline: none;
    background-color: transparent;
    color: #09a9c9;
    padding: 4px;
}

.chat-message-gpt table button:focus {
    background-color: #028fac;
    color: #fff;
}

.chat-message-gpt table button:hover {
    color: #fff;
    background-color: #028fac;
}

.chat-message-gpt table i {
    font-size: 21px;
    transform: rotate(45deg) !important;
    display: block;
}

.chat-submit {
    font-size: 22px;
    border-radius: 50%;
    color: #fff;
    width: 45px;
    height: 45px;
    font-weight: bold;
    border: none;
    background-color: #09a9c9;
    cursor: pointer;
}

.chat-submit:hover {
    background-color: #028fac;
}

.chat-submit i {
    transform: rotate(40deg);
    display: inline-block;
    margin-left: -3px;
}