/* =============================================================================
 * SciTeX App — Dropdown Menu
 * =============================================================================
 * Prefix: stx-app-dropdown
 * Requires: shell/theme.css
 * ============================================================================= */

.stx-app-dropdown {
  display: none;
}

.stx-app-dropdown__menu {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  background: var(--workspace-bg-primary, #ffffff);
  border: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.1));
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  min-width: 160px;
}

.stx-app-dropdown__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--text-primary, #333333);
  cursor: pointer;
  transition: background 0.1s ease;
}

.stx-app-dropdown__item:hover {
  background: var(--workspace-bg-hover, rgba(0, 0, 0, 0.04));
}

.stx-app-dropdown__item--disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

.stx-app-dropdown__item i {
  width: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted, #777777);
}

.stx-app-dropdown__separator {
  height: 1px;
  margin: 4px 8px;
  background: var(--border-subtle, rgba(0, 0, 0, 0.06));
}
