.chat-content{
    background-color: var(--bs-secondary-background);
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: .6rem 1rem;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
    --layer-transition: 300ms cubic-bezier(0.33, 1, 0.68, 1);
    transition: bottom 150ms ease-out,transform var(--layer-transition);
    overflow-anchor: none;
    pointer-events: auto;
}

[data-bs-theme=dark] {
    .chat-content{
        background-color: transparent;
    }
}



.chat-bottom {
    box-shadow: rgb(0 0 0 / 4%) 0px -2px 4px 0px;
}


.chat-bottom .btn-transparent:disabled svg,
.chat-bottom .btn-transparent.disabled svg{
    fill: #A6ADB4;
}

.message-content {
    margin: 0;
    word-break: break-word;
    white-space: pre-wrap;
    text-align: initial;
    display: block;
    unicode-bidi: plaintext;
    border-radius: 0.25rem;
    position: relative;
}

.message-item  {
    background-color: #fff;
    border-radius: 1rem 1rem 0;
    padding: 0.6rem .8rem;
    font-size: .86rem;
    line-height: 1.3;
    max-width: 30rem;
}

[data-bs-theme=dark] {
    .message-item  {
        background-color: #2e2e2e;
    }
}

.message-primary {
    flex-direction: row-reverse;
}

.message-primary .message-item {
    background-color: #7290FB;
    color: #fff;
}

.message-primary .message-item .message-status-icon {
    fill: #ffffff;
}

.message-status-icon {
    margin-left: .6rem;
    height: .8rem;
    width: .8rem;
    opacity: 0.6;
    fill: #11243D;
}

.message-date {
    opacity: 0.6;
    font-size: .8rem;
}


.ellipsis {
    display: inline-flex;
    width: 1rem;
    overflow: hidden;
}

.ellipsis::after {
    content: "...";
    animation: dot-animation 1s steps(4, start) infinite;
}

@keyframes dot-animation {
    from {
        transform: translateX(-1rem);
    }
}