.chat-input {
    position: relative;
    width: 100%;
    height: auto;
    background-color: #e6e6e6;
    flex-shrink: 0;
    margin-bottom: 8px;

    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: 63px;
        height: stretch;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: $cpd;
        margin: 8px 0px;

        svg {
            width: 24px;
            height: 24px;
            fill: #fff;
            opacity: 0.87;
        }

        &:hover{ @include bs-4; }	

        &: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;
        }
    }
}