.icmWAC_WindowContainer  * {
    text-align: start;    
}

.icmWAC_BubbleButton {
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    margin: 0px;
    overflow: visible;
    text-transform: none;
    height: fit-content;
    width: fit-content;
    cursor: pointer;
    background: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    border-style: solid;
    appearance: button;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 12px 0px;
    position: relative;
    box-sizing: border-box;
    border-radius: 100px;
    border-color: rgba(0, 0, 0, 0);
    line-height: 1.32;
    color: rgb(255, 255, 255);
    font-family: inherit;
    font-weight: bold;
    font-size: 0px;
    background-color: rgb(37, 211, 102);
    border-width: 0px;
    max-width: 820px;
    padding: 0px;
    transition: background-color 1000ms linear;
}

.icmWAC_BubbleButton::before, .icmWAC_BubbleButton::after {
    content: "";
    position: absolute;
    border: 1px solid rgb(37, 211, 102);
    inset: -2px;
    border-radius: 500px;
    opacity: 0;
    z-index: 0;
}

.icmWAC_WindowChatMessageButton,
.icmWAC_WindowChatMessageTextControlButtonObject{
    transition: background-color 1000ms linear;
}

.icmWAC_BubbleButton:hover,
.icmWAC_WindowChatMessageButton:hover,
.icmWAC_WindowChatMessageTextControlButtonObject:hover {
     background-color: rgb(46, 238, 116)!important;
     transition: background-color 1000ms linear;
}

.icmWAC_BubbleButtonBase {
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    text-transform: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    line-height: 1.32;
    color: rgb(255, 255, 255);
    font-family: inherit;
    font-weight: bold;
    font-size: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 16px;
    border-radius: calc(100px);
    background-color: rgba(0, 0, 0, 0);
}

.icmWAC_BubbleButtonIcon{
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    text-transform: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    line-height: 1.32;
    color: rgb(255, 255, 255);
    font-family: inherit;
    font-weight: bold;
    font-size: 0px;
    width: 32px;
    height: 32px;
    box-sizing: border-box;
}

.icmWAC_BubbleButtonIcon > div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: inherit;
    height: inherit;
}

.icmWAC_BubbleButtonIcon svg {
    transition: fill 0.2s;
    display: block;
    object-fit: contain;
    width: 32px;
    height: 32px;
    fill: currentcolor;
}

.icmWAC_BubbleButtonEllipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.icmWAC_WindowChatMessageTextContainer {
    overflow: auto;
    min-height: 28px;
    max-height: 64px;
    padding-inline-end: 42px;
    width: 100%;
}

.icmWAC_WindowChatMessageTextMeasure {
    font-size: 15px;
    font-weight: 400;
    position: absolute;
    z-index: -999;
    /* height: 0px; */
    overflow: hidden;
    white-space: pre;
    visibility: hidden;
    word-wrap: break-word;
    padding:0px;
    margin:0px;
}

.icmWAC_WindowChatMessageTextControlBase {
    position: relative;
    display: flex;
    border: 1px solid;
    cursor: text;
}

.icmWAC_WindowChatMessageTextControlBaseInner {
    position: relative;
    flex: 1 1 0%;
}

.icmWAC_WindowChatMessageTextControlBaseInputWrapper {
    position: relative;
    z-index: 1;
}

.icmWAC_WindowChatMessageTextControlBaseTextArea {
    line-height: 0px;
    font-style: inherit;
    font-variant: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    font-family: inherit;
    color: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 0px;
    padding: 0px;
    box-shadow: none;
    transform: translate3d(0px, 0px, 0px);
    border: none !important;
    outline: none !important;
    background: transparent !important;
    resize:none;
    overflow: auto;
    overflow-y: clip;
    transition: height 0.25s;
}

.icmWAC_WindowChatMessageTextControlBaseTextArea::placeholder {
    color: rgba(17, 17, 17, 0.3);
    font-style: normal;
    font-weight: 400;
}

.icmWAC_WindowChatMessageTextControlBaseTextArea:focus-visible{
    outline-offset: 0px;;
}

.icmWAC_WindowChatMessageTextControlButtonContainer {
    position: absolute;
    bottom: 8px;
    inset-inline-end: 12px;
    transition: right 0.3s;
}

