.chat-wrapper__first {
    font-family: "Open Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
    line-height: 20px;
    color: rgb(32, 34, 37);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 20px 1px;
    overflow: hidden;
    transform-origin: right bottom;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 375px;
    height: 500px;
    max-height: calc(100vh - 48px);
    border-radius: 16px;
}

.chat-main {
    overflow: hidden;
    -webkit-box-flex: 1;
    flex-grow: 1;
    position: relative;
    background: rgb(255, 255, 255);
    height: 100%;
    box-sizing: border-box;
}

.chat-main *,
.chat-main ::before,
.chat-main ::after {
    box-sizing: border-box;
}

.bQLuUx {
    width: 100%;
    background: rgb(255, 255, 255);
    border-top: 0px solid rgb(229, 229, 229);
    padding-bottom: 16px;
}

.chat-footer {
    width: 100%;
    background: rgb(255, 255, 255);
    border-top: 1px solid rgb(229, 229, 229);
    padding-bottom: 16px;
}

.chat-main__block {
    pointer-events: auto;
    overflow-y: scroll;
    position: absolute;
    box-sizing: border-box;
    top: 0px;
    bottom: 0px;
    left: 0px;
    padding-right: 17px;
    padding-left: 48px;
    width: calc(100% + 17px);
}

.chat-main__block::-webkit-scrollbar {
    width: 0px;
    display: block;
}

.chat-main__scroll {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 4px;
    height: 100%;
}

.chat-main__scroll-min {
    position: absolute;
    right: 0px;
    width: 4px;
    top: 0px;
    height: 0px;
    background: black;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 300ms ease 0s;
}

.chat-main__block-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px 12px 0px 0px;
    box-sizing: border-box;
    transform: translate3d(0px, 40px, 0px);
    opacity: 0;
    animation: 0.2s ease 0.2s 1 normal both running igTIkr;
}

.chat-main__block-list .Eventstyles__Event-sc-umtnxq-0 {
    margin-left: -31px;
}

.chat-top {
    background-image: linear-gradient(162deg, rgb(249, 72, 72), rgb(255, 110, 110) 75%);
    padding: 16px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    justify-content: space-between;
    flex-shrink: 0;
}

.chat-top img {
    margin-right: 16px;
}

