/* Welcome tooltip beside the launcher button (tooltip_enabled). */
#ny-circle-tooltip {
  position: fixed;
  z-index: 99999;
  background: linear-gradient(135deg, #fff 0, #f8fafc 100%);
  padding: 15px;
  border-radius: 15px;
  box-shadow:
    0 20px 60px rgb(0 0 0 / 0.15),
    0 8px 25px rgb(0 0 0 / 0.1),
    inset 0 1px 0 rgb(255 255 255 / 0.8);
  max-width: 235px;
  min-width: 200px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
  animation: ny-tooltip-entrance 0.3s ease-out;
}
#ny-circle-tooltip:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 70px rgb(0 0 0 / 0.18),
    0 12px 30px rgb(0 0 0 / 0.1),
    inset 0 1px 0 rgb(255 255 255 / 0.9);
}
#ny-circle-tooltip .ny-tooltip-content {
  margin: 0;
  font-weight: 500;
  font-size: var(--ny-welcome-fs-desktop);
  line-height: 1.7;
  color: #334155;
  word-wrap: break-word;
  text-shadow: 0 1px 2px rgb(255 255 255 / 0.8);
}
#ny-circle-tooltip .ny-tooltip-close {
  all: unset;
  position: absolute;
  top: -25px;
  right: 0;
  width: 20px;
  height: 20px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #64748b;
  background: #fff;
  box-shadow:
    0 20px 60px rgb(0 0 0 / 0.15),
    0 8px 25px rgb(0 0 0 / 0.1),
    inset 0 1px 0 rgb(255 255 255 / 0.8);
  line-height: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#ny-chatbot-open-btn[data-position="bottom-left"]
  ~ #ny-circle-tooltip
  .ny-tooltip-close {
  right: auto;
  left: 0;
}
#ny-circle-tooltip .ny-tooltip-close:hover {
  transform: scale(1.09);
}
#ny-circle-tooltip .ny-tooltip-close:active {
  transform: scale(0.98);
  transition: all 0.1s;
}
#ny-circle-tooltip .ny-tooltip-arrow {
  position: absolute;
  bottom: -10px;
  width: 0;
  height: 0;
  border-left: 10px solid #fff0;
  border-right: 10px solid #fff0;
  border-top: 10px solid #fff;
  filter: drop-shadow(0 2px 4px rgb(0 0 0 / 0.08));
}
#ny-circle-tooltip .ny-tooltip-arrow::before {
  content: "";
  position: absolute;
  top: -11px;
  left: -10px;
  width: 0;
  height: 0;
  border-left: 10px solid #fff0;
  border-right: 10px solid #fff0;
  border-top: 10px solid rgb(226 232 240 / 0.8);
}
@keyframes ny-tooltip-entrance {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.8) rotateX(-10deg);
    filter: blur(4px);
  }
  60% {
    opacity: 0.9;
    transform: translateY(-3px) scale(1.03) rotateX(2deg);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0);
    filter: blur(0);
  }
}
@keyframes ny-tooltip-exit {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  40% {
    opacity: 0.8;
    transform: translateY(-8px) scale(1.02);
  }
  100% {
    opacity: 0;
    transform: translateY(30px) scale(0.7);
    filter: blur(6px);
  }
}
#ny-circle-tooltip.show {
  animation: ny-tooltip-entrance 0.35s cubic-bezier(0.34, 1.56, 0.64, 1)
    forwards;
}
#ny-circle-tooltip.hide {
  animation: ny-tooltip-exit 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}
@media (max-width: 600px) {
  #ny-circle-tooltip {
    width: auto;
    max-width: 215px;
    min-width: 200px;
    padding: 10px 13px;
    font-size: 14px;
    border-radius: 18px;
    right: auto;
    left: auto;
  }
  #ny-circle-tooltip .ny-tooltip-content {
    font-size: var(--ny-welcome-fs-mobile);
  }
  #ny-circle-tooltip .ny-tooltip-close {
    width: 24px;
    height: 24px;
    font-size: 20px;
    top: -30px;
    left: 0;
  }
}
