@import url("https://fonts.googleapis.com/css2?family=Alegreya+Sans:wght@100;300;400;500;700;800;900&display=swap");

#yaia-container-be {
    width: 100%;
    height: calc(100vh - 50px);
    padding-top: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

#yaia-container-fe {
    width: 100%;
    height: calc(100vh - 50px);
    box-sizing: border-box;
    padding: 0px;
    margin: 0px auto;
    max-width: 100%;
}

#yaia-chat-gpt * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Alegreya Sans", sans-serif;
}

#yaia-chat-gpt {
    width: 100%;
    height: 100%;
    background: #343541;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

#yaia-chat-gpt #chat-container {
    flex: 1;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    gap: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 20px;
    scroll-behavior: smooth;
}

/* hides scrollbar */
#yaia-chat-gpt #chat-container::-webkit-scrollbar {
    display: none;
}

#yaia-chat-gpt .wrapper {
    width: 100%;
    padding: 15px;
}

#yaia-chat-gpt .ai {
    background: #40414f;
}

#yaia-chat-gpt .chat {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    display: flex;
    align-items: center;
}

#yaia-chat-gpt .profile {
    width: 36px;
    height: 36px;
    border-radius: 5px;
    background: #5436da;
    display: flex;
    justify-content: center;
    align-items: center;
}

#yaia-chat-gpt .ai .profile {
    background: #10a37f;  
}

#yaia-chat-gpt .profile img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

#yaia-chat-gpt .message {
    flex: 1;
    color: #dcdcdc;
    font-size: 20px;
    max-width: 100%;
    overflow-x: scroll;
    white-space: pre-wrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    line-height: 28px;
    display: flex;
}

#yaia-chat-gpt .message img {
    margin-right: 20px;
    margin-bottom: 20px;
    display: inline-block;
}

/* hides scrollbar */
#yaia-chat-gpt .message::-webkit-scrollbar {
    display: none;
}

#yaia-chat-gpt form {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px;
    background: #40414f;
    display: flex;
    flex-direction: row;
    gap: 10px;
    height: 62px;
    display: flex;
    align-items: center;
}

#yaia-chat-gpt textarea {
    width: 100%;
    color: #fff;
    font-size: 18px;
    padding: 10px;
    background: transparent;
    border-radius: 5px;
    border: none;
    outline: none;
    resize: none;
    overflow: hidden;
    max-height: 46px;
    min-height: 46px;
    margin:0px;
}

#yaia-chat-gpt button {
    width: 30px;
    height: 30px;
    outline: 0;
    border: 0;
    cursor: pointer;
    background: transparent;
}

#yaia-chat-gpt form img {
    width: 30px;
    height: 30px;
}
