.wrapper {
    width: 100%;
    padding: 1.5rem;
    border: 1px solid var(--stroke-color);
    border-top:none;
    border-bottom-right-radius:14px;
    border-bottom-left-radius:14px;
    // margin:.5rem 0;
    display: flex;
}

.left {
    padding-right: 1rem;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.right {
    flex: 1;
    width: calc(100% - 65px);
    textarea {
        font-size: 1.1rem;
        min-height: 50px;
        transition: all .15s ease-out;
        color: var(--text-color);
        &.open {
            min-height: 150px;
        }
    }
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    span {
        font-size: .9rem;
        color: var(--grey-color);
    }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    z-index: 12;
    .wrapper {
        z-index: 14;
        position: relative;
        flex-wrap: wrap;
        background: var(--white-color);
        max-width: 700px;
        border-radius: 14px;
        padding: 2rem;
        border: 1px solid var(--stroke-color);
        @media screen and (max-width: 1040px) {
            max-width: 95%;
            padding: 1rem;
        }
        .postWrapper {
            width: 100%;
            .post {
                cursor: initial;
                padding: 0;
                border:none;
                margin:0;
                &::before {
                    left: 1.5rem;
                }
                &:hover {
                    background: transparent;
                }
            }
        }
        textarea {
            min-height: 150px;
        }
    }
    .modalWrapper {
        padding-top: 2rem;
        display: flex;
        width: 100%;
        position: relative;
        &::before {
            width: 1px;
            height: 2rem;
            top: 0;
            left: 1.5rem;
            background: var(--stroke-color);
            content: '';
            display: block;
            position: absolute;
            z-index: -1;
        }
    }
}

.backdrop {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 11;
}

.quoteWrapper {
    padding-top: 0 !important;
    &::before {
        display: none !important;
    }
    .footer {
        margin-top: .5rem;
    }
}

.files {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    gap: .25rem;
    margin: .5rem 0;
    .file {
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        max-height: 400px;
        border-radius: 14px;
        flex: 1;
        position: relative;
        min-width: calc(50% - .25rem);
        border: 1px solid var(--stroke-color);
        &>span {
            position: absolute;
            top: 1rem;
            left: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            cursor: pointer;
            background: rgba(255, 255, 255, .8);
            border-radius: 10px;
            img {
                width: 100%;
                height: auto;
            }
        }
        &>img {
            height: 100%;
            width: 100%;
            object-fit: cover;
        }
    }
}