.icmWAC_WindowChatMessageTextControlButtonObject {
    position: relative;
    height: fit-content;
    width: fit-content;
    max-width: 100%;
    padding: 0px;
    line-height: 1.32;
    cursor: pointer;
    box-sizing: border-box;
    background: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    border-style: solid;

    transform: scaleX(1.1) scaleY(1.1);
}

.icmWAC_WindowChatMessageTextControlButtonObject:dir(rtl) {
    transform: scaleX(-1.1) scaleY(1.1);
}

.icmWAC_WindowChatMessageTextControlButtonObjectOverlay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.icmWAC_WindowChatMessageTextControlButtonEllipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.icmWAC_WindowChatMessageTextControlButtonObjectIcon {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

/* scheda nascosta */
.icmWAC_WindowContainerHidden {
    z-index: 2147483647;
    width: 340px;
    transition: opacity 0.3s, margin 0.3s, visibility 0.3s;
    pointer-events: none;
    touch-action: none;
    visibility: hidden;
    margin-bottom: 0px;
    opacity: 0;
}

.icmWAC_WindowContent {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 30px 0px;
}

.icmWAC_WindowCloser {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    opacity: 0.4;
    cursor: pointer;
    transition: 0.3s;
    outline: transparent;
    justify-content: center;
    align-items: center;
}

.icmWAC_WindowCloser:dir(rtl){
    right: auto;
    left: 8px;
}

.icmWAC_WindowCloser::before {
    transform: rotate(45deg);
}

.icmWAC_WindowCloser::after {
    transform: rotate(-45deg);
}

.icmWAC_WindowCloser::before, .icmWAC_WindowCloser::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 2px;
    background-color: rgb(255, 255, 255);
    display: block;
    border-radius: 2px;
}

