* {
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    overflow-x: hidden;
    padding-bottom: 30px;
}

.root {
    width: 100%;
    display: flex;
    overflow-x: hidden;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

.container {
    display: flex;
    overflow-x: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
}

.input-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: center;
}

#send {
    margin-top: 10px;
}

#messages {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
}

.msg {
    display: flex;
    flex-direction: row;
    margin-top: 30px;
}

.msg-item {
    display: flex;
    flex-direction: column;
}

.avatar-box {
    display: flex;
    align-items: center;
}

.avatar {
    width: 40px;
    height: 40px;
}

.user {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 14px;
    color: gray;
    font-weight: bold;
}

.id {
    font-weight: 400;
    font-size: 10px;
}

.content {
    margin-top: 6px;
    margin-left: 10px;
    font-size: 14px;
}

.time {
    font-size: 11px;
    color: #ccc;
}

.online {
    font-size: 14px;
    line-height: 1.6;
    color: #000;
    padding-bottom: 10px;
}

#current {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 10px;
}

#uid {
    width: 120px;
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

#uname {
    width: 120px;
    display: inline;
    flex-wrap: nowrap;
    overflow: hidden;
    word-break: break-all;
}

#uimg {
    width: 50px;
    height: 50px;
}

.inputs {
    display: flex;
    flex-direction: column;
    align-items: center;
}