/* ═══════════════════════════════════════════
   D'LOGIA — Agent Preview Pill (floating)
   agent-preview.css
═══════════════════════════════════════════ */

/* ── Desktop panel: oculto permanentemente ── */
#agent-preview { display: none !important; }

/* ══════════════════════════════════════════
   Pill flotante — encima del chat button
   bottom: 28 (chat) + 54 (height) + 12 (gap) = 94px
══════════════════════════════════════════ */
#agent-preview-mobile {
  display: flex;
  position: fixed;
  bottom: 94px;
  right: 28px;
  left: auto;
  z-index: 200;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(9, 9, 14, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(108, 99, 255, 0.4);
  border-radius: var(--r-pill);
  color: var(--text);
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.22);
  text-decoration: none;
  white-space: nowrap;
  /* entrance */
  transform: translateY(12px);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s ease,
    box-shadow var(--t-fast);
}

#agent-preview-mobile.ap-visible {
  transform: translateY(0);
  opacity: 1;
}

#agent-preview-mobile:hover {
  box-shadow: 0 6px 28px rgba(108, 99, 255, 0.42);
}

.apm-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  animation: ap-dot-pulse 2s ease-in-out infinite;
}

@keyframes ap-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.55); }
}
