/* Shared by the initial launcher and the loaded support widget. */
#ticket-widget-launcher .ticket-lazy-side-tab,
.ticket-widget-root .ticket-side-tab {
  overflow: visible !important;
}

#ticket-widget-launcher .ticket-lazy-side-tab > .ticket-lazy-status-dot,
.ticket-widget-root .ticket-side-tab > .tab-status-dot,
body.paer-redesign :is(#ticket-widget-launcher .ticket-lazy-side-tab, .ticket-side-tab) :is(span.ticket-lazy-status-dot, div.tab-status-dot) {
  display: block !important;
  position: absolute !important;
  inset: -4px auto auto -4px !important;
  width: 12px !important;
  height: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  background: #22c55e !important;
  opacity: 1 !important;
  z-index: 2 !important;
  transform: none !important;
  pointer-events: none;
  animation: paer-ticket-status-pulse 2s ease-out infinite !important;
}

#ticket-widget-launcher .ticket-lazy-side-tab > .ticket-lazy-status-dot.is-offline,
.ticket-widget-root .ticket-side-tab > .tab-status-dot.is-offline,
body.paer-redesign :is(#ticket-widget-launcher .ticket-lazy-side-tab, .ticket-side-tab) :is(span.ticket-lazy-status-dot, div.tab-status-dot).is-offline {
  background: #ef4444 !important;
  animation: none !important;
  box-shadow: none !important;
}

@keyframes paer-ticket-status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgb(34 197 94 / 55%); }
  70% { box-shadow: 0 0 0 5px rgb(34 197 94 / 0%); }
}

@media (prefers-reduced-motion: reduce) {
  #ticket-widget-launcher .ticket-lazy-side-tab > .ticket-lazy-status-dot,
  .ticket-widget-root .ticket-side-tab > .tab-status-dot,
  body.paer-redesign :is(#ticket-widget-launcher .ticket-lazy-side-tab, .ticket-side-tab) :is(span.ticket-lazy-status-dot, div.tab-status-dot) {
    animation: none !important;
  }
}
