#idx-chat-root {
    display: none;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    flex-direction: column;
}

.chatbot-drawer-container.idx-chat-authenticated #idx-chat-root {
    display: flex;
}

.chatbot-drawer-container.idx-chat-authenticated .chatbot-header {
    flex-shrink: 0;
}

.chatbot-drawer-container.idx-chat-authenticated .chatbot-drawer > .chatbot-body,
.chatbot-drawer-container.idx-chat-authenticated .chatbot-drawer > .chatbot-footer {
    display: none;
}

#idx-chat-root > [data-idx-chat-root] {
    flex: 1 1 0;
    min-height: 0;
}

#idx-chat-root > .idx-chat-status {
    padding: 20px;
}
