.chat-input {
    position: relative;
    width: 100%;
    height: auto;
    background-color: #d3d3d3;
    flex-shrink: 0;

    input {
        width: calc(100% - 112px);
        margin: 8px 10px;
        padding: 8px;
        min-height: 50px;
        border-radius: 32px;
        font-size: 14px;
        font-weight: 500;
        opacity: 0.87;
        background-color: white;
        border: 1px solid transparent;
        caret-color: #4FC3F7;
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }

    span {
        position: absolute;
        top: 0px;
        width: 56px;
        height: stretch;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #000;

        svg {
            width: 24px;
            height: 24px;
            fill: #fff;
            opacity: 0.87;
        }

        &:hover {
            background-color: rgba($color: #000000, $alpha: .5);
        }

        &:active {
            background-color: #d9d9d9;
        }

        &:nth-child(1) {
            svg {
                transform: rotate(45deg);
            }
        }

        &:nth-child(2) {
            right: 3%;
        }
    }

    &.chat-input-disabled {
        opacity: 0.5;
        pointer-events: none;
        user-select: none;

        input {
            background-color: transparent;
        }
    }
}

.fullcont {
    .chat {
        .chat-input {
            position: relative;
            width: 100%;
            height: auto;
            background-color: #d3d3d3;
            flex-shrink: 0;

            input {
                width: 60%;
                margin: 8px 10px;
                padding: 8px;
                min-height: 50px;
                border-radius: 32px;
                font-size: 14px;
                font-weight: 500;
                opacity: 0.87;
                background-color: white;
                border: 1px solid transparent;
                caret-color: #4FC3F7;
                outline: none;
                -webkit-tap-highlight-color: transparent;
            }

            span {
                position: absolute;
                top: 0px;
                width: 56px;
                height: stretch;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;

                svg {
                    width: 24px;
                    height: 24px;
                    fill: black;
                    opacity: 0.87;
                }

                &:hover {
                    background-color: #dedede;
                }

                &:active {
                    background-color: #d9d9d9;
                }

                &:nth-child(1) {
                    svg {
                        transform: rotate(45deg);
                    }
                }

                &:nth-child(2) {
                    right: 25%;
                }
            }

            &.chat-input-disabled {
                opacity: 0.5;
                pointer-events: none;
                user-select: none;

                input {
                    background-color: transparent;
                }
            }
        }
    }
}