app/(default-layout)/conversation/components/message-box/MessageBox.module.scss
@use '/app/scss/mixins.scss' as *;
.wrapper {
    width: 100%;
    max-height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 40px 24px;

    @include respond-to('mobile') {
        padding: 40px 8px;
    }
}

.message-wrapper {
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.typing-users {
    display: flex;
    align-items: center;
    margin-top: 12px;
    padding-bottom: 12px;
}

.typing-loading {
    margin-left: 24px;
}

.loading-wrap {
    display: flex;
    padding: 24px 0;
    justify-content: center;
}

.mes-notification {
    @include font-default;
    color: var(--message-noti-color);
    width: 100%;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 500;
    margin: 4px 0;

    @include respond-to('mobile') {
        font-size: 1.2rem;
    }
}

@keyframes slideUp {
    0% {
        bottom: 0px;
    }
    100% {
        bottom: 12px;
    }
}

// scroll btn
.scroll-btn {
    position: absolute;
    bottom: 12px;
    right: 50%;
    transform: translateX(50%);
    display: block;
    @include center-align;
    width: 36px;
    height: 36px;
    background-color: var(--red);
    border-radius: 10rem;
    animation: slideUp 0.4s cubic-bezier(0.39, 0.575, 0.565, 1);
    box-shadow:
        rgba(0, 0, 0, 0.16) 0px 3px 6px,
        rgba(0, 0, 0, 0.23) 0px 3px 6px;

    &:hover {
        background-color: #924434;
        cursor: pointer;
    }

    .scroll-btn-icon {
        color: var(--black-low);
    }
}
