/* Add custom CSS styles below */ 
#r4sx-channel-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;

  display: flex;
  align-items: center;
  gap: 10px;

  min-width: 210px;
  padding: 11px 16px;

  background: linear-gradient(135deg, #7b16d9, #b41ed3);
  color: #fff !important;

  border-radius: 16px;
  text-decoration: none !important;

  box-shadow:
    0 10px 30px rgba(75, 0, 130, 0.35),
    0 0 0 0 rgba(166, 36, 216, 0.45);

  font-family: inherit;
  direction: rtl;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;

  animation: r4sx-channel-pulse 2.2s infinite;
}

#r4sx-channel-float:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 34px rgba(75, 0, 130, 0.5);
}

.r4sx-channel-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.r4sx-channel-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.r4sx-channel-text strong {
  font-size: 15px;
  font-weight: 800;
}

.r4sx-channel-text small {
  margin-top: 2px;
  font-size: 11px;
  opacity: 0.9;
}

@keyframes r4sx-channel-pulse {
  0% {
    box-shadow:
      0 10px 30px rgba(75, 0, 130, 0.35),
      0 0 0 0 rgba(166, 36, 216, 0.45);
  }

  70% {
    box-shadow:
      0 10px 30px rgba(75, 0, 130, 0.35),
      0 0 0 12px rgba(166, 36, 216, 0);
  }

  100% {
    box-shadow:
      0 10px 30px rgba(75, 0, 130, 0.35),
      0 0 0 0 rgba(166, 36, 216, 0);
  }
}

@media (max-width: 767px) {
  #r4sx-channel-float {
    right: 12px;
    bottom: 92px;

    min-width: auto;
    max-width: calc(100% - 24px);

    padding: 10px 13px;
    border-radius: 14px;
  }

  .r4sx-channel-text strong {
    font-size: 13px;
  }

  .r4sx-channel-text small {
    font-size: 10px;
  }

  .r4sx-channel-icon {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #r4sx-channel-float {
    animation: none;
  }
}