/* Full-width fixed container at the bottom */
#ps-chat-icon {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;

  display: flex !important;
  justify-content: flex-end !important; /* schiebt das Icon nach rechts */
  align-items: flex-end !important;

  padding: 0 20px 20px 0 !important; /* 20px Abstand rechts + unten */
  z-index: 99999 !important;

  /* Verhindert, dass uns Eltern mit pointer-events das Klicken wegnehmen */
  pointer-events: none !important;
}

/* die tatsächliche Bubble — sie ist klickbar (pointer-events: auto) */
.ps-chat-icon-inner {
  pointer-events: auto !important;
  width: 60px;
  height: 60px;
  background: #7a90a8;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease;
  margin: 0;
}

.ps-chat-icon-inner:hover {
  background: #48596b;
}

.ps-chat-icon-inner svg {
  width: 32px;
  height: 32px;
  display: block;
}

/* Kleine Bildschirme: kleiner, weiter innen */
@media (max-width: 480px) {
  #ps-chat-icon {
    padding: 0 12px 12px 0 !important;
  }
  .ps-chat-icon-inner {
    width: 52px;
    height: 52px;
  }
  .ps-chat-icon-inner svg {
    width: 28px;
    height: 28px;
  }
}
