.vo-support-chat__launcher {
  background-color: transparent;
  border: 0;
  border-radius: 50%;
  bottom: 24px;
  cursor: pointer;
  height: 64px;
  padding: 0;
  position: fixed;
  right: 24px;
  transition: filter 120ms ease, transform 120ms ease;
  width: 64px;
  z-index: 9999;
}

.vo-support-chat__launcher::before {
  background-image: var(--vo-support-chat-launcher-icon);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.28));
  inset: 0;
  pointer-events: none;
  position: absolute;
  transition: filter 120ms ease;
}

.vo-support-chat__launcher:not(:disabled):hover,
.vo-support-chat__launcher:not(:disabled):focus-visible {
  transform: scale(1.06);
}

.vo-support-chat__launcher:not(:disabled):hover::before,
.vo-support-chat__launcher:not(:disabled):focus-visible::before {
  filter: drop-shadow(0 9px 16px rgba(0, 0, 0, 0.34));
}

.vo-support-chat__launcher:focus-visible {
  outline: 3px solid #006dff;
  outline-offset: 3px;
}

.vo-support-chat__launcher:active {
  filter: brightness(0.97);
}

.vo-support-chat__launcher--busy {
  opacity: 0.72;
  cursor: wait;
}

.vo-support-chat__buff-panel {
  bottom: 88px;
  height: min(720px, calc(100vh - 112px));
  height: min(720px, calc(100dvh - 112px));
  max-width: calc(100vw - 48px);
  position: fixed;
  right: 24px;
  transform: scale(0.9);
  transform-origin: bottom right;
  width: 480px;
  z-index: 9999;
}

.vo-support-chat__buff-panel[hidden] {
  display: none;
}

.vo-support-chat__buff-panel app-assistant-chat-widget {
  display: block;
  height: 100%;
  width: 100%;
}

.vo-support-chat__salesforce {
  bottom: 0;
  height: 60px;
  position: fixed;
  right: 0;
  width: 185px;
  z-index: 999;
}

.vo-support-chat__salesforce-frame {
  border: 0;
  height: 100%;
  width: 100%;
}

@media (max-width: 600px) {
  .vo-support-chat__buff-panel {
    bottom: 88px;
    height: calc(100vh - 112px);
    height: calc(100dvh - 112px);
    left: 16px;
    max-width: none;
    right: 16px;
    transform: none;
    width: auto;
  }

  .vo-support-chat__launcher {
    bottom: 16px;
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vo-support-chat__launcher,
  .vo-support-chat__launcher::before {
    transition: none;
  }
}
