* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    height: 100dvh;
}

.chat-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-container {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background: white;
    display: flex;
    flex-direction: column;
}

.chat-container .hello-message {
    position: absolute;
    width: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 1.2rem;
}

.message-user,
.message-assistant {
    padding: 10px 15px;
    border-radius: 15px;
    margin: 10px 0;
}

.message-user {
    max-width: 70%;
    background: #21b2a6;
    align-self: flex-end;
}

.message-assistant {
    width: 100%;
    background: #474e56;
    align-self: flex-start;
}

.message-assistant p:last-of-type {
    /* Remove margin-bottom from the last p of message-bot */
    margin-bottom: 0;
}

.input-container {
    display: flex;
    padding: 10px;
    background: #fff;
    justify-content: center;
}

.input-container select {
    margin-right: 10px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.input-container textarea {
    max-width: 500px;
    height: 50px;
    resize: none;
    margin-right: 4px;
    font-size: 1rem;
    border-radius: 3px;
    border: 0;
    box-shadow: inset 0 0 0 2px #fff;
}

.input-container button {
    padding: 0px;
    width: 60px;
    height: 50px;
    cursor: pointer;
}

.input-container button img {
    width: 24px;
    vertical-align: middle;
}

.input-container button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

@media screen and (max-width: 736px) {
    .input-container textarea {
        font-size: 1rem;
    }
}

.chat-wrapper {
    display: flex;
    flex-direction: column;
}

.iframe-modal {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}
