.chatblock {
    background-color: #fff;
    border: 1px solid rgb(229, 229, 234);
    border-radius: 0.25rem;
    display: flex;
    flex-direction: column;
    margin: 0 auto 0;
    padding: 1rem 1.5rem 0.5rem 1.5rem;
}

.chatblock div {
    border-radius: 1.15rem;
    background-color: #fff;
    line-height: 1.25;
    max-width: 75%;
    position: relative;
    word-wrap: break-word;
}

div.messageblockuser {
    align-self: flex-end;
    padding-top: .75rem;
}

.titleuser {
    border-radius: 1.15rem;
    line-height: 1.25;
    padding: 0 0.875rem;
    margin: 0;
    align-self: flex-end;
    
    background-color: #fff;
    color: #000; 
}

div.messageuser {
    border-radius: 1.15rem;
    line-height: 1.25;
    padding: .5rem .875rem .75rem .875rem;
    max-width: 100%;
    align-self: flex-end;
    background-color: #e5e5ea;
    color: #000; 
}

div.messageblocksystem {
    align-self: flex-end;
    padding-top: .75rem;
}

p.titlesystem {
    border-radius: 1.15rem;
    line-height: 1.25;
    padding: 0 0.875rem;
    margin: 0;
    justify-self: flex-start;
    width: min-content;
    background-color: #fff;
    color: #000; 
}
div.messagesystem {
    border-radius: 1.15rem;
    line-height: 1.25;
    padding: .5rem 0.875rem .75rem .875rem;
    justify-self: flex-end;
    max-width: 100%;
    background-color: #fafafa;
    color: gray; 
}

div.messageblockassistant {
    align-self: flex-start;
    padding-top: .75rem;
    width: 100%;
}

.titleassistant {
    border-radius: 1.15rem;
    line-height: 1.25;
    padding: 0 0.875rem;
    margin: 0;
    align-self: flex-start;
    background-color: #fff;
    color: #000; 
}

div.messageassistant {
    border-radius: 1.15rem;
    line-height: 1.25;
    padding: .5rem 0.875rem .75rem .875rem;
    align-items: flex-start;
    max-width: 100%;
    background-color: rgb(151, 121, 242, 0.2);
    color: #000;
}
  
div.messageblockwarning {
    align-self: center;
    align-items: center;
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
    width: 100%;
    max-width: 90%;
}

.titlewarning {
    border-radius: 1.15rem;
    line-height: 1.25;
    padding: 0 0.875rem;
    margin: 0;
    align-self: flex-start;
    background-color: #fff;
    color: #000; 
}

div.messagewarning {
    border-radius: 0.5rem;
    line-height: 1.25;
    padding: 0rem 0.875rem 0.15rem .875rem;
    align-self: center;
    text-align: center;
    max-width: 100%;
    background-color: #FFF3CD;
    font-size: 85%;
    color: rgb(100, 100, 100);
}
  