:root {
  --cs-primary: #01747b;
  --cs-primary-light: #029ca6;
  --cs-online: #22c55e;
  --cs-shadow: rgba(1, 116, 123, 0.35);
}

.sticky-qa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 14px;
  border-radius: 999px;
  /* Gradasi warna Teal yang mewah */
  background: linear-gradient(
    135deg,
    var(--cs-primary) 0%,
    var(--cs-primary-light) 100%
  );
  color: #ffffff !important;
  font-family: "Plus Jakarta Sans", sans-serif;
  text-decoration: none !important;
  box-shadow:
    0 10px 25px -5px var(--cs-shadow),
    0 4px 10px -2px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  animation: floatUp 0.6s ease-out;
}

/* Efek Kilau Cahaya (Shimmer) berkala */
.sticky-qa::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: skewX(-25deg);
  animation: shimmerSweep 5s infinite;
}

/* Efek Hover Melayang */
.sticky-qa:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 32px -4px rgba(1, 116, 123, 0.45);
}

.sticky-qa:active {
  transform: translateY(-1px) scale(0.98);
}

/* Wadah Ikon / Avatar CS */
.sticky-qa__icon-wrap {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.sticky-qa:hover .sticky-qa__icon-wrap {
  transform: rotate(-8deg) scale(1.08);
}

.sticky-qa__icon-wrap img,
.sticky-qa__icon-wrap svg {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Titik Indikator Online (Hijau Berdenyut) */
.sticky-qa__status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  background-color: var(--cs-online);
  border: 2px solid var(--cs-primary);
  border-radius: 50%;
}

.sticky-qa__status::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: var(--cs-online);
  opacity: 0.7;
  animation: pulseRing 2s infinite;
}

/* Teks Label */
.sticky-qa__text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.sticky-qa__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.sticky-qa__subtitle {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.88;
  margin-top: 2px;
}
