/**
 * D&B D-U-N-S Registered — floating website seal
 * Official Option A script injects the seal iframe; this CSS positions it
 * as a fixed corner sticker across all Iotfi pages.
 */
#duns-seal-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9600;
  width: 114px;
  height: 97px;
  line-height: 0;
  border-radius: 4px;
  overflow: hidden;
  background: transparent;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.28),
    0 2px 6px rgba(0, 0, 0, 0.18);
  /* Soft entrance so the sticker settles in rather than popping */
  animation: duns-seal-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#duns-seal-float:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.32),
    0 3px 8px rgba(0, 0, 0, 0.2);
}

#duns-seal-float iframe {
  display: block;
  width: 114px;
  height: 97px;
  border: 0;
  background: transparent;
}

@keyframes duns-seal-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Keep the sticker clear of thumbs / bottom UI on small screens */
@media (max-width: 640px) {
  #duns-seal-float {
    right: 12px;
    bottom: 12px;
    /* Official seal is 114×97; scale down without breaking the iframe hit area */
    transform: scale(0.82);
    transform-origin: bottom right;
  }

  #duns-seal-float:hover {
    transform: scale(0.82) translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #duns-seal-float,
  #duns-seal-float:hover {
    animation: none;
    transition: none;
    transform: none;
  }

  @media (max-width: 640px) {
    #duns-seal-float,
    #duns-seal-float:hover {
      transform: scale(0.82);
    }
  }
}
