/* More Options Popover Styles */
.sage-ai-more-options-widget {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}

.sage-ai-more-options-popover {
  pointer-events: auto;
  background: var(--jp-layout-color1);
  border: 1px solid var(--jp-border-color1);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 4px;
  min-width: 140px;
  /* animation: fadeInUp 0.2s ease-out; */
}

.sage-ai-more-options-popover:empty {
  display: none;
}

.sage-ai-more-options-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sage-ai-more-options-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--jp-ui-font-color1);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-family: var(--jp-ui-font-family);
  text-align: left;
  width: 100%;
  transition: background-color 0.15s ease;
}

.sage-ai-more-options-item:hover {
  background: var(--jp-layout-color2);
}

.sage-ai-more-options-item:active {
  background: var(--jp-layout-color3);
}

.sage-ai-more-options-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.sage-ai-more-options-item span {
  flex: 1;
}

.sage-ai-more-options-item-danger {
  color: var(--jp-error-color1);
}

/* Dark theme adjustments */
[data-jp-theme-light="false"] .sage-ai-more-options-popover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
