.container-block-compensar-chatbot {
  display: flex;
  gap: 1.25rem;
  flex-direction: column;
  align-items: flex-end;
  left: 13px;
  position: relative;

}

.container-block-compensar-chatbot #compensar-webrtc-widget {
  display: flex !important;
  width: auto; 
  height: 3rem;
  position: static;
  justify-content: flex-end;
  flex-direction: row;
}

#compensar-webrtc-widget .cw-launcher {
  position: static;
  right: auto;
  left: auto;
}

.cw-launcher .cw-toggle {
  width: 3rem;
  height: 3rem;
  color: #fff;
  background: linear-gradient(180deg, #8367CE 0%, #40297E 100%, #40297E 100%);
  box-shadow: 2px 2px 3px 0px var(--compensar-violeta-300) !important;
  border-radius: 32px; 
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              background 0.3s ease;
  overflow: hidden;
}

.cw-launcher .cw-custom-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
  color: #FFFFFF;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  visibility: hidden;
  margin-left: 0;
  transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.3s ease 0.1s,
              margin-left 0.4s ease;
}

.cw-toggle.cw-btn-hover-active {
  width: 162px; 
  padding: 12px 24px;
}

.cw-toggle.cw-btn-hover-active .cw-custom-text {
  max-width: 120px;
  opacity: 1;
  visibility: visible;
  margin-left: 8px;
}

#compensar-webrtc-widget .cw-toggle-icon {
  position: static;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

#compensar-webrtc-widget .cw-icon-close {
  display: none;
}

#compensar-webrtc-widget.cw-open .cw-toggle {
  width: 3rem !important; 
  min-width: 3rem !important;
  padding: 0 !important;
  background: #40297E !important; 
}

#compensar-webrtc-widget.cw-open .cw-icon-phone,
#compensar-webrtc-widget.cw-open .cw-custom-text {
  display: none !important;
}

#compensar-webrtc-widget.cw-open .cw-icon-close {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

#compensar-webrtc-widget.cw-open .cw-icon-close svg {
  width: 24px;
  height: 24px;
  fill: #FFFFFF;
}

#compensar-webrtc-widget.cw-open .cw-backdrop {
  background: none;
}

#compensar-webrtc-widget .cw-panel {
  right: 52px;
  bottom: -104px;
  width: 60vw;
  max-width: 380px;
}

@media (max-width: 992px) {
  #compensar-webrtc-widget .cw-panel { 
    top: -130px;
    position: absolute; 
  }
}