/* ==========================================
   CHATBOT - Tooltip para Oriana/Dialvox
   Reusable - solo agrega un mensaje
   al botón existente del chat
   ========================================== */

.og-chat-tooltip {
  position: fixed;
  z-index: 2147482999;
  background: #0a1019;
  color: #e4e4e7;
  padding: 14px 20px;
  border-radius: 16px;
  font-size: .9rem;
  line-height: 1.5;
  font-weight: 500;
  max-width: 280px;
  box-shadow: 0 10px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(115,189,30,.12);
  opacity: 0;
  transform: translateY(10px) scale(.96);
  pointer-events: none;
  transition: opacity .4s cubic-bezier(.16,1,.3,1),
              transform .4s cubic-bezier(.16,1,.3,1);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

.og-chat-tooltip::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 32px;
  width: 16px;
  height: 16px;
  background: #0a1019;
  border-right: 1px solid rgba(115,189,30,.12);
  border-bottom: 1px solid rgba(115,189,30,.12);
  transform: rotate(45deg);
}

.og-chat-tooltip strong {
  color: #73bd1e;
  font-weight: 700;
}

.og-chat-tooltip.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.og-chat-tooltip.first-visit {
  animation: ogFirstVisit 6s ease forwards;
}

@keyframes ogFirstVisit {
  0% { opacity: 0; transform: translateY(10px) scale(.96); }
  10% { opacity: 1; transform: translateY(0) scale(1); }
  70% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(10px) scale(.96); }
}

@media(max-width:640px) {
  .og-chat-tooltip { max-width: 220px; font-size: .82rem; padding: 12px 16px; }
}
