.messages-container{
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: center;
    gap: 1rem;
}

.message{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.msg-header{
    width: 100%;
    padding: 10px 5px;
    background: var(--dark-color);
    text-align: center;
    color: var(--white-color);
}

.msg-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--white-color);
}

.msg-imgdet{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: start;
    gap: 15px;
    margin-bottom: 1rem;
}

.msg-imgdet .img{
    width: 120px;
    height: auto;
    max-height: 120px;
    border-radius: 10px;
    background: var(--light-gray);
}

.msg-imgdet .img img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 1px solid #ddd;
    object-fit: contain;
}

.detail .name{
    font-size: 1.3rem;
}

.detail .designation{
    font-size: 1rem;
    color: var(--gray);
}

.msg{
    padding: 1rem;
    text-align: justify;
}



@media (max-width: 720px){
    .messages-container{ flex-direction: column; }
}