/* AI Tooltip Styles */
.ai-tooltip-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: help;
  transition: transform 0.2s ease;
}

.ai-tooltip-trigger:hover {
  transform: scale(1.1);
}

.ai-tooltip-icon {
  width: 16px;
  height: 16px;
  margin-left: 6px;
}

/* Tooltip Bubble */
.ai-tooltip-content {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  pointer-events: none;
}

.ai-tooltip-content::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #6366f1;
}

.ai-tooltip-trigger:hover .ai-tooltip-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-12px);
}

/* Click prompt */
.ai-tooltip-click-hint {
  display: block;
  font-size: 12px;
  opacity: 0.9;
  margin-top: 4px;
  font-weight: 400;
}

/* Loading state when CustomGPT opens */
.ai-tooltip-loading {
  opacity: 0.6;
  cursor: wait;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .ai-tooltip-content {
    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
  }
  .ai-tooltip-content::after {
    border-top-color: #7c3aed;
  }
}

/* CustomGPT Widget Styling - Disabled for now */
/* The widget is designed to render fullscreen - attempting to override causes issues */
/* We may need to explore CustomGPT's configuration options for compact mode instead */
