@media (max-width: 50em) {
    .chat-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .message-meta {
        flex-wrap: wrap;
    }
	

    .chat-body {
        padding: 12px;
 	gap: 0;
    }

    .message-field .input-row {
        flex-direction: row;
        align-items: stretch;
	gap: 3px;
    }

    .attachment-menu {
        position: absolute;
        box-shadow: none;
        border-width: 0;
        padding: 0;
        margin-bottom: 4px;
    }

    .message-field textarea {
        width: 100%;
        min-height: 32px;
        padding: 4px 8px;
        height: 32px;
	font-size: 16px;
	line-height: 22px;
    }

    #attachment-toggle {
	    width: 32px;
	    height: 32px;
	    padding: 0;
	    margin: 0;
            font-size: 24px;
	    display: flex;
	    align-items: center;
	    justify-content: center;
	}
    
    .composer button[type='submit']
    {
    height: 32px !important;
    line-height: 32px;
    margin: 0;
    padding: 3px !important;
    width: 32px;
    }

    .composer button[type='submit'] svg
    {
        width: 24px;
        height: 24px;
    }

    .scroll-bottom
    {
        bottom: 62px;
        font-size: 12px;
        padding: 7px 11px;
        border-radius: 16px;
        right: 29px;
    }

.username, .timestamp
{
	font-size: 10px;
}

.message-text
{
	font-size: 12px;
	margin-top: 2px;
}

.message
{
        padding: 4px;
        border-radius: 4px;
}

.messages
{
	gap: 6px;
}

.message-response
{
    max-height: 16px;
    overflow-y: hidden;
}
}
