.psChatCurrentUser {
    width: calc(100% - 100px);
    margin-top: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--line)
}

.psChatMessages {
    margin-top: 16px;
    margin-bottom: 25px;
    width: calc(100% - 100px);
    height: calc(100% - 225px);
    overflow: auto;
}

.psChatMessage {
    font-size: 18px;
    margin-top: 10px;
    margin-right: 16px;
}

.psChatMessage span {
    padding: 10px 20px;
    border-radius: 3rem;
}

.messageIncoming {
    display: flex;
    justify-content: flex-start;
}

.messageIncoming span {
    background-color: var(--bg-main2);
}

.messageSent {
    display: flex;
    justify-content: flex-end;
}

.messageSent span {
    background-color: var(--btn-selected);
}

.psChatInput {
    margin-bottom: 25px;
    width: calc(100% - 100px);
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.psChatInputDiv {
    background-color: var(--bg-main2);
    border-radius: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 45px;
    transition: .3s;
}

.psChatInputTextInput {
    background-color: transparent;
    padding-left: 10px;
    padding-bottom: 2px;
    width: calc(100% - 10px);
    margin-top: 5px;
    height: 90%;
    border: none;
    outline: none;
    color: var(--font);
    font-family: var(--font-name);
    font-size: 16px;
    transition: .3s;
}

.psChatInputEmoji {
    color: var(--btn-main);
    cursor: pointer;
    width: 45px;
    display: flex;
    align-items: center;
    transition: .3s;
}

.psChatInputEmoji svg {
    fill: currentColor;
    width: 65%;
    height: 65%;
    margin-right: 3px;
}

.psChatInputEmoji:hover {
    color: var(--btn-hover);
    transition: .3s;
}

.psChatInputEmoji:active {
    color: var(--btn-selected);
    transition: .3s;
}

.sent {
    animation: sent 1.6s ease-in-out;
    opacity: 1;
    margin-left: 0;
    margin-bottom: 0;
    transition: .3s;
}

@keyframes sent {
    0% {
        margin-left: 0;
        margin-bottom: 0;
    }

    50% {
        margin-left: 200px;
        margin-bottom: 200px;
    }

    55% {
        opacity: 0;
    }

    65% {
        margin-left: 0;
        margin-bottom: 0;
    }

    100% {
        opacity: 1;
    }
}

.error {
    animation: error .3s ease-in-out;
    margin-left: 0;
    transition: .3s;
}

@keyframes error {
    0% {
        fill: var(--error);
        margin-left: -10px;
    }

    25% {
        fill: var(--error);
        margin-left: 10px;
    }

    50% {
        fill: var(--error);
        margin-left: -10px;
    }

    75% {
        fill: var(--error);
        margin-left: 10px;
    }

    100% {
        fill: currentColor;
        margin-left: 0;
    }
}