#editor-container{
    margin:5px;
    border:1px solid rgba(0,0,0,0.4);
    border-radius:2px;
    box-shadow: inset 0px 0px 5px rgba(0,0,0,0.4);
    display: flex;
    position:relative;
    max-height: 350px;

    &.messageLong{
        border: 1px solid rgba(255, 0, 0, 0.4);
        box-shadow: inset 0px 0px 5px rgba(255, 0, 0, 0.4);
    }

    #messageSendingLoader{
        display: flex;
        align-items: center;
        padding-right: 10px;
    }
}

#messageTooLongError{
    position: absolute;
    bottom: 2px;
    font-size: 10px;
    right: 10px;
    user-select: none;
    cursor: default;
}

#editor{
    flex: 1 1 auto;
    font-size:16px;
    overflow: auto;
    padding: 6px;
}

#emoji-container{
    position: relative;
}

app-emoji-picker{
    position: absolute;
    right: 0;
    top: -220px;
    width: 100%;
    max-width: 500px;
}

#style-menu{
    position:absolute;
    left: calc( 50% - 107px );
    top: -48px;
    border-radius:5px;
}

#style-menu-inner{
    padding: 5px;
    border-radius:5px;
    background-color: rgba(0,0,0,0.2);
}

#style-menu mat-icon{
    padding: 5px;
    font-size: 24px;
    cursor: pointer;
}

#actions{
    display: flex;
}