.container {
  position: relative;
  display: inline-block;
}

.trigger {
  display: inline-flex;
  cursor: pointer;
}

.menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 160px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 200;
  list-style: none;
  padding: 4px 0;
  animation: fadeIn 0.1s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.menuItem {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 12px;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.1s;
}

.menuItem:hover {
  background: var(--bg-hover);
}

.menuItem.disabled {
  color: var(--text-muted);
  cursor: not-allowed;
}

.menuItem.disabled:hover {
  background: none;
}

.icon {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 4px 0;
}
