.main-content {
    width: 100%;
    height: 100vh;
    display: flex;
    overflow: hidden;
}

.chats-sidebar {
    width: 300px;
    flex-shrink: 0;
    height: 100%;
    border-right: 1px solid #E6DCC6;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.chats-sidebar-h {
    padding: 20px 18px 8px;
}

.chats-sidebar-h .tittle {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #8F7F6B;
}

.lista-chats {
    list-style: none;
    margin: 0;
    padding: 8px;
}

.chat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    border-radius: 14px;
    cursor: pointer;
    transition: background-color ease 150ms;
}

.chat-item:hover {
    background-color: #F7F6F2;
}

.chat-item + .chat-item {
    border-top: 1px solid #E6DCC6;
}

.chat-item-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #F7F6F2;
    border: 1px solid #E6DCC6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.chat-item-icon img {
    width: 60%;
}

.chat-item-texto {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.chat-item-nome {
    font-size: 13px;
    font-weight: 600;
    color: #8F7F6B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-item-ultima {
    font-size: 12px;
    color: #A4988A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-item-skeleton {
    cursor: default;
    pointer-events: none;
}

.skeleton-circle {
    background-color: #F1EBE1;
    animation: brilho 1.6s ease-in-out infinite;
}

.skeleton-linha {
    display: block;
    height: 10px;
    border-radius: 6px;
    background-color: #fff;
    animation: brilho 1.6s ease-in-out infinite;
}

.skeleton-linha--larga {
    width: 80%;
}

.skeleton-linha--estreita {
    width: 50%;
    margin-top: 8px;
    height: 8px;
}

@keyframes brilho {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.chat-box {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 20px;
    height: 100%;
}

.chat-h > header {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: 1px solid #8F7F6B;
    padding: 5px;
}

.user-icon {
    width: 50px;
    height: 50px;
    border: 1px solid #8F7F6B;
    background-color: transparent;
    border-radius: 50%;
    padding: 5px;
}

.user-name {
    margin: 0 0 0 10px;
    text-transform: capitalize;
}

.denunciar {
    margin-left: auto;
    background-color: #F7F6F2;
    border: none;
    cursor: pointer;
    width: 25px;
    height: 25px;
}

.chat-b {
    padding: 5px;
    flex: 1;
    min-height: 0;
    display: flex;
}

.chat-b > .box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.msg-r {
    width: 98%;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    background-color: #EFE7DD;
    border-radius: 15px;
    margin: 10px 10px;
    padding: 5px;
}

.box-f {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px;
    gap: 12px;
}

.msg-e {
    flex: 1;
    resize: none;
    height: 50px;
    background-color: #F7F6F2;
    border: 1px dashed #8F7F6B;
    border-radius: 10px;
    padding: 10px;
    color: #8F7F6B;
    transition: background-color ease 200ms, border ease 200ms;
}

.msg-e:hover, .msg-e:focus {
    background-color: #EFE7DD;
    border: 1px solid #8F7F6B;
    outline: none;
}

.enviar {
    margin-left: auto;
    padding: 10px 16px;
    background-color: #8F7F6B;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: background-color ease 150ms;
}

.enviar:hover {
    background-color: #7A6C5A;
}

.msg-r {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.msg {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.msg small {
    font-size: 10px;
    color: inherit;
    opacity: 0.7;
    align-self: flex-end;
}

.msg-outro {
    align-self: flex-start;
    background-color: #FFFFFF;
    color: #4A4038;
    border-bottom-left-radius: 4px;
}

.msg-minha {
    align-self: flex-end;
    background-color: #8F7F6B;
    color: #FFFFFF;
    border-bottom-right-radius: 4px;
}