.tyn-text-block {
    font-size: 1rem !important;
}

.justify-content-center.no-record {
    justify-content: center !important;
    float: none !important;
    text-align: center;
    max-width: 100% !important;
}

.chat-message-error-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 768px) {
    button.me-n3 {
        margin-right: 0rem !important;
    }
    button.mt-n3 {
        margin-top: 0rem !important;
    }
    .tyn-chat-form.px-4 {
        padding-right: 0.5rem !important;
        padding-left: 0.5rem !important;
    }
    .tyn-chat-form .container.mb-4 {
        margin-bottom: 0.5rem !important;
    }
    .flex-column.me-3 {
        margin-right: 0.5rem !important;
    }
    .tyn-chat-form-enter-section.ps-3 {
        padding-left: 0rem !important;
    }
    .tyn-chat-form-enter-section.pe-4 {
        padding-right: 1rem !important;
    }
    .tyn-chat-form-enter-section.py-3 {
        padding-top: 0rem !important;
        padding-bottom: 0rem !important;
    }
    .tyn-qa-item.bot-msg .tyn-qa-avatar {
        float: none !important;
    }
    .tyn-qa-item.bot-msg .tyn-qa-message {
        float: none !important;
    }
    .tyn-qa-item.human-msg {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
    }
    .tyn-qa-item.human-msg .tyn-qa-avatar {
        float: none !important;
        display: flex;
        flex-direction: row;
        /*align-items: flex-end;*/
        justify-content: flex-end;
        margin-left: auto;
        text-align: right;
    }
    .tyn-qa-item.human-msg .tyn-qa-avatar .tyn-token-usage {
        margin-left: auto;
        text-align: right;
    }
    .tyn-qa-item.human-msg .tyn-qa-message {
        float: none !important;
        display: flex;
        flex-direction: row;
        /*align-items: flex-end;*/
        justify-content: flex-end;
        margin-left: auto;
    }
    .tyn-chat-body.px-4 {
        padding-right: 1rem !important;
        padding-left: 1rem !important;
    }
    .tyn-qa-bubbly .tyn-qa-item .tyn-qa-message {
        max-width: 100% !important;
    }
    .tyn-token-usage div {
        display: inline !important;
        padding-right: 4px;
    }
}

@media (max-width: 992px) {
    #chatPromptModal .tyn-media-list .tyn-media-group .tyn-media-col .tyn-media-row {
        display: block;
        float: left;
        clear: left;
        max-width: 100% !important;
    }
    #chatPromptModal .tyn-media-list .tyn-media-group .tyn-media-col .tyn-media-row:last-child {
        float: none !important;
        clear: none;
        margin: auto;
        text-align: center;
        width: 100%;
    }
}
