.menu-bar {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
  user-select: none;
}

.menu-item {
  position: relative;
}

.menu-button {
  height: 100%;
  padding: 0 10px;
  background: transparent;
  border: none;
  color: #999;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.1s;
  border-radius: 0;
}

.menu-button:hover {
  background-color: rgba(255, 255, 255, 0.06);
  color: #ccc;
}

.menu-button.active {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #252529;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  padding: 4px 0;
  z-index: var(--z-index-dropdown);
  margin-top: 0;
}

.menu-dropdown-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 12px;
  background: transparent;
  border: none;
  color: #ccc;
  font-size: 11px;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.1s;
}

.menu-dropdown-item:hover:not(.disabled) {
  background-color: #3b82f6;
  color: #fff;
}

.menu-dropdown-item.disabled {
  color: #555;
  cursor: not-allowed;
  opacity: 0.5;
}

.menu-item-content {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-item-content svg {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

.menu-shortcut {
  margin-left: 16px;
  color: #666;
  font-size: 10px;
}

.menu-separator {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08);
  margin: 4px 8px;
}
