/* AFAQE: expandable verification seal above WhatsApp. */
html.afaqe-sbc-enhanced iframe.sbc-seal-frame {
  position: fixed !important;
  top: auto !important;
  left: auto !important;
  right: var(--afaqe-sbc-right, 16px) !important;
  bottom: var(--afaqe-sbc-bottom, 80px) !important;
  width: 127px !important;
  height: 44px !important;
  transform: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
html.afaqe-sbc-enhanced.afaqe-sbc-open iframe.sbc-seal-frame {
  visibility: visible !important;
  pointer-events: auto !important;
}
#afaqe-sbc-widget {
  position: fixed;
  right: var(--afaqe-sbc-right, 16px);
  bottom: var(--afaqe-sbc-bottom, 80px);
  width: 48px;
  height: 48px;
  z-index: 2147483001;
  pointer-events: none;
}
#afaqe-sbc-toggle, #afaqe-sbc-close {
  box-sizing: border-box;
  padding: 0;
  border: 1px solid #163b69;
  color: #163b69;
  background: #fff;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 3px 12px #0003;
}
#afaqe-sbc-toggle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
#afaqe-sbc-toggle img { width: 30px; height: 30px; object-fit: contain; }
#afaqe-sbc-close {
  display: none;
  position: absolute;
  top: -28px;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font: 20px/20px Arial, sans-serif;
}
#afaqe-sbc-toggle:focus-visible, #afaqe-sbc-close:focus-visible {
  outline: 3px solid #163b69;
  outline-offset: 3px;
}
html.afaqe-sbc-open #afaqe-sbc-widget { width: 127px; height: 44px; }
html.afaqe-sbc-open #afaqe-sbc-toggle { display: none; }
html.afaqe-sbc-open #afaqe-sbc-close { display: block; }

/* Lightweight pulse: transform only, no additional assets. */
@keyframes afaqeSealPulse {
  0%, 24%, 100% { transform: scale(1); }
  8% { transform: scale(1.07); }
  16% { transform: scale(1); }
}
#afaqe-sbc-toggle {
  animation: afaqeSealPulse 6s ease-in-out infinite;
}
#afaqe-sbc-toggle:hover,
#afaqe-sbc-toggle:focus-visible {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  #afaqe-sbc-toggle { animation: none !important; }
}