.chat-top a {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.chat-top__left-title {
    color: rgb(255, 255, 255);
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    pointer-events: auto;
    word-break: break-word;
}

.chat-top__left {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}


.chat-top__left-img {
    height: 32px;
    margin-right: 16px;
    width: 32px;
    min-width: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: rgb(255, 255, 255);
}

.chat-close {
    width: 24px;
    min-width: 24px;
    height: 24px;
    position: relative;
    cursor: pointer;
    transform-origin: center center;
    transition: transform 250ms ease 0s;
    background: none;
    border: none;
    outline: none;
}

.chat-close span {
    display: block;
    background: rgb(255, 255, 255);
    position: absolute;
    width: 16px;
    height: 2px;
    left: 4px;
    top: 11px;
}

.chat-close span:first-of-type {
    transform: rotate(45deg);
}

.chat-close span:last-of-type {
    transform: rotate(-45deg);
}

.chat-main__time {
    margin-left: -16px;
    color: rgb(116, 118, 120);
    text-align: center;
    width: 100%;
    font-size: 13px;
    line-height: 16px;
    margin-bottom: 16px;
    animation: 0.4s ease 0.3s 1 normal forwards running iEVAgx;
    opacity: 0;
}

.chat-input {
    width: 100%;
}

.fQwoSd {
    background-color: rgb(247, 247, 247);
    color: rgb(32, 34, 37);
    box-sizing: border-box;
    border-radius: 16px;
    border: none;
    display: block;
    font-size: 16px;
    max-height: 112px;
    min-height: 32px;
    overflow: auto;
    padding: 4px 16px;
    position: relative;
    resize: none;
    transition: color 300ms ease 0s, box-shadow 300ms ease 0s;
    width: 100%;
    font-family: inherit;
    height: auto;
    box-shadow: none;
    appearance: none;
    text-transform: none;
    line-height: 24px;
}

.fQwoSd:focus {
    background-color: rgb(255, 255, 255);
    box-shadow: rgb(123, 121, 121) 0px 0px 0px 1px inset;
    border: none;
}

.chat-send {
    display: block;
    width: 32px;
    height: 32px;
    background-color: rgb(123, 121, 121);
    border: none;
    border-radius: 50%;
    margin-left: 5px;
    pointer-events: auto;
    position: relative;
    flex-shrink: 0;
    min-width: 0px;
    max-width: 100%;
    margin-top: auto;
}

.chat-send::after {
    display: block;
    content: "";
    position: absolute;
    left: 11px;
    top: 12px;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgb(255, 255, 255);
    border-bottom: 2px solid rgb(255, 255, 255);
    transform-origin: center center;
    transform: rotate(-45deg);
    box-sizing: border-box;
}

.chat-send:hover {
    background-color: rgb(136, 134, 134);
    cursor: pointer;
    border: none;
    box-shadow: none;
}

.chat-send:disabled {
    opacity: 0.3;
    background-color: rgb(123, 121, 121);
}

.chat-send:disabled:hover {
    background-color: rgb(123, 121, 121);
    cursor: default;
}

.chat-footer__block {
    width: 100%;
    padding: 16px 20px 0px;
    position: relative;
    display: flex;
    box-sizing: border-box;
}

.exIOpX {
    display: block;
    transition: height 0.6s ease 0s, opacity 0.2s ease 0.2s;
    max-height: 125px;
    opacity: 1;
    pointer-events: auto;
}

.message_text {
    opacity: 1;
   
}

.message_text em,
.message_text em>*,
.message_text i,
.message_text i>* {
    font-style: italic;
}

.message_text strong,
.message_text strong>*,
.message_text b,
.message_text b>* {
    font-weight: bold;
}

.message_text a,
.message_text a>* {
    text-decoration: underline;
}

.message_text ul,
.message_text ol,
.message_text p {
    margin: 0px;
}

.message_text ul {
    list-style-type: initial;
    padding-left: 18px;
}

.message_text ol {
    list-style-type: decimal;
    padding-left: 14px;
}

.message_container {
    margin-bottom: 4px;
    max-width: 100%;
    padding: 6px 16px;
    backface-visibility: hidden;
    line-height: 20px;
    text-align: left;
    word-break: break-word;
    transform-origin: 0px 8px;
    opacity: 0;
    position: relative;
    animation: auto ease 0s 1 normal none running none;
    border-radius: 4px 16px 16px 4px;
    background-color: rgb(244, 244, 244);
    color: rgb(32, 34, 37);

}

.message_container:first-of-type {
    border-top-left-radius: 16px;
}

.message_container:last-of-type {
    border-bottom-left-radius: 16px;
    margin-bottom: 0px;
}

.message_container .Messagestyles__StatusMessage-sc-342ehj-0 {
    left: 0px;
    min-width: 200px;
}

.message_container a {
    cursor: pointer;
    color: rgb(32, 34, 37);
}

.eYYQTp{
  border: 1px solid rgb(32, 34, 37);
  background: #fff;
  color:   rgb(32, 34, 37)
}
.eYYQTp:hover {
    cursor: pointer;
    background: rgb(123, 121, 121);
    color: #fff;
}

.message_container img {
    display: block;
    max-width: 100%;
    height: unset !important;
}

.message_container-sec {
    margin-bottom: 4px;
    max-width: 100%;
    padding: 6px 16px;
    backface-visibility: hidden;
    line-height: 20px;
    text-align: left;
    word-break: break-word;
    transform-origin: 0px 8px;
    opacity: 0;
    position: relative;
    animation: auto ease 0s 1 normal none running none;
    border-radius: 16px 4px 4px 16px;
    background-color: rgb(123, 121, 121);
    color: rgb(255, 255, 255);

}

.message_container-sec:first-of-type {
    border-top-right-radius: 16px;
}

.message_container-sec:last-of-type {
    border-bottom-right-radius: 16px;
    margin-bottom: 0px;
}

.message_container-sec .Messagestyles__MessageHolder-sc-342ehj-1 {
    animation: auto ease 0s 1 normal none running none;
    opacity: 1;
}

.message_container-sec .Messagestyles__StatusMessage-sc-342ehj-0 {
    right: 0px;
    min-width: 200px;
}

.message_container-sec a {
    cursor: pointer;
    color: rgb(255, 255, 255);
}

.message_container-sec img {
    display: block;
    max-width: 100%;
    height: unset !important;
}

.first-group_container {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.message_img {
    position: absolute;
    border-radius: 50%;
    background: rgb(244, 244, 244);
    overflow: hidden;
    width: 26px;
    height: 26px;
    display: block;
    top: 6px;
}

.message_img svg {
    width: 100%;
    height: 100%;
}

.first-group {
    display: block;
    max-width: 85%;
    position: relative;
    margin-bottom: 16px;
    width: 100%;
    align-self: flex-start;
}

.first-group .MessageGroupstyles__Container-sc-m69p9q-0 {
    align-items: flex-start;
}

.first-group .MessageGroupstyles__AvatarWrapper-sc-m69p9q-1 {
    left: -6px;
    transform: translate3d(-100%, 0px, 0px);
}

.first-group .MessageGroupstyles__TypingContainer-sc-m69p9q-2 {
    background-color: rgb(244, 244, 244);
}

.first-group .MessageGroupstyles__TypingContainer-sc-m69p9q-2:last-of-type:not(:first-of-type) {
    border-top-left-radius: 4px;
}

.first-group .MessageGroupstyles__TypingContainer-sc-m69p9q-2 .MessageGroupstyles__Dot-sc-m69p9q-3 {
    background-color: rgb(116, 118, 120);
}

.second-group {
    display: block;
    max-width: 85%;
    position: relative;
    margin-bottom: 16px;
    width: 100%;
    align-self: flex-end;
}

.second-group .MessageGroupstyles__Container-sc-m69p9q-0 {
    align-items: flex-end;
}

.second-group .MessageGroupstyles__AvatarWrapper-sc-m69p9q-1 {
    right: -6px;
    transform: translate3d(100%, 0px, 0px);
}

.second-group .MessageGroupstyles__TypingContainer-sc-m69p9q-2 {
    background-color: rgb(123, 121, 121);
}

.second-group .MessageGroupstyles__TypingContainer-sc-m69p9q-2:last-of-type:not(:first-of-type) {
    border-top-left-radius: 4px;
}

.second-group .MessageGroupstyles__TypingContainer-sc-m69p9q-2 .MessageGroupstyles__Dot-sc-m69p9q-3 {
    background-color: rgb(247, 247, 247);
}

.chat-button {
    z-index: 2147483647;
    margin: 0px;
    padding: 0px;
    font-family: "Open Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 20px;
    inset: auto 0px 0px;
    color: rgb(32, 34, 37);
    width: auto;
    height: auto;
}

.chat-button button:focus,
.chat-button a:focus,
.chat-button input:focus,
.chat-button textarea:focus {
    outline: 0px;
}

.chat-button i,
.chat-button i>* {
    font-style: italic;
}

.chat-button b,
.chat-button b>* {
    font-weight: bold;
}

.chat-wrapper {
    position: fixed;
    box-sizing: border-box;
    height: auto;
    width: auto;
    top: auto;
    bottom: 20px;
    right: 20px;
}

.chat-wrapper.enter {
    opacity: 0;
    transform: translateY(20px);
}

.chat-wrapper.enter-active {
    opacity: 1;
    transform: translateY(0px);
    transition: all 400ms ease 0s;
}

.chat-wrapper.exit {
    opacity: 1;
    transform: translateY(0px);
}

.chat-wrapper.exit-active {
    opacity: 0;
    transform: translateY(20px);
    transition: all 200ms ease 0s;
}

@-webkit-keyframes igTIkr {
    0% {
        transform: translate3d(0px, 40px, 0px);
        opacity: 0;
    }

    100% {
        transform: translate3d(0px, 0px, 0px);
        opacity: 1;
    }
}

@keyframes igTIkr {
    0% {
        transform: translate3d(0px, 40px, 0px);
        opacity: 0;
    }

    100% {
        transform: translate3d(0px, 0px, 0px);
        opacity: 1;
    }
}

@-webkit-keyframes iEVAgx {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes iEVAgx {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes daBCbQ {
    0% {
        transform: translate3d(0px, 30px, 0px);
        opacity: 0;
    }

    100% {
        transform: translate3d(0px, 0px, 0px);
        opacity: 1;
    }
}

@keyframes daBCbQ {
    0% {
        transform: translate3d(0px, 30px, 0px);
        opacity: 0;
    }

    100% {
        transform: translate3d(0px, 0px, 0px);
        opacity: 1;
    }
}

@-webkit-keyframes RcxFP {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes RcxFP {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


.typing-animation {
  display: flex;
  align-items: center;
  height: 15px;
}

.circle {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #666;
  margin-right: 10px;
  animation: jump 1.0s ease-in-out infinite;
}

.circle:nth-child(2) {
  animation-delay: 0.7s;
}

.circle:nth-child(3) {
  animation-delay: 0.9s;
}

@keyframes jump {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes RcxFP {
  0%, 100% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes typing {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.hVwIng {
    opacity: 1;
    /*display: inline-block;*/
  /*white-space: nowrap;*/
  /*animation: typing 1s steps(40, end) forwards; */
   
}

.typing-animation {
  overflow: hidden;
}

.text {
  display: inline-block;
  white-space: nowrap;
  animation: typing 2s steps(40, end) infinite;
}

.slide-in {
    animation: slideIn 0.2s forwards; /* Додаємо анімацію slideIn */
    
}

.slide-in .message_text {
    opacity: 0;
    animation: 0.2s ease 0.2s 1 normal forwards running RcxFP;

}

@keyframes slideIn {
  from { transform: translateX(-100%); } /* Початковий стан - зліва від екрану */
  to { transform: translateX(0); } /* Кінцевий стан - зліва до права екрану */
}