.icmWAC_WindowHeader {
    color: rgb(17, 17, 17);
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgb(0, 128, 105);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.icmWAC_WindowHeaderAvatar {
    display: block;
    flex-shrink: 0;
    overflow: inherit;
    cursor: pointer;
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
}

.icmWAC_WindowHeaderAvatar::before {
    background-color: rgb(74, 213, 4);
    display: block;
    border: 2px solid rgb(0, 128, 105);
    content: "";
    bottom: 0px;
    right: 0px;
    width: 12px;
    height: 12px;
    box-sizing: border-box;
    position: absolute;
    z-index: 2;
    border-radius: 50%;
}

.icmWAC_WindowHeaderAvatarBackground {
    display: flex;
    justify-content: center;
    align-items: center;
    width: inherit;
    height: inherit;
    background: linear-gradient(rgb(229, 229, 229) 0%, rgb(203, 203, 203) 100%);
    transition: opacity 1s ease-out;
    opacity: 1;
    border-radius: 50%;
    overflow: hidden;
}

.icmWAC_WindowHeaderAvatarBackground::after {
    content: "";
    position: absolute;
    inset: 0px;
    pointer-events: none;
    border-radius: inherit;
    border: 1px solid rgba(17, 17, 17, 0.05);
}

.icmWAC_WindowHeaderAvatar img {
    object-fit: cover;
}

.icmWAC_WindowHeaderAvatarStyled {
    object-fit: cover;
    display: inline-block !important;
    position: static !important;
    margin: 0px !important;
    padding: 0px !important;
    max-width: none !important;
    height: inherit !important;
    width: inherit !important;
    visibility: visible !important;
}

.icmWAC_WindowHeaderInfo {
    margin-left: 16px;
    margin-right: 16px;
    width: 100%;
    overflow: hidden;
}

.icmWAC_WindowHeaderInfoName {
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    max-height: 60px;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: rgb(255, 255, 255);
}

.icmWAC_WindowHeaderInfoTime {
    font-size: 13px;
    line-height: 18px;
    margin-top: 4px;
    color: rgb(255, 255, 255);
}

.icmWAC_WindowChatComponent {
    position: relative;
    padding: 10px 20px 12px;
    overflow: auto;
    max-height: 382px;
}

.icmWAC_WindowChatTime {
    text-align: center;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.icmWAC_WindowChatTimeInner {
    padding: 4px;
    border-radius: 5px;
    z-index: 1;
}

.icmWAC_WindowChatTimeValue {
    font-size: 10px;
    position: relative;
    opacity: 0.3;
    color: rgb(17, 17, 17);
}

.icmWAC_WindowChatMessage {
    position: relative;
    display: flex;
    z-index: 1;
    transition: opacity 0.3s;
}

.icmWAC_WindowChatMessageDotsContainer {
    opacity: 1;
    pointer-events: none;
}

.icmWAC_WindowChatMessageDots {
    position: absolute;
    top: inherit;
    left: inherit;
    background-color: rgb(255, 255, 255);
    width: 53px;
    height: 32px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.1s;
    z-index: 1;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 0px 0px;
}

.icmWAC_WindowChatMessageDotsInner {
    position: relative;
    display: flex;
}

.icmWAC_WindowChatMessageDot01 {
    height: 5px;
    width: 5px;
    margin: 0px 2px;
    background-color: rgb(17, 17, 17);
    border-radius: 50%;
    position: relative;
    animation: 1s linear 0s infinite normal none running icmwacdotanimation;
    display: inline-block !important;
}

.icmWAC_WindowChatMessageDot02 {
    height: 5px;
    width: 5px;
    margin: 0px 2px;
    background-color: rgb(17, 17, 17);
    border-radius: 50%;
    position: relative;
    animation: 1s linear 0.1s infinite normal none running icmwacdotanimation;
    display: inline-block !important;
}

.icmWAC_WindowChatMessageDot03 {
    height: 5px;
    width: 5px;
    margin: 0px 2px;
    background-color: rgb(17, 17, 17);
    border-radius: 50%;
    position: relative;
    animation: 1s linear 0.2s infinite normal none running icmwacdotanimation;
    display: inline-block !important;
}


.icmWAC_WindowChatMessageText:dir(rtl) {
    border-radius: 16px 0px 16px 16px;
}

.icmWAC_WindowChatMessageTextArrow {
    position: absolute;
    top: 0px;
    left: -9px;
}

.icmWAC_WindowChatMessageTextArrow:dir(rtl){
    left: auto;
    right: -9px;
    transform: scaleX(-1);
}

.icmWAC_WindowChatMessageTextContent {
    color: rgb(17, 17, 17);
}

.icmWAC_WindowChatMessageTextContentGroup {
    display: flex;
    align-items: flex-end;
    color: inherit;
}

.icmWAC_WindowChatMessageTextContentGroup:last-child {
    flex: 0 1 0%;
}

.icmWAC_WindowChatMessageTextContentGroup:first-child {
    flex: 1 1 0%;
}

.icmWAC_WindowChatMessageTextContentDetails {
    font-size: 15px;
    line-height: 20px;
    overflow: hidden;
}

.icmWAC_WindowChatMessageButton {
    position: relative;
    height: fit-content;
    width: fit-content;
    max-width: 100%;
    padding: 0px;
    line-height: 1.32;
    cursor: pointer;
    box-sizing: border-box;
    background: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    border-style: solid;
    backface-visibility: hidden;
    overflow: hidden;
}

.icmWAC_WindowChatMessageButtonOverlay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.icmWAC_WindowChatMessageButton span > div, .icmWAC_WindowChatMessageButton svg {
    width: 24px;
    height: 24px;
    margin-inline-end: 5px;
    fill: #ffffff;
}

.icmWAC_WindowChatMessageButtonShape > div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: inherit;
    height: inherit;
}

::-webkit-scrollbar {
  background-color:rgba(255,255,255,0);width:6px;
}

/* Track */
::-webkit-scrollbar-track {
  background-color:transparent;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
 background-color:rgba(17,17,17,0.1);
 border-radius:6px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background-color:rgba(17,17,17,0.3);
}

.icmWAC_WindowChatMessageButtonImage svg{
    transition: fill 0.2s;
    display: block;
    object-fit: contain;
    width: 16px;
    height: 16px;
    fill: currentcolor;
}

@keyframes icmwacdotanimation {
    0%, 100% {
        opacity: 0.4;
    }
    
    50% {
        opacity: 0.75;
    }         
}